Benutzer:Daniel Bohrer/stickmaschinen-garnhalterclip.scad
pillar_diameter = 5.5; wire_diameter = 2; wall_strength = 1.5; height = 8;
$fn = 40; pillar_radius = pillar_diameter/2; wire_radius = wire_diameter/2; outside_radius = pillar_radius + wall_strength/2; block_protrusion = 2 * wire_diameter;
difference() { union() { cylinder(r=outside_radius, h=height);
translate([0,-outside_radius,0]) cube([outside_radius+block_protrusion, 2*outside_radius, height]); }
// pillar hole cylinder(r=pillar_radius, h=height);
// wire hole translate([pillar_radius + block_protrusion/2, outside_radius, height/2]) rotate([90,0,0]) cylinder(r=wire_radius, h=2*outside_radius);
// clippiness gap translate([-outside_radius, -1, 0]) cube([outside_radius, 2, height]); }
// vim: set noet sw=2 ts=2 sts=2 :