Difference between revisions of "OpenSCAD"

From ShapeOko
Jump to: navigation, search
(Other Support Tools)
(Sample Files)
Line 150: Line 150:
* http://www.tridimake.com/2014/11/how-to-use-openscad-4-children-and.html --- chained hull
* https://github.com/ityonemo/imsocultured/blob/master/device.scad --- tolerance for snap fit parts
* https://github.com/davidson16807/relativity.scad/wiki/Human-Body

Revision as of 22:55, 10 August 2019









Turning the OpenSCAD into a GUI for other scripting languages

Interactive interface

Interface w/ Inkscape


Other vector apps

Thingiverse: Export OpenSCAD paths from Adobe Illustrator CS6 --- https://wiki.shapeoko.com/index.php/OpenSCAD#Other_vector_apps [1]


Exporting to Carbide Create http://forum.openscad.org/OpenSCAD-dimensions-with-importing-to-Carbon-Create-td21810.html

a technique for loading the JSON from an OpenSCAD customizer and using it to generate a PDF or SVG: http://community.carbide3d.com/t/cnc-finger-joint-box/8880

Importing .stl Files


Thingiverse: STL to OpenSCAD converter

Import to FreeCAD


Export to DXF for CAM (alternative to .stl)





Using FreeCAD: https://www.reddit.com/r/openscad/comments/6hxhdc/make_2d_projections_from_openscad_models_using/dj1vuf4/

CNC direct interfaces

https://github.com/peberhard/openscad/tree/carving-plugin https://github.com/peberhard/openscad-carving-plugin-doc-examples [2]

Discussion: http://www.mattvenn.net/2013/02/17/using-openscad-for-2d-machining/

https://github.com/mbugert/laserscad [3]





Thingiverse Customizer: http://customizer.makerbot.com/docs

Other Support Tools

Begin with: https://www.openscad.org/libraries.html

Labelling and Dimensioning of Parts


Sample Files


Diamond Circle Square 3D Example

Diamond-circle-square OpenSCAD.png

Creating a test file for this is quite straight-forward in OpenSCAD (code courtesy of Triffid Hunter[19], see the thread (OpenSCAD) machinist's diamond-circle-square test for a tutorial on the ShapeOko wiki for further discussion and notes on how the file shows good working practices):

$fs=0.5; // segment length of circle circumference

r_square = 50;
r_circle = 45;
r_diamond = 40;
l_height = 3;

    #linear_extrude(height=l_height * 1.5)

Peter Falke provided a nice example as well [20].
