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_path4510(h)
14 scale([25.4/90, -25.4/90, 1]) union()
18 linear_extrude(height=h)
19 polygon([[0.037486,-60.467531],[-6.841860,-60.304995],[-13.708093,-59.817325],[-20.548109,-59.004526],[-27.348806,-57.866605],[-34.097081,-56.403568],[-40.779830,-54.615421],[-47.383950,-52.502171],[-53.896337,-50.063822],[-60.303890,-47.300382],[-66.593505,-44.211856],[-72.752078,-40.798251],[-78.766507,-37.059573],[-84.623688,-32.995827],[-90.310518,-28.607021],[-95.813894,-23.893160],[-101.120714,-18.854251],[-104.367460,-15.360231],[-107.186478,-11.624709],[-109.577511,-7.681740],[-111.540302,-3.565377],[-113.074594,0.690326],[-114.180128,5.051316],[-114.856649,9.483540],[-115.103899,13.952943],[-114.921620,18.425472],[-114.309556,22.867074],[-113.267449,27.243694],[-111.795043,31.521279],[-109.892079,35.665776],[-107.558301,39.643131],[-104.793452,43.419290],[-101.597274,46.960199],[-98.055353,50.157220],[-94.278045,52.922705],[-90.299434,55.256906],[-86.153604,57.160078],[-81.874639,58.632473],[-77.496623,59.674345],[-73.053641,60.285946],[-68.579776,60.467531],[-64.109113,60.219351],[-59.675737,59.541661],[-55.313730,58.434713],[-51.057177,56.898760],[-46.940163,54.934056],[-42.996772,52.540855],[-39.261087,49.719408],[-35.767194,46.469969],[-35.808194,46.510969],[-31.893055,42.955858],[-27.752991,39.874472],[-23.420112,37.266807],[-18.926525,35.132860],[-14.304340,33.472625],[-9.585664,32.286098],[-4.802607,31.573276],[0.012723,31.334154],[4.828216,31.568728],[9.611766,32.276993],[14.331262,33.458946],[18.954597,35.114582],[23.449661,37.243896],[27.784347,39.846885],[31.926545,42.923544],[35.844146,46.473869],[40.651956,50.774239],[45.933476,54.316620],[51.600888,57.078664],[57.566375,59.038021],[63.742118,60.172342],[70.040300,60.459280],[76.373102,59.876485],[82.652706,58.401609],[88.627672,56.099418],[94.043365,53.114737],[98.882026,49.521631],[103.125895,45.394164],[106.757212,40.806400],[109.758215,35.832403],[112.111146,30.546238],[113.798244,25.021969],[114.801748,19.333661],[115.103899,13.555378],[114.686936,7.761183],[113.533098,2.025143],[111.624627,-3.578681],[108.943762,-8.976222],[105.472741,-14.093417],[101.193806,-18.856201],[95.887030,-23.894865],[90.383711,-28.608491],[84.696952,-32.997073],[78.839854,-37.060606],[72.825520,-40.799087],[66.667053,-44.212510],[60.377554,-47.300870],[53.970125,-50.064163],[47.457869,-52.502385],[40.853889,-54.615530],[34.171286,-56.403593],[27.423162,-57.866571],[20.622620,-59.004459],[13.782762,-59.817251],[6.916690,-60.304943],[0.037506,-60.467531]]);
20 translate([0, 0, -fudge])
21 linear_extrude(height=h+2*fudge)
22 polygon([[0.037486,-52.858161],[6.552283,-52.704131],[13.054646,-52.242110],[19.532162,-51.472102],[25.972417,-50.394108],[32.362997,-49.008132],[38.691489,-47.314176],[44.945478,-45.312242],[51.112550,-43.002333],[57.180292,-40.384452],[63.136291,-37.458601],[68.968132,-34.224784],[74.663401,-30.683002],[80.209685,-26.833258],[85.594569,-22.675554],[90.805641,-18.209894],[95.830486,-13.436281],[95.869486,-13.399181],[99.485148,-9.386975],[102.422065,-5.089841],[104.694747,-0.568260],[106.317699,4.117289],[107.305429,8.906324],[107.672445,13.738365],[107.433253,18.552932],[106.602361,23.289544],[105.194276,27.887721],[103.223506,32.286981],[100.704557,36.426846],[97.651936,40.246833],[94.080152,43.686462],[90.003711,46.685253],[85.437120,49.182726],[80.394886,51.118399],[75.148084,52.351478],[69.859713,52.839537],[64.602208,52.601057],[59.448003,51.654521],[54.469532,50.018411],[49.739231,47.711209],[45.329534,44.751398],[41.312876,41.157459],[41.273776,41.120359],[36.803228,37.069663],[32.059083,33.559015],[27.080428,30.588422],[21.906346,28.157888],[16.575924,26.267421],[11.128246,24.917026],[5.602397,24.106709],[0.037463,23.836476],[-5.527472,24.106333],[-11.053322,24.916286],[-16.501002,26.266341],[-21.831427,28.156505],[-27.005511,30.586782],[-31.984171,33.557180],[-36.728320,37.067704],[-41.198874,41.118359],[-41.239874,41.159359],[-44.166516,43.883550],[-47.291302,46.248912],[-50.586310,48.255237],[-54.023617,49.902313],[-57.575300,51.189931],[-61.213437,52.117882],[-64.910103,52.685956],[-68.637376,52.893942],[-72.367334,52.741631],[-76.072053,52.228814],[-79.723611,51.355280],[-83.294084,50.120820],[-86.755549,48.525223],[-90.080085,46.568281],[-93.239767,44.249783],[-96.206674,41.569519],[-98.886933,38.602606],[-101.205428,35.442918],[-103.162369,32.118378],[-104.757966,28.656908],[-105.992427,25.086432],[-106.865963,21.434873],[-107.378783,17.730153],[-107.531096,14.000196],[-107.323113,10.272923],[-106.755042,6.576259],[-105.827093,2.938125],[-104.539476,-0.613555],[-102.892400,-4.050859],[-100.886074,-7.345863],[-98.520709,-10.470644],[-95.796514,-13.397281],[-95.755514,-13.438281],[-90.730672,-18.211876],[-85.519604,-22.677485],[-80.134722,-26.835108],[-74.588441,-30.684746],[-68.893175,-34.226402],[-63.061337,-37.460077],[-57.105340,-40.385772],[-51.037600,-43.003489],[-44.870529,-45.313230],[-38.616542,-47.314997],[-32.288052,-49.008789],[-25.897473,-50.394611],[-19.457219,-51.472462],[-12.979703,-52.242345],[-6.477340,-52.704260],[0.037456,-52.858211]]);