Overview#
In OpenVCAD, a compiler is a class you run on an implicit Node tree
that turns the design into a concrete artifact—files or data meant for
another program, not another implicit model. The implicit field and attributes
stay on the core side; the compiler prepares the tree at its own voxel size,
samples what it needs and writes the output format. You do not need to call
prepare() on the root first.
The bundled compiler families are:
Inkjet and PolyJet slices –
MaterialInkjetCompiler(material volume fractions) andColorInkjetCompiler(RGBA color) write PNG stacks;GCVFCompilerwrites a Stratasys GCVF archive;MyersonCompilerwrites per-material 1-bit BMP stacks.Vat photopolymerization –
VatCompilerwrites grayscale BMP slices from anintensityfield;MultiMaterialVatCompilerwrites synchronized grayscale PNG stacks from volume fractions for dual- or quad-vat printers.Extrusion (FFF) slicer projects –
PrusaSlicerProjectCompilerwrites a PrusaSlicer project with per-region print settings;FullSpectrumSlicerProjectCompilerwrites an Orca FullSpectrum project that mixes filaments fromcolor_rgbor volume fractions.Volumetric data –
VdbCompilerwrites the surface level set and, optionally, occupancy and attribute grids to an OpenVDB file.Simulation –
SimulationCompilermeshes the design and exports it with material assignments for a finite element solver.
All of them derive from CompilerBase. The compiler classes are
documented under Compilers; shared helpers such as the color pipeline
live under Utilities.
OpenVCAD Python Bindings for reference compilers
- pyvcad_compilers.version() str#
Get the version of OpenVCAD