-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Torus class added as primitive geometry #27
Conversation
Parameters | ||
---------- | ||
origin : Point3D | ||
Centered origin of the ``Torus``. | ||
direction_x: Vector3D | ||
X-plane direction. | ||
direction_y: Vector3D | ||
Y-plane direction. | ||
major_radius: float | ||
Major radius of ``Torus``. | ||
minor_radius: float | ||
Minor radius of ``Torus``. | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once you update your branch, all these directions should be UnitVector3D
from ansys.geometry.core.primitives.point import Point3D | ||
from ansys.geometry.core.primitives.vector import Vector3D | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should also provide setters if possible. As we are doing with other objects.
FYI. You have a lot of objects opened @chadqueen. Let's try to go one by one + integrate them with the changes we are implementing. I see in that sense that #41 is going to be conflictive... |
Replaced by #57 |
Stores key configuration items via constructor.