3
1
Back

RailRectSet(height, scale=1) { holeWidth = 5.08; // 5.08, must explicitly account for squishing width = 14; // [1:1:84] // margins from edges h_margin = hole_dist_side + thickness; h_margin = hole_dist_side*4; v_margin = hole_dist_top*2 + thickness; width_mm = hp_mm(h); difference() { union() { shape(fsh, cird+cdp*smt/100, cord, cfn*4, chg); module shape(hsh, ird, ord, fn4, hg x0= 0; x1 = hsh > 0 ? Ord : ird; y0=-0.1; y1=0; y2=abs(hsh); y3=hg-abs(hsh); y4=hg; y5=hg+0.1; if ( hsh >= 0 } module make_surface(filename, h) { cylinder(r=hole_r, h=thickness*2); echo("Putting.

New Pull Request