mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-29 00:21:56 -05:00
Since arcs are split into chords for the time estimate, a G2/G3 on a Bambu Lab printer is timed as many short moves meeting at jerk limited corners. Bambu Lab firmware runs the arc as one smooth move, so gyroid infill, which arc fitting turns into many small arcs, was estimated hours too long: a 15% gyroid cube on an X1C read 8h41m against about 6h21m measured. On Bambu Lab printers, process_G2_G3() now describes the arc it is splitting to process_G1(). Its chords don't meet at jerk limited corners, the arc meets the moves around it along its tangents rather than its end chords, and every chord is capped by sqrt(acceleration * arc radius) instead of by the turn into its first chord. The same cube now reads 6h30m. Other firmware, which splits arcs into segments it plans like any other moves, and Klipper are unchanged.
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: