mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-25 01:40:57 +00:00
On a dome or a cone the shell showed holes: dashes of inner wall and overhang wall through gaps, and darkness behind them. Each layer's ring on a slope is inset from the one below by less than a grid cell, so the height map cannot see the step, and the interior of the lower layer that fills it, its first inner wall above all, had been left out. Inner wall segments whose midpoint lies within a line and a half of an outer wall segment of the same layer now stay on the shell, found by exact distance against the outer walls bucketed by cell, and a segment counts as visible from above or below when any of its cells is the topmost or bottommost occupant, since the exposed band is narrower than the chords that cross it. Interior roles that are visible that way stay too. The layer stride at rest was sized from the camera's zoom value and tilt, which does not describe a perspective view: zoomed in on the test project it reached 64, so each kept ring stood 6 mm tall while the surface curved away under it. One layer's height is now projected through the camera's own matrices, at the centre of the toolpaths and at the camera target, and the stride follows that. On the test project the shell at rest gains 43 k segments for the first inner walls, 171 k to 214 k, and the dome and cone draw closed. The nine-cube plate draws 96 k at the default view and 12 k from above.