Brompton_Urban_Bag/Knopf.scad hinzugefügt

This commit is contained in:
Kaisa Marysia 2024-06-29 17:01:56 +02:00
parent 9a763d454e
commit 4ca8ae0f83

View file

@ -0,0 +1,80 @@
use <threads-library-by-cuiso-v1.scad>
//
translate([0,40,0])
difference(){
union() {
translate ([0,0,1]) thread_for_nut(diameter=8, length=2);
cylinder(d=33,h=1);
}
for ( i = [1:10:360])
rotate(i,[0,0,1]){
translate([10,10,0]) cylinder(d=2, h=2);
}
for ( i = [1:10:360])
rotate(i,[0,0,1]){
translate([9,8,0]) cylinder(d=2, h=2);
}
for ( i = [1:12:360])
rotate(i,[0,0,1]){
translate([8,6,0]) cylinder(d=2, h=2);
}
for ( i = [1:14:360])
rotate(i,[0,0,1]){
translate([7,4,0]) cylinder(d=2, h=2);
}
}
// socket
difference(){
color("#0EC11E")
union() {
cylinder(d=33, h =1);
difference(){
cylinder(d=19, h=6, d2=14);
union(){
cylinder(d=10, h=7);
translate([-5,0,0]) rotate([0,0,0]) cube([10,10,7]);
};
}
}
color("#ff00ff")
union() {
rotate([180,0,0])
translate([0,0,-9])
union() {
cylinder(d=19, h=1);
translate([0,0,1])
cylinder(d=10, h=1);
translate([0,0,2])
cylinder(d=8.5, h=5.5);
translate([0,0,7])
cylinder(d=11, h=1);
translate([-5.5,-20,7])
cube([11,20,1]);
}
}
translate ([0,0,-1]) thread_for_nut(diameter=8, length=2);
for ( i = [1:10:360])
rotate(i,[0,0,1]){
translate([10,10,0]) cylinder(d=2, h=2);
}
}
//// knob
//color("#ff00ff")
//union() {
//rotate([180,0,0])
//translate([0,0,-9])
//union() {
//cylinder(d=19, h=1);
//translate([0,0,1])
// cylinder(d=10, h=1);
//translate([0,0,2])
// cylinder(d=8.5, h=5.5);
//translate([0,0,7])
// cylinder(d=11, h=1);
//}
//}