Luban
Luban copied to clipboard
Bug: Incorrect tool path selected for selected object in CNC (and probably laser too)
🐞 bug report
Affected Version(s)
4.3.0
Is this a regression? (optional)
no idea
To Reproduce
- Add 2 objects with 2 different tool paths (object A -> tool path 1, object B -> tool path 2)
- Select tool path 2
- Select object A
Exception or Error (optional)
Tool path 2 is selected and displayed, but does not belong to selected object A.
Expected behavior
Selecting an object should automatically select its associated tool path, otherwise you edit the wrong tool path.
I understand that currently selecting a tool path will highlight the object, but you can still have a different object selected for manipulation. It is a weird behaviour imo.
🌍 Your Environment
Platform:
- Operating System: Fedora 36
- Printer: Snapmaker 2.0 A350T
Selecting Toolpath and selecting objects are two completely decoupled operations.
When Toolpath is selected, objects are displayed in blue.
Selecting Toolpath and selecting objects are two completely decoupled operations. When Toolpath is selected, objects are displayed in blue.
I know. I wrote that (sorry for the edit). But imo it makes sense to automatically select the tool path of an object, when selecting that object. What do you want to do when selecting an object? You want to manipulate it or create / pick / change its tool path. What do you want do do when selecting a tool path? View / modify the tool path, but not the objects that have that tool path (there can be multiple objects).
I'd propose this:
-
Selecting an object selects its tool path too and it can be changed (right tool path pane). If multiple objects are selected, multiple tool paths are highlighted, but can't be changed (right tool pane grayed out). Objects can be assigned different tool paths by selecting the object and creating a tool path, double clicking a tool path or pressing a button "apply to selected object".
-
Selecting a tool path highlights objects that have that tool path (different color?) and it can be changed in the right pane. Selecting a tool path does not change object selection.
Tell me if this makes no sense or I have forgotten some details...
We will convert it to a requirement. Allows editing objects for Toolpath.