OpenSCAD 101: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Exporting DXFs from 3D Objects=
=Exporting DXFs from 3D Objects=


*Exporting DXFs - [http://rasterweb.net/raster/2012/07/16/openscad-to-dxf/]
*Exporting DXFs - [http://rasterweb.net/raster/2012/07/16/openscad-to-dxf/] - essentially - load and flatten, then export DXF
:*Note: stock Export DXF does not work for 3D files - they need to be projected first.
:*Note: stock Export DXF does not work for 3D files - they need to be projected first.
::*To project - ''projection(cut=false) import("sprocket.stl");'' STL file must exist in same directory
:*Sample file for exercise in OpenSCAD - the sprocket STL and the .scad file that loads the STL and does a 2D projection. Note that the directory must be correct. [[File:sprocketexample.zip]]
:*Sample file for exercise in OpenSCAD - the sprocket STL and the .scad file that loads the STL and does a 2D projection. Note that the directory must be correct. [[File:sprocketexample.zip]]
:*Note: original srocket was generated using [[Parametric Sprocket Generator]]  
:*Note: original srocket was generated using [[Parametric Sprocket Generator]] using sprocket(12,5,7.5,8,0.2);
 


[[Image:dxfexportex.jpg|400px]]
[[Image:dxfexportex.jpg|400px]]
[[Category:101 101s]]

Latest revision as of 14:44, 27 January 2017

Exporting DXFs from 3D Objects

  • Exporting DXFs - [1] - essentially - load and flatten, then export DXF
  • Note: stock Export DXF does not work for 3D files - they need to be projected first.
  • To project - projection(cut=false) import("sprocket.stl"); STL file must exist in same directory
  • Sample file for exercise in OpenSCAD - the sprocket STL and the .scad file that loads the STL and does a 2D projection. Note that the directory must be correct. File:Sprocketexample.zip
  • Note: original srocket was generated using Parametric Sprocket Generator using sprocket(12,5,7.5,8,0.2);


Dxfexportex.jpg