|T O P I C R E V I E W
||Posted - Feb 08 2008 : 17:18:36
My question is rather simple: Is there "loop" commands like "for" or "while" in the FastHenry syntax?
I would like to create a setup having hundreds of segments but I don't feel creating them one by one so I was thinking to automate the creation of the node and segment with a "for" loop but I don't know how to implement it.
How would you do it?
|3 L A T E S T R E P L I E S (Newest First)
||Posted - Jun 14 2018 : 14:45:08
We are now tackling this problems via FreeCAD. While the FreeCAD EM bench is far from complete at present, you can definitely use the Python scripting interface to create and visualize your input geometries, but it requires some knowledge about FreeCAD on your side.
We plan to improve the situation in the close future, expecially if we receive some sponsorship to accelerate the open-source development of the EM workbench.
||Posted - Jun 14 2018 : 12:02:34
I also meet the same problem,so I would like to know if you have address this problem
||Posted - Feb 12 2008 : 12:06:55
FastHenry2 does not support a scripting language. You can perform the task you have in mind using an external script in any language you wish.
You can also find some scripting examples in the 'Samples' directory for FastCap and FastHenry.
In the future, FastModel will support a script language of its own to automate tasks like this.