-
Is it possible to construct an ellipse by defining its center, minor and major axis, and angle? I looked through the examples and could not find an answer. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @jackyrli Please see the Mechanical APDL help entry on the CS command. It has links in the notes section to other commands to create coordinate systems. Are you trying to create an elliptic curve or area? I wrote this APDL macro many, many years ago that will construct a parabolic, elliptic, circular, or hyperbolic line. Most of the APDL is input checking. But the logic could be a base to a PyMAPDL function if you need to create these often. https://ansys-net.svsfem.cz/macros/para-2.mac Mike |
Beta Was this translation helpful? Give feedback.
Hi @jackyrli
Mechanical APDL commands that create geometry will often respect the current coordinate system. And the coordinate system can be something other than the standard cartesian. Like cylindrical, or elliptic. So first define the needed coordinate system first, then the line (ellipse).
Please see the Mechanical APDL help entry on the CS command. It has links in the notes section to other commands to create coordinate systems.
Are you trying to create an elliptic curve or area?
I wrote this APDL macro many, many years ago that will construct a parabolic, elliptic, circular, or hyperbolic line. Most of the APDL is input checking. But the logic could be a base to a PyMAPDL function i…