Search found 18 matches
- Thu Sep 22, 2022 1:22 pm
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 437
- Views: 176909
Re: FreeCAD as pre-post processor for MBDyn
Not all the class can be subclassed with python. Did you try to create a Part::FeaturePython + your coordinatesystem object and then link the coordinate to the FeaturePython object ? It's been a long time since I the freecad python api so I could be wrong. https://wiki.freecadweb.org/FeaturePython_C...
- Tue Sep 20, 2022 3:47 am
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 437
- Views: 176909
Re: FreeCAD as pre-post processor for MBDyn
Hi,
Try adding self.Object = obj or obj.Proxy = self in the _init__ function as per documentation recommandation.
https://wiki.freecadweb.org/Scripted_ob ... attributes
https://wiki.freecad.org/FeaturePython_methods
Try adding self.Object = obj or obj.Proxy = self in the _init__ function as per documentation recommandation.
https://wiki.freecadweb.org/Scripted_ob ... attributes
https://wiki.freecad.org/FeaturePython_methods
- Thu Dec 02, 2021 11:47 pm
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 437
- Views: 176909
Re: FreeCAD as pre-post processor for MBDyn
About the App::PropertyLinkSubList, did you check those links:
https://forum.freecadweb.org/viewtopic.php?t=37288
https://wiki.freecadweb.org/LinkSubList
https://forum.freecadweb.org/viewtopic.php?t=37288
https://wiki.freecadweb.org/LinkSubList
- Mon Nov 08, 2021 7:56 pm
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 437
- Views: 176909
Re: FreeCAD as pre-post processor for MBDyn
Could you provide an access to your wip workbench ? I would like to take a look if I have some time. For the question related to the orientation, it was mfasano who worked on it. So without check the code I can't tel you who it is done. For the modal join yes it could be a nice feature. The problem,...
- Sat Nov 06, 2021 3:44 pm
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 437
- Views: 176909
Re: FreeCAD as pre-post processor for MBDyn
Hi, Maybe add obj.Proxy = self in the onDocumentRestored method. ( https://wiki.freecadweb.org/FeaturePython_methods ) And for the onChanged method a simpler way to do it could be by changing the obj.type strings as follow (add the curly bracket "{" and "}"] to replace each {vari...
- Thu Oct 28, 2021 5:24 am
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 437
- Views: 176909
Re: FreeCAD as pre-post processor for MBDyn
I think I spotted this problem when i was working on the other workbench but did not continue to investigate due to all major task I had. Maybe be overwriting one of the following methods you could reattribute the unit to each object? OnDocumentRestore __setstate__ Or maybe the __getstate__ method t...
- Wed Oct 27, 2021 3:07 am
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 437
- Views: 176909
Re: FreeCAD as pre-post processor for MBDyn
Hi Jose,
I found this thread, maybe it can help you.
https://www.forum.freecadweb.org/viewto ... 10&t=47992
I found this thread, maybe it can help you.
https://www.forum.freecadweb.org/viewto ... 10&t=47992
- Thu Feb 11, 2021 12:43 pm
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 437
- Views: 176909
Re: FreeCAD as pre-post processor for MBDyn
Isn't the model overconstrained ? If so, the solver can't handle it. You have to change some joint or add regularization joint (I don't know who they work)
- Wed Feb 10, 2021 1:37 pm
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 437
- Views: 176909
- Tue Feb 09, 2021 5:08 pm
- Forum: FEM
- Topic: FreeCAD as pre-post processor for MBDyn
- Replies: 437
- Views: 176909
Re: FreeCAD as pre-post processor for MBDyn
For the rounding of the numbers, i developped a tab in the preferences gui of the mbdyn workbench developped by Matt and myself that allow the user to defined the format of the numbers (exponential, floating + number of decimals) I also spotted the same behavior on some simple simulation I did. It i...