]> www.fi.muni.cz Git - things.git/commitdiff
Replacement motor cover for Sky Surfer 1400
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 9 Aug 2017 14:26:43 +0000 (16:26 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 9 Aug 2017 14:26:43 +0000 (16:26 +0200)
skysurfer-motor-cover.scad [new file with mode: 0644]
skysurfer-motor-cover.svg [new file with mode: 0644]

diff --git a/skysurfer-motor-cover.scad b/skysurfer-motor-cover.scad
new file mode 100644 (file)
index 0000000..e865156
--- /dev/null
@@ -0,0 +1,27 @@
+
+// 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_path4306(h)
+{
+    // linear_extrude(height=5)
+    rotate_extrude(angle = 210) rotate([0, 0, 90])
+       translate([35,-13, 0]){
+      polygon([[-35.333988,-11.375980],[-35.388672,-10.879880],[-19.400388,-8.881840],[-7.386879,-6.756644],[4.589842,-4.381840],[11.716397,-2.942169],[19.560552,-0.889650],[22.772022,0.412676],[26.967856,2.622476],[31.177810,5.551311],[32.984881,7.226479],[34.431642,9.010740],[34.818362,10.416990],[34.888672,11.375980],[35.388672,11.368160],[35.314452,10.356450],[34.845702,8.733400],[33.349661,6.878547],[31.503835,5.154443],[27.236641,2.175499],[22.991750,-0.049398],[19.716792,-1.366210],[11.819819,-3.433821],[4.687502,-4.874020],[-7.291714,-7.247646],[-19.322268,-9.374020],[-35.333988,-11.375980]]);
+  }
+}
+
+infty = 200;
+difference() {
+       poly_path4306();
+       translate([-infty/2, -infty/2, -infty]) cube(infty);
+       rotate([7, 0, 0])
+       translate([-infty/2, 10, -infty/2]) cube(infty);
+}
diff --git a/skysurfer-motor-cover.svg b/skysurfer-motor-cover.svg
new file mode 100644 (file)
index 0000000..f2f7cab
--- /dev/null
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="210mm"
+   height="297mm"
+   viewBox="0 0 210 297"
+   version="1.1"
+   id="svg8"
+   inkscape:version="0.92+devel unknown"
+   sodipodi:docname="skysurfer-motor-cover.svg">
+  <defs
+     id="defs2" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.979899"
+     inkscape:cx="585.26214"
+     inkscape:cy="560"
+     inkscape:document-units="mm"
+     inkscape:current-layer="layer1"
+     inkscape:document-rotation="0"
+     showgrid="true"
+     showguides="true"
+     inkscape:guide-bbox="true"
+     inkscape:window-width="1851"
+     inkscape:window-height="1170"
+     inkscape:window-x="49"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid4267"
+       units="mm"
+       spacingx="0.5"
+       spacingy="0.5" />
+    <sodipodi:guide
+       position="57.5,100"
+       orientation="0,1"
+       id="guide4269"
+       inkscape:locked="false" />
+    <sodipodi:guide
+       position="99.999998,157.5"
+       orientation="1,0"
+       id="guide4271"
+       inkscape:locked="false" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata5">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <path
+       style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+       d="m 99.999998,174.5 c 24.887072,-0.1539 52.990312,1.25242 62.500002,2.5 11.44956,1.92679 29.84519,3.48465 35,17.5"
+       id="path4279"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="ccc" />
+  </g>
+</svg>