44 lines
1.3 KiB
OpenSCAD
44 lines
1.3 KiB
OpenSCAD
$fn=60;
|
|
|
|
include <BOSL2/std.scad>
|
|
include <boltsos_0.4.1/BOLTS.scad>
|
|
|
|
inner_d=66;
|
|
outer_d=inner_d+5;
|
|
plate_width=120;
|
|
hole_pos=plate_width/2-10;
|
|
plate_height=10;
|
|
|
|
module screw() {
|
|
cylinder(h=20, d=5.4, center=true);
|
|
rotate([0,0,0]) {
|
|
translate ([0,0,-8]) DIN931("M5");
|
|
translate ([0,0,-10]) DIN931("M5");
|
|
}
|
|
* cylinder(h=25, d=5, center=true);
|
|
translate([0,0,8]) cylinder(h=6, d=9);
|
|
}
|
|
|
|
color("blue") {
|
|
translate([0,0,10]) zcyl(l=10, d=inner_d, rounding2=2);
|
|
difference() {
|
|
cuboid([plate_width,plate_width,plate_height], rounding=1);
|
|
translate([hole_pos,hole_pos,8]) screw();
|
|
translate([hole_pos,-hole_pos,8]) screw();
|
|
translate([-hole_pos,hole_pos,8]) screw();
|
|
translate([-hole_pos,-hole_pos,8]) screw();
|
|
}
|
|
}
|
|
|
|
color("cyan") {
|
|
translate([0,0,12.5]) {
|
|
difference() {
|
|
cuboid([plate_width,plate_width,plate_height], rounding=1);
|
|
zcyl(l=plate_height, d=outer_d, rounding=-2);
|
|
translate([hole_pos,hole_pos,0]) zcyl(l=plate_height, d=6, rounding=-1);
|
|
translate([hole_pos,-hole_pos,0]) zcyl(l=plate_height, d=6, rounding=-1);
|
|
translate([-hole_pos,hole_pos,0]) zcyl(l=plate_height, d=6, rounding=-1);
|
|
translate([-hole_pos,-hole_pos,0]) zcyl(l=plate_height, d=6, rounding=-1);
|
|
}
|
|
}
|
|
} |