28 lines
552 B
OpenSCAD
28 lines
552 B
OpenSCAD
/* https://github.com/BelfrySCAD/BOSL2 */
|
|
include <BOSL2/std.scad>
|
|
|
|
bottom_h = 47;
|
|
figure_w = 19.7;
|
|
|
|
plug_h = 5;
|
|
plug_d = 9;
|
|
plug_tolerance = 0.1;
|
|
|
|
$fn = 150;
|
|
|
|
module Head(tolerance) {
|
|
translate([0,0,plug_h-tolerance])
|
|
sphere(d=figure_w, anchor=[0,0,-1]);
|
|
cyl(h=figure_w, d=plug_d-tolerance, anchor=[0,0,-1]);
|
|
}
|
|
|
|
translate([20,0,0])
|
|
difference() {
|
|
cyl(h=bottom_h, d=figure_w, chamfer1=0.5, rounding2=6, anchor=[0,0,-1]);
|
|
translate([0,0,41])
|
|
Head(0);
|
|
}
|
|
|
|
translate([-20,0,0])
|
|
Head(plug_tolerance);
|