Method that create a solid cylinder or cone.
Name | Type | Description |
BottomPoint | Point | Input Point that defines the center of the bottom of the cylinder or cone. |
TopPoint | Point | Input Point that defines the center of the top of the cylinder or cone. |
BottomMajorRadius | Double | Input Double that defines the major axis radius at the bottom of an elliptical cylinder or cone or the radius at the bottom of a circular cylinder or cone. |
BottomMinorRadius | Double | Input Double that define the minor axis radius at the bottom of an elliptical cylinder or cone. For a circular cylinder or cone this value should be the same at the BottomMajorRadius argument. |
TopMajorRadius | Double | Input Double that specifies the radius at the top of the cylinder or cone. In the case of an elliptical cylinder or cone this is the radius of the major axis. |
MajorAxisPosition | Variant | Optional input Point that specifies the orientation of the major axis. This is only needed in the case of an elliptical cylinder or cone. If not provided the major axis is determined based on the model coordinate system. This is an optional argument whose default value is null. |
Name | Description |
Create primitive BRep | This sample demonstrates the creation of primitive (solid) BRep. |
Client graphics creation of 3D primitives | This sample demonstrates the creation of 3D primitives (cylinder, cone, etc.) using client graphics. |