Repository navigation
v2.0.0 — Marching Cubes & Rendering Overhaul
What's new in v2.0.0
Smooth 3-D rendering — Marching Cubes
The flat voxel-cube mesh is replaced with a full Marching Cubes implementation. Surfaces are now smooth and continuous — no more staircase artifacts. Vertices are shared across cube boundaries and normals are averaged per vertex for proper smooth shading.
Better voxelisation — Amanatides-Woo DDA
Upgraded to the exact Amanatides-Woo 3-D DDA. A 6-neighbour dilation pass closes gaps between adjacent extrusion lines and across layer boundaries.
Parser bug fixes
- G92 E0 mid-print resets no longer discard already-collected geometry
- Z-hop safe: layer index only increments on actual extrusion moves at higher Z
- G2/G3 arc moves linearised into ~0.5 mm segments (curved walls now render)
- Parameter parsing fully case-insensitive
Lighting
Key, fill and rim lights attached to the camera node — illumination stays consistent while orbiting.