You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to create an equation-based freeform surface (modelling from sketch is not possible) in SpaceClaim 24R2 with ansys.geometry.core. I am new to the API and do not understand it well enough. There are no examples for this topic and after trying for a day on my own, I am reaching out to you.
In the user interface of SpaceClaim, I would choose Design -> Body -> Equation and generate a surface.
For instance, it would help me to use the "Radial Wave" example in SpaceClaim to generate a custom surface type:
x = [r][u]
y = [r][v]
z = [r]Cos(Sqrt([u][u]+[v]*[v]))
U-Range Start: -6.28
U-Range End: 6.28
V-Range Start: -6.28
V-Range End: 6.28
Scale: 1
Parameters:
r = 2
I am incredibly grateful for your support to generate python code for this example. Later, I will change the equation to another specific custom equation.
Additionally to creating a surface from an equation directly in PyANSYS, would it be possible to choose a predefined surface type from the "SurfaceEquationCustoms.xml" in %APPDATA% -> SpaceClaim?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to create an equation-based freeform surface (modelling from sketch is not possible) in SpaceClaim 24R2 with ansys.geometry.core. I am new to the API and do not understand it well enough. There are no examples for this topic and after trying for a day on my own, I am reaching out to you.
In the user interface of SpaceClaim, I would choose Design -> Body -> Equation and generate a surface.
For instance, it would help me to use the "Radial Wave" example in SpaceClaim to generate a custom surface type:
x = [r][u]
y = [r][v]
z = [r]Cos(Sqrt([u][u]+[v]*[v]))
U-Range Start: -6.28
U-Range End: 6.28
V-Range Start: -6.28
V-Range End: 6.28
Scale: 1
Parameters:
r = 2
I am incredibly grateful for your support to generate python code for this example. Later, I will change the equation to another specific custom equation.
Additionally to creating a surface from an equation directly in PyANSYS, would it be possible to choose a predefined surface type from the "SurfaceEquationCustoms.xml" in %APPDATA% -> SpaceClaim?
Thank you very much in advance!
Beta Was this translation helpful? Give feedback.
All reactions