Actions

STL to SCAD: Difference between revisions

From HacDC Wiki

(WIP)
(WIP)
Line 1: Line 1:
Suppose you have an STL for a part to be 3D printed.  In this case, an '''HST double bolt bowden extruder V4 assembly''' downloaded from: https://www.thingiverse.com/thing:515747/
Suppose you have an STL for a part to be 3D printed.  In this case, an '''HST double bolt bowden extruder V4 assembly''' downloaded from: https://www.thingiverse.com/thing:515747/
[[File:Assembly_v4_rev3.png|frameless]] (Click the image for a larger view. For a full 360 view of the part, see the '''[[:media:bowden.ogv|movie]]'''.)
Sadly, these are impossible to work with.


[[:media:bowden.ogv|movie]]
Stupid pet tricks with OpenSCAD:
 
* These next three lines import and flatten the STL.  The result can be exported as SVG, DFX, or several other formats. I saved it as both bottom.svg and bottom.dfx.
 
    projection()
      translate([0, 0, -10])  // The original appeared "hover" mid-air.
        import("assembly_v4_rev3.stl");
 
:resulting in:
 
* The DFX (at least) can be read in again and extruded:
 
    linear_extrude(height=10)
      import("bottom.dxf");

Revision as of 01:41, 18 August 2017

Suppose you have an STL for a part to be 3D printed. In this case, an HST double bolt bowden extruder V4 assembly downloaded from: https://www.thingiverse.com/thing:515747/ Assembly v4 rev3.png (Click the image for a larger view. For a full 360 view of the part, see the movie.) Sadly, these are impossible to work with.

Stupid pet tricks with OpenSCAD:

  • These next three lines import and flatten the STL. The result can be exported as SVG, DFX, or several other formats. I saved it as both bottom.svg and bottom.dfx.
   projection()
     translate([0, 0, -10])  // The original appeared "hover" mid-air.
       import("assembly_v4_rev3.stl");
resulting in:
  • The DFX (at least) can be read in again and extruded:
   linear_extrude(height=10)
     import("bottom.dxf");