Use of python for autonomous calculation of fem

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
Olivier.G
Posts: 2
Joined: Wed Jun 09, 2021 12:21 pm

Use of python for autonomous calculation of fem

Post by Olivier.G »

Hi,
I'm a student from Polytech from the department of mechanical in france. I'm on an internship in a laboratory, my job is to caluculate effort on part that I design from Open.scad which I actualy coded. :D

I Try to make it autonomous but I have some problem using python.

Some parts of Fem write script on the console when I use them directly so I can use them but not all of the parts of the processus.
Some other parts of Fem doesnt have python script writed on the console when I use them so I dont know how to use them from python.

Exemple: I cant define how precise my mesh is, I cant select a proper material and I cant use CalculeX directly from scripting Python. These parts are not displayed on the console python. :cry:

The goal would be to understand how could I call these propriety directly from python to get It autonomous.
Thanks
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Use of python for autonomous calculation of fem

Post by Kunda1 »

Moved to FEM subforum
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Use of python for autonomous calculation of fem

Post by bernd »

User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Use of python for autonomous calculation of fem

Post by bernd »

Ahh I forgot to say ... Hi and welcome to FreeCAD FEM.

cheers bernd
Post Reply