// 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_path857(h) { // scale([25.4/90, -25.4/90, 1]) union() scale([1, 1, 1]) union() { linear_extrude(height=h) polygon([[-2.750000,-16.724610],[-2.750000,-9.724610],[-7.750000,-9.724610],[-7.750000,-2.724610],[-2.750000,-2.724610],[-2.750000,16.275390],[-0.750000,16.275390],[-0.750000,-4.724610],[-5.750000,-4.724610],[-5.750000,-7.724610],[-0.750000,-7.724610],[-0.750000,-14.724610],[2.250000,-14.724610],[2.970700,-13.972657],[4.298830,-11.310548],[5.327809,-7.843798],[5.750000,-4.712891],[5.256551,-1.989560],[4.078120,0.861328],[2.812775,3.920845],[2.391213,5.561659],[2.250000,7.294921],[2.775304,10.306291],[3.843750,13.332031],[5.357420,16.724610],[7.142580,15.826171],[5.701170,12.589843],[4.712781,9.724587],[4.250000,7.255859],[4.728432,4.536565],[5.900390,1.689452],[7.170041,-1.366124],[7.598419,-3.004760],[7.750000,-4.736329],[7.288985,-8.289804],[6.166020,-12.025391],[4.609380,-15.121094],[3.620385,-16.237275],[2.250000,-16.724610],[-2.750000,-16.724610]]); } } intersection() { translate([-100, -100, 0]) cube([200, 200, 15]); rotate([0, 30, 0]) translate([0, 0, -10]) poly_path857(50); }