Files
OrcaSlicer/tests
Ian BassiandWongZzz 04cb1ce7d1 Paint every face of an imported vertex-colored OBJ that needs it
Importing vertex colors skipped the faces whose vertices were all on
filament 1, but the test read "<= 2" for the third vertex, so a face
with a filament 2 corner in that position lost its paint. It also
assumed the object's filament is 1, while it is the filament of the
first vertex. Skip only the faces that are entirely in the object's own
filament. Only the command line reaches this since the GUI imports
colors as textures.

Ported from Snapmaker/OrcaSlicer@22fae6ccbf

Co-authored-by: WongZzz <1184075697@qq.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.