2 // Module names are of the form poly_<inkscape-path-id>(). As a result,
3 // you can associate a polygon in this OpenSCAD program with the corresponding
4 // SVG element in the Inkscape document by looking for the XML element with
5 // the attribute id="inkscape-path-id".
7 // fudge value is used to ensure that subtracted solids are a tad taller
8 // in the z dimension than the polygon being subtracted from. This helps
9 // keep the resulting .stl file manifold.
12 module poly_path4516(h)
14 scale([25.4/90, -25.4/90, 1]) union()
18 linear_extrude(height=h)
19 polygon([[0.068268,-64.274277],[-6.989238,-64.107416],[-14.034003,-63.606784],[-21.052514,-62.772415],[-28.031259,-61.604344],[-34.956726,-60.102605],[-41.815402,-58.267231],[-48.593774,-56.098258],[-55.278332,-53.595720],[-61.855561,-50.759650],[-68.311950,-47.590083],[-74.633987,-44.087053],[-80.808159,-40.250594],[-86.820954,-36.080741],[-92.658859,-31.577528],[-98.308362,-26.740988],[-103.755952,-21.571157],[-107.264227,-17.792494],[-110.310268,-13.751131],[-112.893791,-9.484124],[-115.014512,-5.028525],[-116.672151,-0.421389],[-117.866423,4.300232],[-118.597046,9.099283],[-118.863738,13.938711],[-118.666215,18.781463],[-118.004196,23.590484],[-116.877397,28.328722],[-115.285535,32.959121],[-113.228329,37.444630],[-110.705494,41.748194],[-107.716749,45.832759],[-104.261812,49.661273],[-100.445218,53.106458],[-96.374102,56.088018],[-92.085169,58.606263],[-87.615126,60.661505],[-83.000679,62.254055],[-78.278533,63.384224],[-73.485396,64.052322],[-68.657974,64.258661],[-63.832973,64.003553],[-59.047098,63.287308],[-54.337057,62.110236],[-49.739556,60.472651],[-45.291300,58.374861],[-41.028997,55.817180],[-36.989352,52.799916],[-33.209072,49.323383],[-33.082122,49.212053],[-29.440562,45.900487],[-25.599329,43.030234],[-21.586927,40.601282],[-17.431860,38.613622],[-13.162631,37.067244],[-8.807743,35.962138],[-4.395701,35.298293],[0.044992,35.075701],[4.485833,35.294352],[8.898318,35.954234],[13.253943,37.055339],[17.524205,38.597657],[21.680600,40.581177],[25.694625,43.005889],[29.537775,45.871785],[33.181548,49.178853],[33.140548,49.137853],[38.344255,53.791807],[44.061720,57.625593],[50.197531,60.614981],[56.656277,62.735744],[63.342547,63.963655],[70.160928,64.274487],[77.016009,63.644012],[83.812378,62.048003],[90.257407,59.561743],[96.100738,56.333414],[101.323017,52.443744],[105.904891,47.973461],[109.827003,43.003291],[113.070000,37.613961],[115.614527,31.886200],[117.441228,25.900734],[118.530750,19.738291],[118.863738,13.479597],[118.420836,7.205381],[117.182691,0.996369],[115.129947,-5.066711],[112.243250,-10.903132],[108.503246,-16.432166],[103.890578,-21.573087],[103.880578,-21.583087],[98.433235,-26.751591],[92.784035,-31.586863],[86.946491,-36.088873],[80.934110,-40.257591],[74.760405,-44.092986],[68.438884,-47.595030],[61.983059,-50.763691],[55.406438,-53.598940],[48.722533,-56.100746],[41.944854,-58.269081],[35.086910,-60.103913],[28.162212,-61.605213],[21.184269,-62.772950],[14.166593,-63.607095],[7.122692,-64.107617],[0.066078,-64.274487]]);
20 translate([0, 0, -fudge])
21 linear_extrude(height=h+2*fudge)
22 polygon([[0.068268,-56.649277],[6.766999,-56.491101],[13.452223,-56.016626],[20.111265,-55.225835],[26.731450,-54.118711],[33.300104,-52.695238],[39.804551,-50.955399],[46.232116,-48.899177],[52.570125,-46.526555],[58.805902,-43.837517],[64.926773,-40.832045],[70.920062,-37.510124],[76.773096,-33.871737],[82.473198,-29.916866],[88.007694,-25.645496],[93.363909,-21.057608],[98.529168,-16.153187],[98.566168,-16.117987],[102.509296,-11.733180],[105.709524,-7.027908],[108.183006,-2.069541],[109.945895,3.074549],[111.014346,8.336989],[111.404512,13.650410],[111.132547,18.947438],[110.214606,24.160704],[108.666841,29.222835],[106.505408,34.066459],[103.746459,38.624206],[100.406148,42.828704],[96.500630,46.612581],[92.046058,49.908466],[87.058586,52.648987],[81.554368,54.766773],[75.791562,56.120519],[69.981055,56.655637],[64.203076,56.392597],[58.537853,55.351868],[53.065615,53.553920],[47.866589,51.019223],[43.021004,47.768248],[38.609088,43.821463],[38.568088,43.780463],[34.394390,40.001506],[29.972936,36.724903],[25.338981,33.950607],[20.527778,31.678571],[15.574582,29.908750],[10.514647,28.641094],[5.383226,27.875559],[0.215573,27.612098],[-4.953056,27.850663],[-10.087409,28.591207],[-15.152231,29.833685],[-20.112269,31.578049],[-24.932268,33.824253],[-29.576974,36.572249],[-34.011133,39.821991],[-38.199492,43.573433],[-38.431912,43.780463],[-38.472912,43.821463],[-41.682268,46.807194],[-45.111958,49.399639],[-48.730927,51.598571],[-52.508117,53.403760],[-56.412474,54.814977],[-60.412941,55.831993],[-64.478461,56.454578],[-68.577980,56.682504],[-72.680442,56.515541],[-76.754789,55.953461],[-80.769967,54.996034],[-84.694919,53.643032],[-88.498589,51.894225],[-92.149922,49.749383],[-95.617862,47.208279],[-98.871352,44.270683],[-101.808159,41.018119],[-104.348648,37.551217],[-106.493054,33.901006],[-108.241613,30.098517],[-109.594559,26.174779],[-110.552128,22.160823],[-111.114556,18.087680],[-111.282077,13.986379],[-111.054926,9.887951],[-110.433341,5.823425],[-109.417554,1.823832],[-108.007803,-2.079797],[-106.204321,-5.856433],[-104.007346,-9.475045],[-101.417111,-12.904603],[-98.433852,-16.114077],[-98.394752,-16.151177],[-93.229434,-21.055840],[-87.873147,-25.643960],[-82.338565,-29.915554],[-76.638365,-33.870635],[-70.785223,-37.509220],[-64.791816,-40.831324],[-58.670819,-43.836961],[-52.434908,-46.526147],[-46.096759,-48.898898],[-39.669050,-50.955228],[-33.164454,-52.695152],[-26.595650,-54.118687],[-19.975312,-55.225846],[-13.316118,-56.016646],[-6.630742,-56.491101],[0.068138,-56.649227]]);