OpenSCAD

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
OpenSCAD
OpenSCAD-logo.png
OpenSCAD 2015.03
OpenSCAD 2015.03
Developer(s)Marius Kintel, Clifford Wolf
Initial release19 February 2010 (2010-02-19)
Stable release
2019.05 / 18 May 2019; 6 months ago (2019-05-18)
Repository Edit this at Wikidata
Written inC++ and Qt, CGAL, OpenCSG, and OpenGL [1]
Operating systemLinux, OS X, Windows, FreeBSD, NetBSD, OpenBSD
PlatformIA-32, x64
Size15–25 MB (varies by operating system)[2]
Available in7 languages
List of languages
Czech, English, French, German, Polish, Russian, Spanish, Magyar
TypeCAD
LicenseGPLv2
Websitewww.openscad.org

OpenSCAD is a free software application for creating solid 3D CAD (computer-aided design) objects. It is a script-only based modeller that uses its own description language; parts can be previewed, but it cannot be interactively selected or modified by mouse in the 3D view. An OpenSCAD script specifies geometric primitives (such as spheres, boxes, cylinders, etc.) and defines how they are modified and combined (for instance by intersection, difference, envelope combination and Minkowski sums) to render a 3D model. As such, the program does constructive solid geometry (CSG). OpenSCAD is available for Windows, Linux and OS X.

Previewing[edit]

For fast previewing of models using z-buffering, OpenSCAD employs OpenCSG and OpenGL.

The 3D model position can be interactively manipulated in the view with a mouse similarly to other 3D modellers. It is also possible to define a default "camera" position in the script.

Part colors can be defined in the 3D view (including transparency).[3]

Preview is relatively fast and allows interactive modifications while modifying the script.

The model renderer takes into account lighting, but the lighting source is not modifiable.

Use[edit]

OpenSCAD allows a designer to create accurate 3D models and parametric designs that can be easily adjusted by changing the parameters.[4]

OpenSCAD documents are human-readable scripts in plain ASCII text.

As such, OpenSCAD is a programmer-oriented solid-modeling tool[5] and has been recommended as an entry-level CAD tool for designing open-source hardware such as scientific tools for research and education.[6]

It is mostly used to design 3D printed parts, which are exported in STL format.

Animation created with OpenSCAD

Animation is possible with a speed of a few images per seconds for simple models. The animation can have effect on any parameter, being it the camera position or the parts dimensions, position, shape or existence. It can be recorded as a set of images usable to build films.

Exportation[edit]

  • Views can be exported in PNG format.
  • 2D models can be exported in AutoCAD DXF.
  • 3D parts can be exported in AMF, OFF, STL, as simple volumes. There is no color, material nor parts definition in the exported model (July 2016).

Importation[edit]

  • 2D drawings in DXF,SVG and PNG can be imported, then extruded as monolithic parts.
  • 3D parts can be imported in STL and can be scaled and submitted to subs-tractive or additive operations.

Design[edit]

OpenScad is a wrapper to a CSG engine with a graphical user interface and integrated editor, developed in C++. As of 2016, it uses the Computational Geometry Algorithms Library (CGAL) as its basic CSG engine.

Its script syntax is based upon functional programming philosophy and does not use real variables.

See also[edit]

References[edit]

  1. ^ "Building OpenSCAD".
  2. ^ http://www.openscad.org/downloads.html
  3. ^ Transparency is evaluated in the construction order, so a part is only transparent for parts already built.
  4. ^ Evans, Brian (2012), Practical 3D Printers: The Science and Art of 3D Printing, Apress, p. 113, ISBN 9781430243922.
  5. ^ Pettis, Bre; France, Anna Kaziunas; Shergill, Jay (2012), Getting Started with MakerBot, O'Reilly Media, Inc., p. 131, ISBN 9781449338657.
  6. ^ Pearce, Joshua M. (2014), "Chapter 6: „Digital Designs and Scientific Hardware"", Open-Source Lab: How to Build Your Own Hardware and Reduce Research Costs, Elsevier, pp. 165–254, ISBN 9780124104624.

External links[edit]

Related software[edit]

  • OpenJscad Web interface for a programmatic modeller with partial compatibility with OpenScad scripts. Developed in Javascript.
  • ImplicitCAD Script-based modeller with an custom graphic engine. It does have an internal object model. Syntax similar but different from OpenScad. No GUI.
  • Rapcad Programmatic modeller
  • Blockscad3D Blockly implementation of OpenSCAD