From the video it looks like you open shell and run a command. Maybe that was a prototype. I presume jose is planning on setting this up from a single button press, just like the FEM Workbench does. In any case, yes, Python can run arbitrary programs. The very old way of doing it, is using os.syste...
Continuing with this project, found a problem. Can't import Pandas (import pandas as pd) from the FreeCAD python console... What could the solution be?
My code has been a big mess since I was just testing ideas. I have started adding comments and making all the classes more readable... By now all the workbench starts to take shape... Here's a triple pendulum simulation: https://www.youtube.com/watch?v=aoeJjocSfx4&feature=youtu.be I'm not sure what'...
MBDyn needs to be run from a terminal. Is there a way to run a shell script from python? Yep. I've don this. So that MBDyn can be executed from FreeCAD with a click... From the video it looks like you open shell and run a command. Yes, old video... Just programed this. What I still don't know how t...
in the regard of a new solver ... Before a new solver runs with FreeCAD FEM the new solver needs to be implemented in FreeCAD FEM. As an example have a look at the implementation of oofem solver in FreeCAD FEM. https://github.com/berndhahnebach/FreeCAD_bhb/commits/femoofem mainly what FreeCAD FEM d...
Previously only the "revolute pin" joint was included. A bit of progress made today: added the "revolute hinge" joint, which allows linking two solid bodies. Made the classic double pendulum simulation. See the reaction forces on the revolute pin joint :) https://www.youtube.com/watch?v=Nv5qaQjPRME&...
I see. So to include the object's mass or density I'll have to use the OCCT classes. The easiest solution I could think about (to avoid this) is to multiply (or whatever operation is needed) the given Ixx Iyy and Izz by the mass. I could do this if I knew what units these values have. Yes moving the...