Hi,
I am trying to change the wrapping objects dimensions via python. Whereas, I managed to do that with the functions set_radius and set_length for cylinders, I couldn't find a similar function for the other wrapping objects (ellipsoid and torus)
Thank you in advance for your help.
Wrapping dimensions
- Najoua Assila
- Posts: 34
- Joined: Thu Aug 30, 2018 9:24 am
- Colin Smith
- Posts: 53
- Joined: Fri Feb 24, 2012 11:50 am
Re: Wrapping dimensions
Looks like the typical set functions for these components are not wrapped yet.
You can get around this using the PropertyHelper:
viewtopicPhpbb.php?f=91&t=9609&p=0&start=0&view='
Should be similar in Python to the MATLAB example above^
viewtopicPhpbb.php?f=91&t=4257&p=0&start=0&view=
You can get around this using the PropertyHelper:
viewtopicPhpbb.php?f=91&t=9609&p=0&start=0&view='
Should be similar in Python to the MATLAB example above^
viewtopicPhpbb.php?f=91&t=4257&p=0&start=0&view=
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Wrapping dimensions
Hello,
WrapTorus has been modernized to use auto generated methods so it has set/get methods for inner_radius, and outer_radius.
WrapEllipsoid however has not been modernized and you'll need to use the PropertyHelper class to modify it as pointed out by Colin.
Hope this helps,
-Ayman
WrapTorus has been modernized to use auto generated methods so it has set/get methods for inner_radius, and outer_radius.
WrapEllipsoid however has not been modernized and you'll need to use the PropertyHelper class to modify it as pointed out by Colin.
Hope this helps,
-Ayman