mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-01 19:01:57 +00:00
Past 200 contact nodes per layer, tree support draws its branches as squares turned to an angle fitted through every contact node. The nodes were collected from the parallel contact search into a concurrent vector, so their order, and with it the rounding of the float sums behind the fit, changed from run to run. The count of layers with nodes, which decides between squares and circles, was a plain integer incremented from several threads at once. Both are now taken after the parallel search, walking the layers in order, so the same model fits the same angle every time. TreeSupport.hpp names its libslic3r includes in full, so a test can include it.
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: