MeshTransformerBuilder Class¶
-
class
NXOpen.Features.MeshTransformerBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Features.MeshTransformerbuilderTo create a new instance of this class, use
NXOpen.Features.FeatureCollection.CreateMeshTransformerBuilder()Default values.
Property Value AsOriginalOption 0 ContinuityTypeOption C4 HideOriginal 1 MeshTopologyOption Aligned ShowTransformVectors 0 SmoothingOption Normal StepCount Number8 TransformFactor 1 New in version NX10.0.0.
Properties¶
| Property | Description |
|---|---|
| AsOriginalOption | Returns or sets the option to use the same colors and layers of the original geometries for creating new geometries |
| ContinuityTypeOption | Returns or sets the continuity type option |
| DistanceTolerance | Returns or sets the distance tolerance used in the transformation or morphing calculations |
| EndFacetBody | Returns the end facet body |
| HideOriginal | Returns or sets the option to hide the original geometries after creating new geometries |
| MeshTopologyOption | Returns or sets the option for setting the mesh topology used in the transformation or morphing calculations |
| ShowTransformVectors | Returns or sets the option to show temporary transform vectors in preview |
| SmoothingOption | Returns or sets the smoothing option used in the transformation or morphing calculations |
| StartFacetBody | Returns the start facet body |
| StepCount | Returns or sets the step count value used in the transformation or morphing calculations |
| Tag | Returns the Tag for this object. |
| TransformCurves | Returns the curves to be transformed |
| TransformFaces | Returns the faces to be transformed |
| TransformFactor | Returns or sets the transform factor that magnifies or shrinks the displacements from the transformation or morphing calculations |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetObject | Returns the object currently being edited by this builder. |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| MeshTransformerBuilderContinuityType Enumeration | Continuity type |
| MeshTransformerBuilderMeshTopologyType Enumeration | Mesh topology option type |
| MeshTransformerBuilderSmoothingType Enumeration | Smoothing option type |
| MeshTransformerBuilderStepCountValue Enumeration | Step count enum value for converting to actual count number |
Property Detail¶
AsOriginalOption¶
-
MeshTransformerBuilder.AsOriginalOption¶ Returns or sets the option to use the same colors and layers of the original geometries for creating new geometries
-------------------------------------Getter Method
Signature
AsOriginalOptionReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AsOriginalOptionParameters: asOriginalOption (bool) – New in version NX10.0.0.
License requirements: None.
ContinuityTypeOption¶
-
MeshTransformerBuilder.ContinuityTypeOption¶ Returns or sets the continuity type option
-------------------------------------Getter Method
Signature
ContinuityTypeOptionReturns: Return type: NXOpen.Features.MeshTransformerBuilderContinuityTypeNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ContinuityTypeOptionParameters: continuityTypeOption ( NXOpen.Features.MeshTransformerBuilderContinuityType) –New in version NX10.0.0.
License requirements: None.
DistanceTolerance¶
-
MeshTransformerBuilder.DistanceTolerance¶ Returns or sets the distance tolerance used in the transformation or morphing calculations
-------------------------------------Getter Method
Signature
DistanceToleranceReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DistanceToleranceParameters: distanceTolerance (float) – New in version NX10.0.0.
License requirements: None.
EndFacetBody¶
-
MeshTransformerBuilder.EndFacetBody¶ Returns the end facet body
-------------------------------------Getter Method
Signature
EndFacetBodyReturns: Return type: NXOpen.Facet.SelectFacetedBodyNew in version NX10.0.0.
License requirements: None.
HideOriginal¶
-
MeshTransformerBuilder.HideOriginal¶ Returns or sets the option to hide the original geometries after creating new geometries
-------------------------------------Getter Method
Signature
HideOriginalReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HideOriginalParameters: hideOriginal (bool) – New in version NX10.0.0.
License requirements: None.
MeshTopologyOption¶
-
MeshTransformerBuilder.MeshTopologyOption¶ Returns or sets the option for setting the mesh topology used in the transformation or morphing calculations
-------------------------------------Getter Method
Signature
MeshTopologyOptionReturns: Return type: NXOpen.Features.MeshTransformerBuilderMeshTopologyTypeNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MeshTopologyOptionParameters: meshTopologyOption ( NXOpen.Features.MeshTransformerBuilderMeshTopologyType) –New in version NX10.0.0.
License requirements: None.
ShowTransformVectors¶
-
MeshTransformerBuilder.ShowTransformVectors¶ Returns or sets the option to show temporary transform vectors in preview
-------------------------------------Getter Method
Signature
ShowTransformVectorsReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ShowTransformVectorsParameters: showTransformVectors (bool) – New in version NX10.0.0.
License requirements: None.
SmoothingOption¶
-
MeshTransformerBuilder.SmoothingOption¶ Returns or sets the smoothing option used in the transformation or morphing calculations
-------------------------------------Getter Method
Signature
SmoothingOptionReturns: Return type: NXOpen.Features.MeshTransformerBuilderSmoothingTypeNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SmoothingOptionParameters: smoothingOption ( NXOpen.Features.MeshTransformerBuilderSmoothingType) –New in version NX10.0.0.
License requirements: None.
StartFacetBody¶
-
MeshTransformerBuilder.StartFacetBody¶ Returns the start facet body
-------------------------------------Getter Method
Signature
StartFacetBodyReturns: Return type: NXOpen.Facet.SelectFacetedBodyNew in version NX10.0.0.
License requirements: None.
StepCount¶
-
MeshTransformerBuilder.StepCount¶ Returns or sets the step count value used in the transformation or morphing calculations
-------------------------------------Getter Method
Signature
StepCountReturns: Return type: NXOpen.Features.MeshTransformerBuilderStepCountValueNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
StepCountParameters: stepCount ( NXOpen.Features.MeshTransformerBuilderStepCountValue) –New in version NX10.0.0.
License requirements: None.
TransformCurves¶
-
MeshTransformerBuilder.TransformCurves¶ Returns the curves to be transformed
-------------------------------------Getter Method
Signature
TransformCurvesReturns: Return type: NXOpen.SectionNew in version NX10.0.0.
License requirements: None.
TransformFaces¶
-
MeshTransformerBuilder.TransformFaces¶ Returns the faces to be transformed
-------------------------------------Getter Method
Signature
TransformFacesReturns: Return type: NXOpen.ScCollectorNew in version NX10.0.0.
License requirements: None.
TransformFactor¶
-
MeshTransformerBuilder.TransformFactor¶ Returns or sets the transform factor that magnifies or shrinks the displacements from the transformation or morphing calculations
-------------------------------------Getter Method
Signature
TransformFactorReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TransformFactorParameters: transformFactor (float) – New in version NX10.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
MeshTransformerBuilder.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.