CAD tools for programmers

OpenSCAD is a free software for creating solid 3D CAD objects. It is open source software that is available for Linux/UNIX, MS Windows and Mac OS X – and also a version that runs online in browser. After quick testing it looks like OpenSCAD is a really wonderful tool for 3D modeling. While it doesn’t have the traditional graphical interface of AutoCAD – it’s basically a programming language for 3D models – OpenSCAD is able to create very complex parts with only a few lines of code. OpenSCAD allows for two types of modeling – constructive solid geometry, or taking 3D primitives and stretching, scaling, and intersecting them to create a 3D shape, or extrusion from a 2D outline. It should be sitable for making desings for 3D printing as quite a few RepRap parts were designed in OpenSCAD and Makerbot 3D printer maker has OpenSCAD tutorials for this in mind.

If you want to start experimenting with OpenSCAD parts in your browser. There are two alternatives for this. OpenSCAD.net offers one online version of OpenSCAD that runs nicely at least on Chrome browser (failed to work properly in Firefox for me). It is a nice playground to test OpenSCAD.

openscadnet

OpenJsCad is a 2D and 3D modeling tool similar to OpenSCAD, but web based and using Javascript language.
3D solids can be exported as STL files, 2D areas can be exported in a DXF file. OpenJsCAD is written entirely in Javascript and able to be embedded in a web page. To build your own models, create a .jscad file with your javascript code and parse the file using the OpenJsCad parser.

openjscad

There is an alpha version of the software on-line at openjscad.org. It is is intended to become a Javascript based alternative to OpenSCAD, for 3D solid modeling.

openjscadorg

Does coding your 3D objects, while quite easy, still look too complicated to get started. There are also some alternatives that are even easier to get started. BlocksCAD is Browser-Based 3D Modeling that Teaches You CAD. MIT has come up with a new block-based educational tool called BlocksCAD. BlocksCAD is essentially Scratch combined with OpenSCAD and allows the user to use blocks (similar to Scratch) to build a 3D model. With this tool it’s possible to avoid model code syntax issues but still develop 3D models. You just make model by moving blocks, and get a 3D model and OpenSCAD code as result.  You can use the tool online at blockscad.einsteinsworkshop.com

blockscad

 

For ideas on other 3D modeling tools, check out also Scratch Your Itch for 3D Modeling with BeetleBlocks, Learn 3D Modeling in Your Browser and Development Tools of the Prop-Making World articles.

 

102 Comments

  1. Tomi Engdahl says:

    Bit Of OpenSCAD Code Caps Off Wiremold
    https://hackaday.com/2024/06/23/bit-of-openscad-code-caps-off-wiremold/

    Wiremold is great stuff — it’s relatively cheap, easy to work with, and offers all sorts of adapters and angle pieces which take the hassle out of running (and hiding) wires. But [Dr. Gerg] found a shortcoming of this otherwise very flexible product: since each run is intended to start and end in a surface mounted box, he couldn’t find an end cap that would let him close off a section.

    The solution? A desktop 3D printer and a chunk of OpenSCAD code telling it what to extrude. When you break it down, the Wiremold profile is fairly straightforward, and can be easily described with geometric primitives. A handful of cylinders, a cube or two, tie it all together with the hull() function, and you’re there.

    https://www.drgerg.com/wiremold-end-plug.html

    Reply

Leave a Reply to Tomi Engdahl Cancel reply

Your email address will not be published. Required fields are marked *

*

*