Skip to content

OpenSCAD.net is a partial port of OpenSCAD for the web. Powered by OpenJsCad, it uses the familiar OpenSCAD syntax to allow many OpenSCAD models to be rendered, and saved as STL, via the browser.

garyhodgson/openscad.net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSCAD.net

This project is no longer actively maintained, and was written against an older version of OpenSCAD (v 2011.06) which has now been superseded.

Check the list of missing features and the github issues page to see what will not work.

Introduction

OpenSCAD.net is a partial port of OpenSCAD for the web. Powered by OpenJsCad, it uses the familiar OpenSCAD syntax to allow many OpenSCAD models to be rendered, and saved as STL, via the browser.

Basics Usage

Paste or type an OpenSCAD script into the editor and hit F4 (or select "Reload and Compile" from the Design menu). The model should render in the panel to the right. Any error messages should appear in the log panel at the bottom, or in the browser console.

Imported Libraries via Dropbox

This functionality is now limited to applications running over https due to the Dropbox Oauth2 API only allowing callbacks over this protocol. This means that the Dropbox functionality is not available via http://openscad.net, but it is available when accessed via https://garyhodgson.github.io/openscad.net

So that scripts can utilise the "use" and "include" directives, the application can connect to a Dropbox account in order to import library files stored there. Authorising access for the app will create a dedicated, sandboxed, folder in your Dropbox space. Folders and files stored here can be referenced via "use" and "include" statements. Scripts can also be saved to the Dropbox space, via the Save option.

Missing Features

Several features are either not yet implemented or can/will not be implemented. For this reason many of the original OpenSCAD examples, which are available through the File/Examples menu, will not work. These are marked as such with a strikethrough.

  • DXF import and manipulation (e.g. import_dxf, dxf-cross, dxf_dim functions).
  • rotate_extrude.
  • minkowski and hull transformations.
  • $fa, $fs global variables.
  • Modifier characters: #, !, %.

Development

Lexing and Parsing is done via the node module: openscad-openjscad-translator.

License

As this work is predominantly a port of the OpenSCAD it is therefore also released under the General Public License version 2.

About

OpenSCAD.net is a partial port of OpenSCAD for the web. Powered by OpenJsCad, it uses the familiar OpenSCAD syntax to allow many OpenSCAD models to be rendered, and saved as STL, via the browser.

Resources

Stars

Watchers

Forks