Cura-MeshTools icon indicating copy to clipboard operation
Cura-MeshTools copied to clipboard

Unable to rename groups/"erasers" (support blockers)

Open KenLucke opened this issue 3 years ago • 4 comments

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.

KenLucke avatar Apr 08 '21 08:04 KenLucke

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)?

fieldOfView avatar Apr 08 '21 08:04 fieldOfView

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.

KenLucke avatar Apr 08 '21 14:04 KenLucke

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)

fieldOfView avatar Apr 11 '21 09:04 fieldOfView

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.

fieldOfView avatar Apr 29 '21 07:04 fieldOfView