MeshTransformerBuilder Class¶
-
class
NXOpen.Features.
MeshTransformerBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Features.MeshTransformer
builderTo 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
AsOriginalOption()
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AsOriginalOption(asOriginalOption)
Parameters: asOriginalOption (bool) – New in version NX10.0.0.
License requirements: None.
ContinuityTypeOption¶
-
MeshTransformerBuilder.
ContinuityTypeOption
¶ Returns or sets the continuity type option
-------------------------------------
Getter Method
Signature
ContinuityTypeOption()
Returns: Return type: NXOpen.Features.MeshTransformerBuilderContinuityType
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ContinuityTypeOption(continuityTypeOption)
Parameters: 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
DistanceTolerance()
Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DistanceTolerance(distanceTolerance)
Parameters: distanceTolerance (float) – New in version NX10.0.0.
License requirements: None.
EndFacetBody¶
-
MeshTransformerBuilder.
EndFacetBody
¶ Returns the end facet body
-------------------------------------
Getter Method
Signature
EndFacetBody()
Returns: Return type: NXOpen.Facet.SelectFacetedBody
New 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
HideOriginal()
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HideOriginal(hideOriginal)
Parameters: 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
MeshTopologyOption()
Returns: Return type: NXOpen.Features.MeshTransformerBuilderMeshTopologyType
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MeshTopologyOption(meshTopologyOption)
Parameters: 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
ShowTransformVectors()
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ShowTransformVectors(showTransformVectors)
Parameters: 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
SmoothingOption()
Returns: Return type: NXOpen.Features.MeshTransformerBuilderSmoothingType
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SmoothingOption(smoothingOption)
Parameters: smoothingOption ( NXOpen.Features.MeshTransformerBuilderSmoothingType
) –New in version NX10.0.0.
License requirements: None.
StartFacetBody¶
-
MeshTransformerBuilder.
StartFacetBody
¶ Returns the start facet body
-------------------------------------
Getter Method
Signature
StartFacetBody()
Returns: Return type: NXOpen.Facet.SelectFacetedBody
New 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
StepCount()
Returns: Return type: NXOpen.Features.MeshTransformerBuilderStepCountValue
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
StepCount(stepCount)
Parameters: 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
TransformCurves()
Returns: Return type: NXOpen.Section
New in version NX10.0.0.
License requirements: None.
TransformFaces¶
-
MeshTransformerBuilder.
TransformFaces
¶ Returns the faces to be transformed
-------------------------------------
Getter Method
Signature
TransformFaces()
Returns: Return type: NXOpen.ScCollector
New 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
TransformFactor()
Returns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TransformFactor(transformFactor)
Parameters: 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.