Files
Hanif Koh 0cc71cf424 Fit the Tree Support Branch Angle in Layer Order, Not Thread Order
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.
2026-11-28 03:17:50 +08:00
..
2025-12-08 22:42:11 +08:00

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:

  • AGENTS.md is the same guidance in short form, and is what an agent working under tests/ picks up.
  • CATCH2.md is the Catch2 reference, including the mistakes that break a test at runtime.