GridSpace / grid-apps

Browser-based Slicer for 3D Printing, CAM, Laser (Kiri:Moto) and mesh editor (Mesh:Tool)
https://grid.space/
MIT License
443 stars 141 forks source link

CNC mode: using flip button in "animate" view desynchronizes the operations/sides in "arrange" #280

Closed thingsapart closed 2 months ago

thingsapart commented 2 months ago

When working with two-sided parts, it's possible to confuse Kiri and apply the operations to the wrong side when using the "flip" button in the "animate" view.

Example setup (the operations don't really matter, as long as they are different on both sides so as to see the problem):

Reproduce:

  1. In the "Arrange" view, flip to side A and click the "Animate" view.
  2. Now, in the "animate" view, click the "flip button" on the "flip operation".:
    • The internal model seems to flip now (can't see the model but the tabs move), but the toolpaths stay the same.
  3. Go back to "Arrange":
    • the part is still on side A (as it was when we left for the animate view),
    • BUT the "operations list" now shows the operations for side B.
    • (=> so it seems that the flip in "animate" flipped the operations list but not the part in "arrange" view.)
      1. Go back to "Animate":
    • operations for side B are now erroneously applied to side A.