80 lines
1.4 KiB
OpenSCAD
80 lines
1.4 KiB
OpenSCAD
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);
|
|
//}
|
|
//}
|
|
|