Files
OrcaSlicer/tests
Ian Bassiandzengerqi 2be8e9e955 Count only the layers that are printed in the total layer count
The layer count behind [total_layer_count] and "; total layers count"
included every object and support layer. process_layer() skips a layer
whose tool ordering has no extruder, such as the tip of a cone that is
too thin for a wall, so the count could be higher than the layer changes
in the file. Printers that report progress from it with
SET_PRINT_STATS_INFO then stopped short of the last layer. On flat beds,
count only the layers their tool ordering prints. Belt printers keep
their own filter.

Found by Snapmaker/OrcaSlicer@b070bcfaff,
which rewrites the count afterwards instead.

Co-authored-by: zengerqi <zengerqi@snapmaker.com>
2026-11-30 14:27:08 -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.