
But most parameters are optional as default values are provided. OpenJSCAD adheres to specific standards for passing parameters to functions. OpenJSCAD executes the script, and renders the 3D design for viewing. Training and help about JavaScript can be found online.Ĭreating a new design starts by writing simple scripts which call CSG functions, and other special functions, as provided by OpenJSCAD. In general, designs are written using the JavaScript language. You can share designs with other people by providing creating special URL which combines OpenJSCAD and Design. Sharing Designs via Direct Link for Local or Remote JSCAD, SCAD, STL and AMF When you start to edit directly using your browser, the default language is JSCAD. When you drag & drop files, the language or format is set according the file extension (.jscad, etc). Open standards file format to represent 3D objects using XML. STL files describe only the surface geometry of three-dimensional objectsĪdditive Manufacturing File Format (very experimental)ĭrawing Interchange File Format (export only)
#Openscad examples software#
OpenSCAD is a software for creating solid 3D CAD objects. JSCAD is a software for creating solid 3D CAD objects using your browser. Supported Language / File Formats Ĭurrently following languages and file-formats are supported:

#Openscad examples how to#
See also how to pass variables from the CLI to main().

You can then use your browser like a locally installed application by opening 'index.html'. OpenJSCAD can be installed locally via GitHub or NPM. If you are having problems then please try another browser. Note: Each browser (Firefox, Chrome, IE, etc) supports slightly different functionality. Any changes to the files will be reloaded automatically. In order to use your favorite editor, make sure Auto Reload is selected. You can start editing by dragging a file or a folder to the area indicated.

OpenJSCAD presents a page which shows a 3D viewer, as well as an editor: OpenJSCAD can be used immediately by visiting the project website at openjscad.xyz OpenJSCAD User Guide Using OpenJSCAD via Web Browsers 6.4 Developing with Multiple JSCAD Files.5.1 Parameters via the Command Line Interface.1.4 Sharing Designs via Direct Link for Local or Remote JSCAD, SCAD, STL and AMF.
