Hi Manuel,manuelkrause wrote: ↑Sat Jul 28, 2018 9:01 pm@kbwbe:
ATM I'm testing your latest "solver-stabilization" from this afternoon on our A2plus-Man. I had to rework the Torso and thus used the "Update parts" button. After that I got error messages.
Running the Python command 'a2p_updateImportedParts' failed:
Traceback (most recent call last):
File "/home/manuel/.FreeCAD/Mod/A2plus/a2p_importpart.py", line 307, in Activated
File "/home/manuel/.FreeCAD/Mod/A2plus/a2p_importpart.py", line 299, in updateImportedParts
File "/home/manuel/.FreeCAD/Mod/A2plus/solversystem.py", line 1063, in solveConstraints
File "/home/manuel/.FreeCAD/Mod/A2plus/solversystem.py", line 204, in solveSystem
File "/home/manuel/.FreeCAD/Mod/A2plus/solversystem.py", line 124, in loadSystem
Dependency.Create(doc, c, self, rigid1, rigid2)
File "/home/manuel/.FreeCAD/Mod/A2plus/solversystem.py", line 716, in Create
dep2.refPoint = circleEdge2.Curve.Center
'Part.Line' object has no attribute 'Center'
I know from previous discussions in this thread, that updating changed but already assembled parts is dangerous, so I just hope this info helps for some bug-fixing. (In my changes were only non-assembly related objects, but I'm not able to estimate the irrational 'naming changes' within "Part Design" without consistent topology naming.
In a case like shown above, do you have a hint on how to fix the assembly most easily?
this is one of the usual FreeCAD problems while editing parts. An edge index, before edit, was pointing to a circle. After editing, indexes are mixed up by FreeCAD and same number is pointing to a line instead of circle, somewhere in random position. At moment, it is not checked by A2plus and you get such errors.
Only solution ATM: delete constraints of parts you want to update. Reconstraint these parts after update. Same problem with Hamish's assembly 2. He tried to catch such things, but it is impossible without topological naming within FreeCAD.