// Module names are of the form poly_(). As a result, // you can associate a polygon in this OpenSCAD program with the corresponding // SVG element in the Inkscape document by looking for the XML element with // the attribute id="inkscape-path-id". // fudge value is used to ensure that subtracted solids are a tad taller // in the z dimension than the polygon being subtracted from. This helps // keep the resulting .stl file manifold. fudge = 0.1; module poly_rect4469(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-17.200028,-7.919175],[17.200028,-7.919175],[18.799918,-7.758842],[20.288259,-7.298756],[22.804825,-5.604792],[24.498786,-3.088225],[24.958872,-1.599884],[25.119204,0.000005],[24.958872,1.599894],[24.498786,3.088234],[22.804825,5.604797],[20.288259,7.298757],[18.799918,7.758843],[17.200028,7.919175],[-17.200028,7.919175],[-18.799918,7.758843],[-20.288259,7.298757],[-22.804825,5.604797],[-24.498786,3.088234],[-24.958872,1.599894],[-25.119204,0.000005],[-24.958872,-1.599884],[-24.498786,-3.088225],[-22.804825,-5.604792],[-20.288259,-7.298756],[-18.799918,-7.758842],[-17.200028,-7.919175]]); } } module microusb_frame(h) { poly_rect4469(h); } // microusb_frame(5);