// 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_path4504(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[-0.000110,-31.682530],[-1.658161,-31.515361],[-3.202476,-31.035963],[-4.599971,-30.277417],[-5.817564,-29.272806],[-6.822174,-28.055212],[-7.580719,-26.657717],[-8.060116,-25.113402],[-8.227285,-23.455350],[-8.054958,-21.786487],[-7.554308,-20.202831],[-6.745861,-18.751960],[-5.650140,-17.481450],[-7.724439,-16.903811],[-9.714724,-16.160917],[-11.614141,-15.261389],[-13.415838,-14.213850],[-15.112961,-13.026921],[-16.698659,-11.709226],[-18.166077,-10.269385],[-19.508364,-8.716021],[-20.718665,-7.057756],[-21.790130,-5.303213],[-22.715904,-3.461013],[-23.489135,-1.539779],[-24.102970,0.451868],[-24.550557,2.505305],[-24.825041,4.611909],[-24.919572,6.763060],[-24.797624,9.226054],[-24.436310,11.647330],[-23.842396,14.010547],[-23.022651,16.299365],[-21.983844,18.497444],[-20.732743,20.588443],[-19.276117,22.556021],[-17.620733,24.383839],[-15.792902,26.039207],[-13.825311,27.495817],[-11.734302,28.746900],[-9.536215,29.785689],[-7.247390,30.605415],[-4.884168,31.199309],[-2.462889,31.560603],[0.000107,31.682530],[2.547974,31.553866],[5.022242,31.176242],[7.410384,30.562183],[9.699875,29.724214],[11.878189,28.674862],[13.932799,27.426653],[15.851181,25.992111],[17.620809,24.383764],[19.229156,22.614136],[20.663697,20.695754],[21.911906,18.641143],[22.961258,16.462829],[23.799226,14.173338],[24.413285,11.785195],[24.790908,9.310928],[24.919572,6.763060],[24.824576,4.611543],[24.549573,2.504632],[24.101422,0.450952],[23.486980,-1.540874],[22.713108,-3.462221],[21.786665,-5.304465],[20.714508,-7.058981],[19.503498,-8.717145],[18.160494,-10.270332],[16.692354,-11.709919],[15.105937,-13.027281],[13.408103,-14.213793],[11.605710,-15.260831],[9.705618,-16.159771],[7.714686,-16.901989],[5.639771,-17.478860],[6.738722,-18.748937],[7.550058,-20.200179],[8.053128,-21.784883],[8.227281,-23.455350],[8.060107,-25.113431],[7.580693,-26.657769],[6.822124,-28.055280],[5.817484,-29.272882],[4.599857,-30.277491],[3.202326,-31.036024],[1.657976,-31.515398],[-0.000110,-31.682530]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[-0.000110,-29.625730],[0.615891,-29.594830],[1.225848,-29.502830],[1.823497,-29.350180],[2.402793,-29.138580],[2.958123,-28.870420],[3.484089,-28.548060],[3.975077,-28.174740],[4.426336,-27.754360],[4.833333,-27.290790],[5.192183,-26.789230],[5.498996,-26.254190],[5.750966,-25.691090],[5.945506,-25.105750],[6.080667,-24.503990],[6.154947,-23.891660],[6.170487,-23.455300],[6.139617,-22.839300],[6.047417,-22.229340],[5.894766,-21.631700],[5.683387,-21.052400],[5.415006,-20.497070],[5.092646,-19.971100],[4.719331,-19.480120],[4.298947,-19.028860],[3.835596,-18.621640],[3.333813,-18.263010],[2.816699,-17.966340],[0.000106,-18.156560],[-2.833329,-17.979730],[-2.958344,-18.040230],[-3.484093,-18.362590],[-3.975297,-18.735900],[-4.426557,-19.156280],[-4.833554,-19.619630],[-5.192402,-20.121420],[-5.499216,-20.656450],[-5.751186,-21.219340],[-5.945726,-21.804680],[-6.080887,-22.406430],[-6.155167,-23.018760],[-6.170497,-23.455340],[-6.139837,-24.071340],[-6.047637,-24.681080],[-5.894986,-25.278730],[-5.683391,-25.858250],[-5.415226,-26.413580],[-5.092866,-26.939330],[-4.719551,-27.430310],[-4.299169,-27.881790],[-3.835818,-28.288790],[-3.334035,-28.647630],[-2.799000,-28.954450],[-2.236113,-29.206420],[-1.650772,-29.400960],[-1.048804,-29.535900],[-0.436473,-29.610400],[-0.000111,-29.625700]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[0.019320,-15.165990],[2.053443,-15.103390],[5.345655,-14.540632],[8.509478,-13.485980],[11.056396,-12.212090],[13.147227,-10.822297],[15.056312,-9.215805],[16.770585,-7.404923],[18.276982,-5.401960],[18.609056,-4.867790],[17.186185,-4.008660],[16.670584,-3.767700],[5.467038,-10.214240],[2.255322,-12.069370],[-0.010476,-13.335270],[-1.538929,-12.462330],[-4.376035,-10.826140],[-5.729166,-10.003080],[-5.366647,-9.754560],[-4.137234,-9.055650],[-3.199737,-8.562070],[-2.792956,-8.634870],[-0.475986,-8.833730],[0.825383,-8.795724],[1.950020,-8.606150],[3.912568,-7.960475],[5.537858,-6.978380],[6.621313,-5.827340],[7.076294,-4.950064],[7.295519,-4.060468],[7.286007,-3.176007],[7.054775,-2.314139],[6.608842,-1.492318],[5.955227,-0.728000],[5.100947,-0.038643],[4.053020,0.558300],[2.682756,1.087161],[1.115946,1.427360],[-1.537202,1.489360],[-4.084119,0.946120],[-5.743849,0.177900],[-6.763695,-0.589616],[-7.562057,-1.470600],[-8.174172,-2.754210],[-8.224482,-4.325410],[-8.146752,-4.699800],[-8.127322,-4.808840],[-9.757254,-5.752170],[-11.458870,-6.695490],[-14.073801,-5.227280],[-16.661959,-3.759280],[-18.570419,-4.875130],[-18.229708,-5.425270],[-16.833956,-7.289568],[-15.265345,-8.982539],[-13.540045,-10.493964],[-11.674225,-11.813621],[-9.684055,-12.931291],[-7.585703,-13.836753],[-5.395340,-14.519786],[-3.129136,-14.970170],[0.019317,-15.166000]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[19.370368,-3.511620],[20.342411,-1.460660],[21.332859,1.609070],[21.870001,4.836900],[21.852301,8.887440],[21.549421,10.938389],[21.092920,12.857250],[20.466287,14.701448],[19.653004,16.528410],[18.470641,18.616961],[17.075073,20.551416],[15.472351,22.324316],[13.668525,23.928200],[11.051883,25.717925],[8.212974,27.105948],[5.206924,28.070059],[2.088858,28.588050],[1.160213,28.663850],[0.815399,28.686550],[0.815399,27.592080],[0.815399,26.497830],[1.248737,26.248670],[6.333937,23.313750],[13.090523,19.413490],[17.344455,16.949480],[17.477026,16.863580],[17.477026,13.540880],[17.440756,10.195730],[15.963691,11.003890],[14.523331,11.834730],[14.342827,12.342130],[13.680839,13.861348],[12.829912,15.249448],[11.813005,16.474351],[10.653078,17.503980],[9.318624,18.322744],[7.976964,18.794087],[6.681279,18.906245],[5.484752,18.647450],[4.587410,18.102880],[3.874252,17.342040],[3.357667,16.291955],[3.075090,15.082716],[3.030213,13.742905],[3.226727,12.301100],[3.619477,10.936394],[4.186738,9.633882],[4.905337,8.420046],[5.752102,7.321367],[6.703864,6.364329],[7.737449,5.575414],[8.829686,4.981103],[9.957404,4.607880],[10.904093,4.492156],[11.800390,4.570734],[12.618229,4.837972],[13.329544,5.288230],[13.691847,5.623970],[13.822476,5.721370],[17.432768,3.696320],[17.477028,0.628400],[17.538998,-2.456580],[19.370377,-3.511530]]); translate([0, 0, -fudge]) linear_extrude(height=h+2*fudge) polygon([[-19.320501,-3.511190],[-18.393583,-2.985870],[-17.491495,-2.460980],[-17.473575,7.210650],[-17.447015,16.888340],[-17.234988,17.009250],[-15.917267,17.767320],[-14.201617,18.756420],[-12.900953,19.508230],[-12.149357,19.870970],[-12.097967,17.877220],[-12.142227,15.854970],[-12.439109,15.448190],[-13.618763,13.485923],[-14.381900,11.352310],[-14.619621,9.311920],[-14.486540,7.824395],[-14.037302,6.560100],[-13.295974,5.559410],[-12.320356,4.869280],[-11.408841,4.593976],[-10.487033,4.534830],[-9.009141,4.853571],[-7.565419,5.561719],[-6.198443,6.632332],[-4.950790,8.038470],[-4.197965,9.179563],[-3.588794,10.396939],[-3.133792,11.666003],[-2.843473,12.962160],[-2.806983,15.104020],[-3.066167,16.265272],[-3.517015,17.234508],[-4.159000,18.010899],[-4.991598,18.593620],[-5.251558,18.729650],[-5.251558,21.325790],[-5.251558,23.921720],[-4.349470,24.444450],[-3.182025,25.118970],[-2.067910,25.761090],[-0.988774,26.382490],[-0.758826,26.513340],[-0.758826,27.587720],[-0.758826,28.662110],[-0.918170,28.667110],[-1.484080,28.642310],[-4.646790,28.190306],[-7.668663,27.305466],[-10.521122,25.998469],[-13.175590,24.279990],[-14.982838,22.740326],[-16.591561,21.092670],[-18.249700,18.896514],[-19.616296,16.547260],[-20.808627,13.651919],[-21.576028,10.616441],[-21.906424,7.508305],[-21.787739,4.394990],[-21.095588,0.835635],[-19.824436,-2.567150],[-19.320494,-3.510910]]); } } } poly_path4504(3); translate([0,-2,0.5]) cylinder(d=14.1,h=1,center=true, $fn=60);