Dear All,
I am new on this forum, and I hope I am in the right thread for my question. I've been using FreeCAD for a year now, and I have to say that the A2plus module brings quite a lot of possibilities to the software. Congrats to the owner(s) (kbwbe if I'm right, maybe others, sorry if I missed the names) !
My point of coming here: toponaming issue, there is quite a large number of posts and video on the web, and I understood clearly the main 'core engine' of FreeCAD does not help, so when we have a complex assembly with large number of constraints and there is a change in one of the part, ... it's a mess then
, everything can be quickly broken and we have to redo all the constraints one by one. I have a suggestion, I don't know if it has been discussed previously (at least I could not find it), so please excuse me if I missed the right thread. My suggestion would be to edit the sub element in the constraint (property view of dialog box). Today this is not possible from the GUI as it is locked with read only option when created, I guess it is to prevent selecting elements that are not compatible with the initial constraint (?). Changing it from python console works perfectly, for example :
Code: Select all
obj =App.getDocument('Sans_nom').getObject('axisCoincident_001')
obj.SubElement1 = 'Face181' # was 180 before
and recomputation works fine. As couple of tests are already implemented to check the selection compatibility with every constraint, I am asking myself if it would be possible to implement such 'modifyer' in the WB? The Flow could be something like:
- have the subelement label written in the constraint dialogbox and have an 'update' button on the right to change it
- if update button is pushed, get the result of 'highlight both part related' (maybe having 2 colors for the surfaces to identify which of the 2 surfaces we are editing, or highlight in red or other color the edges again to help remember what are we editing), then popup a dialog box to confirm selection
- let the user select the new element; validate, visibility is brought back to how it was before editing, then internally check if the new selection is still compatible with the constraint and keep doing the process like during creation
I don't know if this could be a workaround to the toponaming issue. I saw that there is an option under dev, did not try it yet as my assembly is quite large and I am deseperate to restard from scratch
. But, I let you guys give me a feedaback.
Thank you in advance for your support and all the work done so far for the community.