ScadOutputConfig

class ScadOutputConfig(val writer: PrintWriter, val preamble: PrintWriter)

Constructors

Link copied to clipboard
constructor(writer: PrintWriter, preamble: PrintWriter)

Properties

Link copied to clipboard

When a polyhedron or an extrusion do not have an explicit convexity, then this value is used.

Link copied to clipboard
Link copied to clipboard
var indent: Int
Link copied to clipboard
Link copied to clipboard

scad module definitions can be added at the top of the scad script, by writing here.

Link copied to clipboard

The main output for the scad model

Functions

Link copied to clipboard
fun defineModule(name: String)

Used by some extensions, which define a module name, which is reusable, and can be declared just once. e.g. the Layout extension.

Link copied to clipboard
fun indent()
Link copied to clipboard

Used by some extensions, which define a module name, which is reusable, and can be declared just once. e.g. the Layout extension.

Link copied to clipboard

To ensure that generated OpenSCAD module names are unique, you may use this as a suffix. It is an integer, starting at 1, and increasing each time this is called.