Expand description
OpenSCAD evaluator: parsed AST → rscad_core::DynamicObject scene.
The pipeline is openscad-parser AST → [interp::Interp] (scopes,
expressions, user functions/modules) → geometry lowering →
DynamicObject tree wrapped in a rscad_core::SceneFile.
Semantics follow OpenSCAD: hoisted last-assignment-wins variables, three
namespaces, dynamically scoped $-variables, degree-based trig, and
warn-and-skip handling for unsupported constructs.
Structs§
- Range
Value - An OpenSCAD numeric range
[start : step : end](inclusive end). - Scad
Diagnostic - A resolved evaluator diagnostic.
- Scad
Model - A fully evaluated OpenSCAD model: one scene tree named after the source file, plus all diagnostics produced along the way.
Enums§
- Scad
Error - Errors that abort OpenSCAD evaluation outright.
- Severity
- Diagnostic severity.
- Value
- A dynamically-typed OpenSCAD value.
Functions§
- evaluate_
file - Evaluate a
.scadfile (and itsinclude/useclosure) to a scene. - evaluate_
source - Evaluate in-memory OpenSCAD source.
pathis virtual: its parent directory anchorsinclude/useresolution and its stem names the tree.