Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

OpenSCAD

OpenSCAD - Programming language

< >

OpenSCAD is a programming language created in 2010.

#655on PLDB 13Years Old 720Users
2Books 0Papers 11kRepos

Try now: Riju

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. Read more on Wikipedia...


Example from the web:
cube(5); x = 4+y; rotate(40) square(5,10); translate([10,5]) { circle(5); square(4); } rotate(60) color("red") { circle(5); square(4); } color("blue") { translate([5,3,0]) sphere(5); rotate([45,0,45]) { cylinder(10); cube([5,6,7]); } }
Example from Riju:
echo("Hello, world!");
Example from Linguist:
// Simple sphere in OpenSCAD sphere( r=10 );

Language features

Feature Supported Token Example
Line Comments ✓ //
// A comment
Comments ✓
Semantic Indentation X

Books about OpenSCAD from ISBNdb

title authors year publisher
Python For Openscad John Craig 2019
Technical Modeling with OpenSCAD Tam Hanna 2020-09-22 Elektor International Media
apex.html · openscad.html · joy.html

View source

- Build the next great programming language · Search · Day 209 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com