OpenSCAD v0.5.2 API Reference

Modules

'use OpenSCAD' in your module to have access to the entire OpenSCAD language

An Action is anything that can be rendered. It can be an object or a series of operators that end in an object, but it must end, which means a chain of operators is not an Action, but would be once an object is fed to it.

This module is for building the escript, which should be able to be installed locally and run outside of mix projects if that's too big a setup for your use case.

Cube will be our canonical object for testing metaprogramming

Represents the common aspects of Objects, which are effectively the leaves of the tree.

Projection will turn a 3D shape into a 2D shape.

We'll try and render anything, because it could be a deeply nested structure of things to render, so we'll keep going until we hit something we can't handle.

Transformations are only different from Objects in that they can contain child Actions, and this module defines the generic functionallity for traversing the children on render.

Translate will be our canonical operator for testing metaprogramming

Giles forever!