-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
37,056 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
|
||
// Module names are of the form poly_<inkscape-path-id>(). 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_path3241(h) | ||
{ | ||
scale([25.4/90, -25.4/90, 1]) union() | ||
{ | ||
linear_extrude(height=h) | ||
polygon([[-104.697267,14.306650],[-104.697267,-14.091750],[-98.916017,-14.091750],[-98.916017,9.482450],[-84.541017,9.482450],[-84.541017,14.306650]]); | ||
} | ||
} | ||
|
||
module poly_path3243(h) | ||
{ | ||
scale([25.4/90, -25.4/90, 1]) union() | ||
{ | ||
difference() | ||
{ | ||
linear_extrude(height=h) | ||
polygon([[-81.572267,0.166050],[-81.245120,-3.857413],[-80.263674,-7.177750],[-79.108892,-9.252913],[-77.597658,-11.103450],[-75.827644,-12.617138],[-73.896486,-13.681650],[-71.015636,-14.531175],[-67.724611,-14.814450],[-64.718641,-14.569031],[-62.028826,-13.832925],[-59.655165,-12.606131],[-57.597658,-10.888650],[-55.935687,-8.734105],[-54.748559,-6.196263],[-54.036273,-3.275114],[-53.798830,0.029350],[-54.034442,3.307545],[-54.741235,6.208537],[-55.919207,8.732336],[-57.568361,10.878950],[-59.611830,12.592214],[-61.972674,13.815962],[-64.650892,14.550205],[-67.646486,14.794950],[-70.676277,14.551423],[-73.378915,13.820837],[-75.754401,12.603183],[-77.802736,10.898450],[-79.451907,8.766520],[-80.629886,6.267137],[-81.336672,3.400311],[-81.572267,0.166050]]); | ||
translate([0, 0, -fudge]) | ||
linear_extrude(height=h+2*fudge) | ||
polygon([[-75.615236,-0.029250],[-75.474860,2.255305],[-75.053719,4.245662],[-74.351813,5.941814],[-73.369142,7.343750],[-72.170418,8.441787],[-70.820323,9.226100],[-69.318856,9.696688],[-67.666017,9.853550],[-66.015026,9.697908],[-64.519059,9.230988],[-63.178113,8.452798],[-61.992189,7.363350],[-61.022353,5.962573],[-60.329609,4.250538],[-59.913955,2.227233],[-59.775392,-0.107350],[-59.910293,-2.412064],[-60.314960,-4.404262],[-60.989394,-6.083955],[-61.933596,-7.451150],[-63.101209,-8.510675],[-64.445817,-9.267500],[-65.967419,-9.721625],[-67.666017,-9.873050],[-69.366464,-9.719803],[-70.893565,-9.260200],[-72.247322,-8.494222],[-73.427736,-7.421850],[-74.384772,-6.040631],[-75.068367,-4.348125],[-75.478522,-2.344331],[-75.615236,-0.029250]]); | ||
} | ||
} | ||
} | ||
|
||
module poly_path3245(h) | ||
{ | ||
scale([25.4/90, -25.4/90, 1]) union() | ||
{ | ||
linear_extrude(height=h) | ||
polygon([[-49.248049,14.306650],[-49.248049,-14.326150],[-43.623049,-14.326150],[-31.904298,4.794950],[-31.904298,-14.326150],[-26.533208,-14.326150],[-26.533208,14.306650],[-32.333988,14.306650],[-43.876955,-4.365250],[-43.876955,14.306650]]); | ||
} | ||
} | ||
|
||
module poly_path3247(h) | ||
{ | ||
scale([25.4/90, -25.4/90, 1]) union() | ||
{ | ||
linear_extrude(height=h) | ||
polygon([[-20.400388,14.306650],[-20.400388,-14.326150],[0.830072,-14.326150],[0.830072,-9.482350],[-14.619138,-9.482350],[-14.619138,-3.134750],[-0.244138,-3.134750],[-0.244138,1.689450],[-14.619138,1.689450],[-14.619138,9.482450],[1.376952,9.482450],[1.376952,14.306650]]); | ||
} | ||
} | ||
|
||
module poly_path3249(h) | ||
{ | ||
scale([25.4/90, -25.4/90, 1]) union() | ||
{ | ||
linear_extrude(height=h) | ||
polygon([[21.474612,14.306650],[14.638672,-14.326150],[20.556642,-14.326150],[24.873042,5.341850],[30.107422,-14.326150],[36.982422,-14.326150],[42.001952,5.673850],[46.396482,-14.326150],[52.216792,-14.326150],[45.263672,14.306650],[39.130862,14.306650],[33.427732,-7.099550],[27.744142,14.306650]]); | ||
} | ||
} | ||
|
||
module poly_path3251(h) | ||
{ | ||
scale([25.4/90, -25.4/90, 1]) union() | ||
{ | ||
difference() | ||
{ | ||
linear_extrude(height=h) | ||
polygon([[80.966792,14.306650],[74.677732,14.306650],[72.177732,7.802750],[60.732422,7.802750],[58.369142,14.306650],[52.236322,14.306650],[63.388672,-14.326150],[69.501952,-14.326150]]); | ||
translate([0, 0, -fudge]) | ||
linear_extrude(height=h+2*fudge) | ||
polygon([[70.322262,2.978550],[66.376952,-7.646450],[62.509762,2.978550]]); | ||
} | ||
} | ||
} | ||
|
||
module poly_path3253(h) | ||
{ | ||
scale([25.4/90, -25.4/90, 1]) union() | ||
{ | ||
difference() | ||
{ | ||
linear_extrude(height=h) | ||
polygon([[84.072262,14.306650],[84.072262,-14.326150],[96.240232,-14.326150],[100.202620,-14.133263],[102.910152,-13.554650],[104.782695,-12.482863],[106.240232,-10.810550],[107.177712,-8.696213],[107.490232,-6.298750],[107.016577,-3.356888],[105.595702,-0.976550],[103.232407,0.734900],[99.931642,1.669950],[103.027342,4.072250],[106.318362,8.720750],[109.814452,14.306650],[102.900392,14.306650],[98.720702,8.076250],[95.673822,3.867250],[93.935542,2.675850],[91.025392,2.353550],[89.853512,2.353550],[89.853512,14.306650]]); | ||
translate([0, 0, -fudge]) | ||
linear_extrude(height=h+2*fudge) | ||
polygon([[89.853512,-2.216750],[94.130862,-2.216750],[99.326172,-2.568350],[100.249007,-3.046825],[100.947262,-3.779250],[101.386703,-4.746063],[101.533202,-5.927750],[101.340316,-7.233863],[100.761712,-8.261650],[99.831525,-8.986775],[98.583982,-9.384750],[94.365232,-9.482750],[89.853512,-9.482750]]); | ||
} | ||
} | ||
} | ||
|
||
module poly_path3255(h) | ||
{ | ||
scale([25.4/90, -25.4/90, 1]) union() | ||
{ | ||
linear_extrude(height=h) | ||
polygon([[111.494142,4.990250],[117.119142,4.443350],[117.888176,6.899463],[119.179682,8.603550],[121.003407,9.599625],[123.369142,9.931650],[125.817856,9.636237],[127.578122,8.750050],[128.640121,7.468288],[128.994142,5.986350],[128.845200,5.046425],[128.398432,4.257850],[127.580551,3.591325],[126.318362,3.017650],[121.689452,1.767650],[117.734369,0.483413],[115.166012,-1.064450],[114.012449,-2.310766],[113.188474,-3.686475],[112.694088,-5.191597],[112.529292,-6.826150],[112.839351,-8.942812],[113.769532,-10.917950],[115.283200,-12.595175],[117.343752,-13.818350],[119.919426,-14.565362],[122.978512,-14.814450],[125.507192,-14.666697],[127.702624,-14.223575],[129.564809,-13.485066],[131.093752,-12.451150],[132.294298,-11.170597],[133.171366,-9.692325],[133.724957,-8.016316],[133.955072,-6.142550],[128.173822,-5.888650],[127.590316,-7.785600],[126.582032,-9.062450],[125.056141,-9.787537],[122.919922,-10.029250],[120.673821,-9.770450],[118.974612,-8.994150],[118.286127,-8.217725],[118.056642,-7.216750],[118.271479,-6.274362],[118.916012,-5.478450],[120.791006,-4.540950],[124.228512,-3.564450],[127.897932,-2.551212],[130.468752,-1.503850],[132.270491,-0.244100],[133.632812,1.406250],[134.489725,3.469275],[134.775392,5.966850],[134.433572,8.349663],[133.408202,10.576250],[131.757796,12.448750],[129.541012,13.769550],[126.733386,14.553225],[123.310542,14.814450],[120.753166,14.657589],[118.510735,14.187013],[116.583248,13.402730],[114.970702,12.304750],[113.662106,10.906414],[112.646481,9.221213],[111.923827,7.249155],[111.494142,4.990250]]); | ||
} | ||
} | ||
|
||
module poly_path3239(h) | ||
{ | ||
scale([25.4/90, -25.4/90, 1]) union() | ||
{ | ||
linear_extrude(height=h) | ||
polygon([[-115.439455,3.779350],[-109.833986,5.556650],[-110.585343,7.749648],[-111.550313,9.641138],[-112.728897,11.231108],[-114.121096,12.519550],[-115.720838,13.515023],[-117.521989,14.226087],[-119.524548,14.652733],[-121.728517,14.794950],[-124.453132,14.551423],[-126.923837,13.820837],[-129.140632,12.603183],[-131.103517,10.898450],[-132.709964,8.771397],[-133.857425,6.286650],[-134.545901,3.444228],[-134.775392,0.244150],[-134.544681,-3.130473],[-133.852543,-6.105937],[-132.698978,-8.682233],[-131.083986,-10.859350],[-129.093024,-12.589678],[-126.811532,-13.825625],[-124.239509,-14.567209],[-121.376955,-14.814450],[-118.873304,-14.620309],[-116.616228,-14.038025],[-114.605726,-13.067578],[-112.841799,-11.708950],[-111.132834,-9.472600],[-109.912111,-6.435550],[-115.634767,-5.068350],[-116.418474,-7.060487],[-117.753908,-8.583950],[-119.538589,-9.550737],[-121.669924,-9.873050],[-123.186654,-9.730173],[-124.553233,-9.301687],[-125.769661,-8.587583],[-126.835939,-7.587850],[-127.703253,-6.268284],[-128.322762,-4.594700],[-128.818361,-0.185550],[-128.330086,4.462925],[-127.719733,6.201216],[-126.865236,7.548850],[-125.815438,8.557170],[-124.619151,9.277388],[-123.276376,9.709511],[-121.787111,9.853550],[-119.643569,9.487337],[-117.822267,8.388750],[-116.396502,6.503938],[-115.439455,3.779350]]); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module repraplogo(h=7) | ||
{ | ||
difference () | ||
{ | ||
union(){ | ||
scale ([0.5,0.5,0.5]) | ||
linear_extrude(height=h) | ||
import("C:/Users/malparti/Documents/GitHub/Clone-wars/logos/clone-wars/repraplogo.dxf"); | ||
|
||
} | ||
} | ||
} |
Oops, something went wrong.