We are currently working on a python package and it would be great if you can leave comment, thought and request over here.
What would you like to do with a python api? What would it be your end goal?
We are currently working on a python package and it would be great if you can leave comment, thought and request over here.
What would you like to do with a python api? What would it be your end goal?
Goals for a start:
And of course a good well explained documentation for the package.
Hi @Kim_Moelgaard !
Thanks for your feedback.
What about modifying an existing model? Is for you more important being able to create a model or it is also really important to modify an existing model?
Hi @MarcoPelle
It would be great being able to modify an existing model.
But for a start it would be great just to create a new model.
As a start, I can think of the following:
1-Create new elements (eg beams), with their sections and the ability to assign properties like stiffness modifiers, hinges, etc. It is important that the geometry can be fully modelled from Python. This is very handy in projects that involves repetitive structures (eg transmission towers)
2-Modifying existing elements (eg change cross section).
3-Create load cases and load combinations and assign loads to existing elements.
4-Extract results. This is also very important; one can have some in-house design tools that needs inputs from FEM design.
5-The ability to run the model from Python. This is important in cases where the user runs some optimization from python, and FEM design is set into loops until certain output is met.
Hi Marco.
A few years ago I wrote a comprehensive python program that created the .struxml text file for an advanced model. I included a lot of functionality, but it is for FEM-Design 19. Do you want me to send it to you as a reference for those who develop this from Strusoft?
We would be amazed if you be willing to share with us the work that you have done. Feel free to send me an email at my work account marco.pellegrino@strusoft.com
Are you currently using C# or Grasshopper? or neither?
I will send you an email later this evening. I haven’t really used so much automated/scripted models since then. But I prefer coding since it feels more reusable than Grasshopper. I am thinking about learning C# to better be able to interact with other software such as Revit aso.
Exciting news!
A minimal python
package has been released
Currently, the scope has been to help the user in the automation of running, analysis, design, read results. The python package is a reflection of the fdscript object and it makes easy the creation of it.
If some of the funcionality are missing, reach out and we will do the implementation.
Tool is still in early stage and it might contains bugs.
Example are available at GitHub.