FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 FastFieldSolvers
 FastModel
 How to automate node creation in input file?
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

davidB

Switzerland
1 Posts

Posted - Feb 08 2008 :  17:18:36  Show Profile  Reply with Quote
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?
Thanks
David

Enrico

347 Posts

Posted - Feb 12 2008 :  12:06:55  Show Profile  Reply with Quote
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.

Best Regards,
Enrico
Go to Top of Page

mona

2 Posts

Posted - Jun 14 2018 :  12:02:34  Show Profile  Reply with Quote
I also meet the same problem,so I would like to know if you have address this problem
Thanks
mona
Go to Top of Page

Enrico

347 Posts

Posted - Jun 14 2018 :  14:45:08  Show Profile  Reply with Quote
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.

Best Regards,
Enrico
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
FastFieldSolvers Forum © 2017 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06