SpunOutlineGeom Class¶
-
class
NXOpen.CAM.
SpunOutlineGeom
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents a spun outline geometry object for turning boundary
New in version NX8.0.0.
Properties¶
Property | Description |
---|---|
CreationMethod | Returns or sets the creation method |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Generate | Generate the spun outline |
GetPlanesAtAngles | Get the sets of the section planes at angles |
GetPlanesThroughPoints | Get the sets of the section planes through points |
SetPlanesAtAngles | Define the section planes at angles |
SetPlanesThroughPoints | Define the section planes through points |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
SpunOutlineGeomCreationTypes Enumeration | the creation methods |
Property Detail¶
CreationMethod¶
-
SpunOutlineGeom.
CreationMethod
¶ Returns or sets the creation method
-------------------------------------
Getter Method
Signature
CreationMethod
Returns: the creation method Return type: NXOpen.CAM.SpunOutlineGeomCreationTypes
New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CreationMethod
Parameters: newValue ( NXOpen.CAM.SpunOutlineGeomCreationTypes
) – the creation methodNew in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
Method Detail¶
Generate¶
-
SpunOutlineGeom.
Generate
¶ Generate the spun outline
Signature
Generate()
Returns: the flag if generated successfully Return type: bool New in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
GetPlanesAtAngles¶
-
SpunOutlineGeom.
GetPlanesAtAngles
¶ Get the sets of the section planes at angles
Signature
GetPlanesAtAngles()
Returns: a tuple Return type: A tuple consisting of (startAngle, incrementAngle, numberOfPlanes) startAngle is a list of float. array of start angles for each set incrementAngle is a list of float. array of angle increments for each set numberOfPlanes is a list of int. array of plane numbers for each set New in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
GetPlanesThroughPoints¶
-
SpunOutlineGeom.
GetPlanesThroughPoints
¶ Get the sets of the section planes through points
Signature
GetPlanesThroughPoints()
Returns: a tuple Return type: A tuple consisting of (points, incrementAngle, numberOfPlanes). points is a list of NXOpen.Point
. array of start points for each set incrementAngle is a list of float. array of angle increments for each set numberOfPlanes is a list of int. array of plane numbers for each setNew in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
SetPlanesAtAngles¶
-
SpunOutlineGeom.
SetPlanesAtAngles
¶ Define the section planes at angles
Signature
SetPlanesAtAngles(startAngle, incrementAngle, numberOfPlanes)
Parameters: - startAngle (list of float) – array of start angles for each set
- incrementAngle (list of float) – array of angle increments for each set
- numberOfPlanes (list of int) – array of plane numbers for each set
New in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
SetPlanesThroughPoints¶
-
SpunOutlineGeom.
SetPlanesThroughPoints
¶ Define the section planes through points
Signature
SetPlanesThroughPoints(points, incrementAngle, numberOfPlanes)
Parameters: - points (list of
NXOpen.Point
) – array of start points for each set - incrementAngle (list of float) – array of angle increments for each set
- numberOfPlanes (list of int) – array of plane numbers for each set
New in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
- points (list of
Validate¶
-
SpunOutlineGeom.
Validate
¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.