How it works
The daemon reads the file and runs OpenSCAD. The panel draws the result in a sandboxed frame.
Preview and Render
In Preview, OpenSCAD exports the evaluated model tree (--export-format=csg) and the viewer draws the shapes itself. It builds cubes, spheres, cylinders, polyhedra, hulls and extruded 2D shapes, and only cuts the pieces that difference and intersection touch. It never merges the whole model, which is why it is much faster than a full render on big assemblies.
In Render, OpenSCAD computes one merged mesh with the Manifold backend and writes a binary STL that the viewer shows.
Preview does not draw minkowski, offset, rotate_extrude, text, import or twisted extrusions. A line in the view lists any it skipped, and Render shows them. Where several cutters overlap inside one piece, a cut can be wrong in Preview.
Engines
If openscad is on the daemon's PATH, or the Flathub app is installed, the plugin runs it there. Otherwise the official OpenSCAD WebAssembly build (2025.03, with Manifold) runs inside the panel. It is bundled, so nothing is downloaded and nothing leaves your machine. The WebAssembly engine is slower and can run out of memory on large models, and a model that needs a newer OpenSCAD than the bundled one may not render.
Files and libraries
The plugin reads the file, the files it includes or uses, and data files it imports (STL, DXF, SVG, CSV and similar). Libraries are looked up in lib, libraries and build/lib next to the file and in every parent folder up to the workspace root, much like OpenSCAD's OPENSCADPATH. A model reads at most 100 files and 20 MB. OpenSCAD's own bundled libraries and fonts are not available in the WebAssembly engine.
What it reads and writes
- It reads only files inside the workspace folder, on the machine that runs the daemon. Paths outside it, including through symbolic links, are refused.
- It never writes to the workspace. Finished renders are cached in the system's temporary folder (the newest 30 are kept), so a repeat render is instant.
- Choices from the part picker are checked against the lists in the file, so the panel cannot pass other values to OpenSCAD.
- A render that runs longer than 10 minutes is stopped.
Platforms
The viewer runs in the Paseo desktop app and the web app. On mobile the panel shows a short notice.