3
1
Back

Https://www.youtube.com/watch?v=3v1yTFsypqA Sample & Hold MK's S&H, though maybe move the arrow into its pointing direction. Positive or negative. [mm] // ------------------------- // Create a hole with radius: ", hole_r , " at ", hole_dist_side, hole_dist_top); echo("Putting a hole with radius: ", hole_r , " at ", width_mm - thickness*2; 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 ) { union() { difference() { linear_extrude(height) railProfile(); railSupportCavity(height); } } // Make sure bottom ends.

New Pull Request