// 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_path4650065(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[28.875000,-111.031250],[26.480244,-110.275716],[24.531250,-108.187500],[14.156250,-87.906250],[4.334300,-67.225920],[-6.781250,-41.937500],[-17.844603,-13.874898],[-27.492545,15.154336],[-31.357636,29.475761],[-34.355152,43.372028],[-36.313854,56.620865],[-37.062500,69.000000],[-36.628486,77.327298],[-35.340833,84.087976],[-33.421826,89.460916],[-31.093750,93.625000],[-26.157220,99.097537],[-22.843750,101.750000],[-22.156250,102.375000],[-21.343750,101.968750],[-13.750000,97.687500],[-14.531250,98.937500],[-15.156250,100.937500],[-15.312500,106.468750],[-12.687500,107.843750],[-8.781250,104.250000],[-7.750000,102.468750],[-6.906250,99.812500],[-1.812500,101.062500],[-2.125000,103.843750],[-1.906250,105.968750],[0.156250,111.031250],[3.093750,111.031250],[5.156250,105.968750],[5.375000,103.843750],[5.062500,101.062500],[10.187500,99.812500],[11.000000,102.500000],[12.031250,104.250000],[15.937500,107.843750],[18.562500,106.468750],[18.406250,100.968750],[17.750000,98.937500],[16.343750,96.593750],[20.468750,93.062500],[22.281250,95.062500],[23.937500,96.187500],[28.875000,97.593750],[30.687500,95.125000],[28.343750,90.218750],[26.937500,88.718750],[24.718750,87.250000],[27.000000,82.125000],[29.437500,83.125000],[31.375000,83.343750],[36.406250,82.281250],[37.062500,79.218750],[32.968750,75.875000],[32.718750,71.125000],[32.718750,70.218750],[32.937500,-106.562500],[31.960357,-109.607535],[29.593750,-111.031250],[28.875000,-111.031250]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[29.000000,-108.156250],[29.281250,-108.125050],[30.478019,-107.456262],[31.125000,-106.000050],[31.096272,-93.588874],[30.437500,-67.562550],[11.718750,-78.562550],[13.003614,-81.642103],[15.437500,-86.250050],[26.062500,-107.093800],[27.492921,-108.005851],[29.000000,-108.156300]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[10.625000,-76.625000],[30.562500,-65.593750],[30.562500,-39.656250],[-1.156250,-50.812500],[10.625000,-76.625000]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[-1.781250,-48.812500],[30.718750,-37.843750],[30.687550,-15.937500],[-10.874950,-26.968750],[-5.437450,-40.437500],[-1.781200,-48.812500]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[-11.781250,-24.968750],[30.812500,-13.968750],[30.406250,15.750000],[-20.500000,4.593750],[-17.238400,-8.362120],[-11.781250,-24.968750]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[-24.615670,17.402700],[-21.041680,7.503320],[29.914840,18.128970],[30.384429,20.244570],[30.436907,25.166825],[29.339470,36.640300],[27.771252,40.741601],[24.951349,44.577319],[21.140768,47.989783],[16.600520,50.821320],[11.591614,52.914259],[6.375059,54.110928],[1.211864,54.253656],[-3.636960,53.184770],[-10.155606,50.050316],[-18.241713,44.601911],[-21.906446,41.194489],[-24.803703,37.429993],[-26.547037,33.382228],[-26.750000,29.125000],[-24.615670,17.402700]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[1.875000,66.406250],[3.975965,66.832230],[5.694781,67.992719],[6.855270,69.711535],[7.281250,71.812500],[6.855270,73.913465],[5.694781,75.632281],[3.975965,76.792770],[1.875000,77.218750],[-0.221082,76.792770],[-1.929156,75.632281],[-3.078902,73.913465],[-3.500000,71.812500],[-3.078902,69.711535],[-1.929156,67.992719],[-0.221082,66.832230],[1.875000,66.406250]]); } } } module poly_path319562(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[-31.062450,-110.703075],[-33.397804,-109.294981],[-34.343700,-106.265575],[-34.312500,71.890675],[-34.232729,74.463371],[-32.375000,76.078175],[-29.343750,76.109375],[-28.156250,81.640625],[-30.625000,82.546875],[-32.281250,83.671875],[-35.593750,87.859375],[-34.343750,90.703125],[-29.218750,90.546875],[-27.375000,89.859375],[-25.187500,88.328125],[-21.937500,92.765625],[-23.781250,94.703125],[-24.812500,96.515625],[-26.093750,101.859375],[-23.843750,103.828125],[-19.281250,101.296875],[-17.937500,99.765625],[-16.562500,97.390625],[-11.843750,99.859375],[-12.718750,102.484375],[-12.937500,104.578125],[-11.968750,110.015625],[-9.125000,110.703125],[-6.062500,106.296875],[-5.406250,104.296875],[-5.156250,101.484375],[0.093750,101.484375],[0.375000,104.296875],[1.000000,106.296875],[4.062500,110.703125],[6.906250,110.015625],[7.875000,104.578125],[7.687500,102.484375],[6.781250,99.859375],[11.125000,97.578125],[11.843750,97.953125],[12.843750,99.765625],[14.250000,101.296875],[18.781250,103.828125],[20.312500,102.515625],[20.468750,102.359375],[21.218750,101.703125],[24.313481,98.550647],[29.031250,92.578125],[31.452103,88.628885],[33.575196,83.728601],[35.066941,77.440579],[35.593750,69.328125],[34.845104,56.948989],[32.886402,43.700151],[29.888886,29.803883],[26.023795,15.482458],[16.375853,-13.546778],[5.312500,-41.609375],[-5.803058,-66.897799],[-15.625000,-87.578125],[-26.000000,-107.859375],[-27.949005,-109.947633],[-30.343750,-110.703125],[-31.062500,-110.703125]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[-30.468700,-107.828075],[-29.024125,-107.599501],[-27.656200,-106.609325],[-23.908538,-100.759309],[-20.469078,-94.509648],[-16.749950,-86.390575],[-13.031200,-78.703075],[-31.906200,-67.234325],[-31.906200,-106.265575],[-31.602976,-107.424927],[-30.749950,-107.796825],[-30.468700,-107.828025]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[-11.937450,-76.578075],[-0.999950,-52.453075],[-31.906200,-40.984325],[-32.031200,-65.109325],[-11.937450,-76.578075]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[-0.437450,-50.484325],[4.125050,-40.546825],[9.562550,-27.078075],[-31.874950,-15.609325],[-32.031200,-38.546825],[-0.437450,-50.484325]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[10.031300,-25.390575],[15.630147,-8.484618],[19.031300,4.765675],[-31.749950,15.796925],[-31.874950,-13.484325],[10.031300,-25.390575]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[19.593800,6.265675],[21.906300,20.734425],[21.865295,25.084422],[20.548950,29.376759],[18.255368,33.487029],[15.282654,37.290826],[8.492243,43.481381],[2.562550,46.953175],[-2.347184,48.230651],[-7.671075,48.637867],[-13.115051,48.218749],[-18.385040,47.017227],[-23.186971,45.077231],[-27.226772,42.442687],[-30.210372,39.157526],[-31.843700,35.265675],[-32.554089,26.523645],[-32.642966,20.601280],[-32.387660,18.594207],[-31.843700,17.734425],[19.593800,6.265675]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[25.125050,40.140675],[27.221132,40.566655],[28.929206,41.727144],[30.078952,43.445960],[30.500050,45.546925],[30.078952,47.643007],[28.929206,49.351081],[27.221132,50.500827],[25.125050,50.921925],[23.024085,50.500827],[21.305269,49.351081],[20.144780,47.643007],[19.718800,45.546925],[20.144780,43.445960],[21.305269,41.727144],[23.024085,40.566655],[25.125050,40.140675]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[-2.406200,67.890675],[-0.310118,68.316655],[1.397956,69.477144],[2.547702,71.195960],[2.968800,73.296925],[2.547702,75.397890],[1.397956,77.116706],[-0.310118,78.277195],[-2.406200,78.703175],[-4.507165,78.277195],[-6.225981,77.116706],[-7.386470,75.397890],[-7.812450,73.296925],[-7.386470,71.195960],[-6.225981,69.477144],[-4.507165,68.316655],[-2.406200,67.890675]]); } } } poly_path4650065(5); translate([20,0,0]) poly_path319562(5);