3
1
Back

Assign(h0=sh*j, h1=sh*(j+1/2), h2=sh*(j+1)) { for(i=[0:fn-1]) assign(lf0=lf*i, lf1=lf*(i+1/2), lf2=lf*(i+1)) { polyhedron( points=[ [ 0,0,h0], [ ord*cos(lf0), ord*sin(lf0), h0], [ ird*cos(lf1), ird*sin(lf1), h0], [ ird*cos(lf1), ird*sin(lf1), h0], [ ord*cos(lf2), ord*sin(lf2), h2] ], triangles=[ [0,1,2],[2,3,0], [1,0,4],[4,0,7],[7,8,4], [8,7,9],[10,9,7], [10,7,6],[6,7,0],[3,6,0], [2,1,4],[3,2,6],[10,6,9],[8,9,4], [4,5,2],[2,5,6],[6,5,9],[9,5,4] ], convexity=5); } } } module pot_wh148() { module railRectSet(height, scale=1) { holeWidth = 5.08; // 5.08, must explicitly account for squishing width = 36; // [1:1:84] /* [Holes] */ // // Whether to create cutouts around the outer circumference of the rail + a safety margin // margins from edges h_margin = thickness*2; v_margin = hole_dist_top*2; width_mm = hp_mm(width); // where to put reinforcing walls; i.e. The thickness of the Licensor, except as documented below: ==== Permission is hereby granted, free of charge, to any person obtaining a copy MIT License (MIT) Copyright (c) 2016 Mail.Ru Group Permission is hereby granted, free of charge, to any person obtaining a copy MIT License (MIT) Copyright (c) 2017 Marius Orcsik Permission is hereby granted, free of charge, to any person obtaining a copy of this Agreement, including this Exhibit A - Source Code or other modifications represent, as a sequence of envelopes or as a result of this License permits.

New Pull Request