spaceapi-box/led_socket/led_socket.scad

29 lines
454 B
OpenSCAD
Raw Normal View History

2024-12-19 05:31:31 +01:00
$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);
}
}