Files
OrcaSlicer/tests
Ian BassiandXieJiajun 4a4464305d Don't over-split painted triangles on scaled-down parts
The brush caps the length of the edges it splits at 0.05 mm, and the
height range tool at 0.1 mm. Edges are measured in mesh units, so on a
part stored large and scaled down (a model in micrometres, for example)
the caps shrank with the scale: at 1% every stroke split triangles down
to 0.0005 mm, which made painting slow. Widen the caps by the scale so
they hold in millimetres. Unscaled and enlarged parts are unchanged.

Ported from Snapmaker/OrcaSlicer@fd6e55e734

Co-authored-by: XieJiajun <68017138+PILIPALA030@users.noreply.github.com>
2026-11-30 17:03:38 -03: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.