Python API
- Peter Patalano
- Posts: 25
- Joined: Thu Jul 26, 2018 9:11 am
Re: Python API
didn't change a thing and it is working. I'll update here if I figured out what happened.
- David Parker
- Posts: 1790
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Python API
Hi Peter,
The script is mainly for the cylinder problem, there are some hard-coded values that assume the cylinder data, like the number of faces. I'll update the code to work for both examples.
The script writes into the same simulation directory for both examples so make sure to remove files there when running different examples.
Cheers,
Dave
The script is mainly for the cylinder problem, there are some hard-coded values that assume the cylinder data, like the number of faces. I'll update the code to work for both examples.
The script writes into the same simulation directory for both examples so make sure to remove files there when running different examples.
Cheers,
Dave
- David Parker
- Posts: 1790
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Python API
Hi Peter,
I've modified the script to correctly simulate both the cylinder and demo models, now writes simulation files to separate directories.
Cheers,
Dave
I've modified the script to correctly simulate both the cylinder and demo models, now writes simulation files to separate directories.
Cheers,
Dave