-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft: Error on Select working Plane #14196
Comments
I cannot reproduce this. Can you add a demo file? |
Looking at the error message (2nd image) this may be related to toponaming code. |
I can't reproduce the problem, nor with the provided file or a clean new shape... But reading the error message, it seems to indicate an edge and a face were selected? Although that too shouldn't produce an error, but just indicate a message Could you provide a precise step-by-step instruction on how to reproduce the error? |
1- I create some volumes from planes (rectangles, polylines), extruded. And I also create a wall with some minimal complexity to compare 2- the first error registered is that I want to establish the personalized work plane on any face of said volumes and I get the error detailed above. Not happening like this when I select a plane of a wall type volume 3- the next error that I identify is when, in the volumes (generated from extruded planes) I want to select by pressing the ctrl key. several faces of the same or different volumes, or faces and edges, or several edges, etc. It does not do so, only the first selected face/edge/vertex and the following ones are illuminated, although it does show in the tree on the left that all the different objects are being selected. |
Okay I see now. I still don't get an error, though, but indeed doing this:
The selection looks OK though (Gui.Selection.getSelectionEx()[0].SubElementNames returns correct things like [Face1] Investigating more... |
Actually not always. Now I get >>> FreeCADGui.Selection.getSelectionEx("", 0)[0].SubElementNames
(';Edge2;:G;XTR;:H210:7,F.Face2',)
>>> FreeCADGui.Selection.getSelectionEx()[0].SubElementNames
('Face2',) There is our culprit. The second argument being 0 means: TNP disabled. Needs to be 1 |
There is an underlying problem that needs to fixed as well I think. There are other occurrences of |
Indeed, in |
Is there an existing issue for this?
Problem description
When you try to select a work plane that is automatically referenced to a face, it generates the following error
Full version info
Subproject(s) affected?
None
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: