Files
OrcaSlicer/tests
Kuzuri 05a92cd0cf By object: only the part of an object above the rod can collide with it (#15544)
The by-object "too tall" check used each object's whole footprint to decide whether the rod can hit it. An object that reaches above extruder_clearance_height_to_rod now uses only the Y range of its geometry above the rod. That range is widened by how far the rod reaches past half the radius (extruder_clearance_dist_to_rod) and kept inside the footprint. It is used for both the print order and the too-tall check.

Objects below the rod keep the footprint, so on profiles with the lid below the rod they still get the rod height when they share a Y band with a later object. Objects with a draft shield or a skirt tall enough to reach the rod also keep the footprint. The mesh walk accounts for a raft.

Tests cover fins facing away, facing each other and one of each (print order), raised objects, a draft shield and a tall skirt, the A1 mini Distance to rod, two boxes closer than Distance to rod, a raft, the lid below the rod with and without a raft, and a rotated instance.

Most stock profiles leave Distance to rod at the default 40, which can be less than the printer's real reach. Until those values are measured, a narrow top closer to a neighbor than the real reach can still pass.
2026-11-03 21:34:08 -06: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.