Cura-MeshTools
Cura-MeshTools copied to clipboard
Unable to rename groups/"erasers" (support blockers)
Application Version 4.8.0
Platform Mac OS 10.15.7 (Catalina)
Printer N/A
Reproduction steps Group some objects or create a support blocker Attempt to rename the object group or support blocker ("eraser") via Mesh Tools > Rename
Actual results Rename Dialog appears, allows entry, but fails to rename group or support blocker.
Expected results Should allow all objects - models, support blockers ("erasers"), and groups - to be renamed, for clarity in the Objects List.
I can reproduce the groups not being renamed. I'll see what I can do to fix that.
I can succesfuly rename support blockers though. Do you use the Extensions -> Mesh Tools menu or the viewport context menu ("right click" menu)?
I was using the contextual menu method. Using the menu, it worked this time. And now it is working via contextual, as well. Odd. I tried several times before, and it just ignored the rename.
After some code-searching, it turns out that Cura does not want you to rename groups: https://github.com/Ultimaker/Cura/blob/master/cura/UI/ObjectsModel.py#L155
So this turns out to be a Cura issue afterall. I'll take this up with the devs at your original Cura issue (https://github.com/Ultimaker/Cura/issues/9531)
This will be fixed in the next major Cura release, with this PR: https://github.com/Ultimaker/Cura/pull/9614
I'm considering backporting the fix for the current and older versions of MeshTools, so I'll leave this issue open for now.