mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-01 01:12:59 -05:00
* Test the layer height limits taken for an object, and that they don't keep objects from sharing a prime tower
* Take the layer height limits from an object's own extruder, and don't let them refuse a prime tower
* Test the prime tower check through Print::validate(), and shorten the equal_layering comment
The test runs Print::validate() on two cubes, on filaments 1 and 3 of a printer whose first extruder allows thicker layers than the others. Without this PR, and with only the index fix, it fails with the refusal from #16938. It uses filament 3 because filament 2 read extruder 1's limits before the index fix.
---------
Co-authored-by: raistlin7447 <kris.austin@gmail.com>
(cherry picked from commit fcd96ad91c)
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: