38 lines
1.0 KiB
OpenSCAD
38 lines
1.0 KiB
OpenSCAD
$fn = 60;
|
|
height=12;
|
|
|
|
include <BOSL2/std.scad>
|
|
include <BOSL2/shapes2d.scad>
|
|
include <boltsos_0.4.1/BOLTS.scad>
|
|
|
|
module frontScrew() {
|
|
cylinder(h=20, d=5.4, center=true);
|
|
translate ([0,0,-7.5]) DIN931("M5");
|
|
translate ([0,0,-9]) DIN931("M5");
|
|
cylinder(h=25, d=5, center=true);
|
|
translate([0,0,7.5]) cylinder(h=6, d=9);
|
|
}
|
|
|
|
module backScrew() {
|
|
cylinder(h=5,d=3);
|
|
DIN931("M3");
|
|
translate ([0,0,2]) DIN931("M3");
|
|
}
|
|
|
|
color("cyan") {
|
|
for(i=[0:1:2]) {
|
|
translate([30*i,0,0]) {
|
|
difference() {
|
|
union() {
|
|
zcyl(l=height, d=25, rounding=1);
|
|
rotate([90,0,0]) prismoid(size1=[25,height], size2=[20,height], h=24, rounding=1);
|
|
translate([0,-24,0]) scale([1,.7,1]) zcyl(l=height, d=20, rounding=1);
|
|
}
|
|
zcyl(l=height, d=16, rounding=-1);
|
|
translate([0,-24,0]) cuboid([11,22,height], rounding=-1);
|
|
rotate([90,0,180]) translate([0,0,8]) backScrew();
|
|
translate ([0,-21.5,0]) rotate([0,-90,0]) frontScrew();
|
|
}
|
|
}
|
|
}
|
|
} |