Creates a new RevolveFeatureInput object that is used to specify the input needed to create a new revolve feature.
"revolveFeatures_var" is a variable referencing a RevolveFeatures object.
|
"revolveFeatures_var" is a variable referencing a RevolveFeatures object.
|
Type | Description |
RevolveFeatureInput | Returns the newly created RevolveFeatureInput object or null if the creation failed. |
Name | Type | Description |
profile | Base | The profile argument can be a single Profile, a single planar face, or an ObjectCollection consisting of multiple profiles and planar faces. When an ObjectCollection is used all of the profiles and faces must be co-planar. To create a surface (non-solid) revolution, you can use the createOpenProfile and createBRepEdgeProfile methods of the Component object to create an open profile. You also need to set the isSolid property of the returned RevolveFeatureInput property to False. |
axis | Base | The axis can be a sketch line, construction axis, linear edge or a face that defines an axis (cylinder, cone, torus, etc.). If it is not in the same plane as the profile, it is projected onto the profile plane. |
operation | FeatureOperations | The operation type to perform. |
Name | Description |
revolveFeatures.add | Demonstrates creating a revolve feature using an angle extent. |
Simple Revolve Feature Sample | Creates a new revolve feature, resulting in a new component. |