spaceapi-box/led_socket/led_socket.scad
2024-12-19 05:31:31 +01:00

29 lines
No EOL
454 B
OpenSCAD

$fn = 60;
difference() {
union() {
// body
cylinder(h=6, d=5.8);
//alignment pin
translate([-1,0,0]) {
cube([2,3,4]);
}
}
// long leg hole
translate([-1.3,0,-1]) {
cylinder(h=8, d=1.2);
}
// short leg hole
translate([1.3,0,-1]) {
cylinder(h=8, d=1.2);
}
// short leg space
translate([0,-4,4]) {
cube([4,8,3]);
}
// short leg alignment
translate([3,0,-1]) {
cylinder(h=8, d=1.2);
}
}