SnipIntoPatchesBuilder Class¶
-
class
NXOpen.GeometricUtilities.
SnipIntoPatchesBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.GeometricUtilities.SnipIntoPatchesBuilder
builder.No object is returned by this builder. To create a new instance of this class, use
NXOpen.GeometricUtilities.CAMDataPrepManager.CreateSnipIntoPatchesBuilder()
Default values.
Property Value HideOriginal 0 New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
Face | Returns the face to snip into patches |
HideOriginal | Returns or sets the option indicating to hide or show the original. |
Region | Returns the region to delete from the surface |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CreateRegionsPreview | Create region preview |
DeleteExtractFace | Delete the extracted face |
DeleteInternalPatch | Delete internal patch from the selected surface |
DeleteIsoCurve | Delete the isoparametric curve generated on the selected surface |
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. |
GetExtractFace | Get extracted face @return |
GetIsoCurves | Get the generated isoparametric curves on the selected surface |
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. |
SnipSurfaceIntoPatches | Snip the selected surface into patches |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
Face¶
-
SnipIntoPatchesBuilder.
Face
¶ Returns the face to snip into patches
-------------------------------------
Getter Method
Signature
Face()
Returns: Return type: NXOpen.SelectFace
New in version NX9.0.0.
License requirements: None.
HideOriginal¶
-
SnipIntoPatchesBuilder.
HideOriginal
¶ Returns or sets the option indicating to hide or show the original.
If True it is hidden,else it is shown
-------------------------------------
Getter Method
Signature
HideOriginal()
Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HideOriginal(hideOriginal)
Parameters: hideOriginal (bool) – New in version NX9.0.0.
License requirements: nx_freeform_2 (“advanced freeform modeling”) OR die_engineering (“DIE ENGINEERING”)
Region¶
-
SnipIntoPatchesBuilder.
Region
¶ Returns the region to delete from the surface
-------------------------------------
Getter Method
Signature
Region()
Returns: Return type: NXOpen.RegionPointList
New in version NX9.0.0.
License requirements: None.
Method Detail¶
CreateRegionsPreview¶
-
SnipIntoPatchesBuilder.
CreateRegionsPreview
¶ Create region preview
Signature
CreateRegionsPreview(targetFace, allCurves)
Parameters: - targetFace (
NXOpen.Face
) – - allCurves (list of
NXOpen.Curve
) –
New in version NX9.0.0.
License requirements: None.
- targetFace (
DeleteExtractFace¶
-
SnipIntoPatchesBuilder.
DeleteExtractFace
¶ Delete the extracted face
Signature
DeleteExtractFace(extractFace)
Parameters: extractFace ( NXOpen.Face
) –New in version NX9.0.0.
License requirements: None.
DeleteInternalPatch¶
-
SnipIntoPatchesBuilder.
DeleteInternalPatch
¶ Delete internal patch from the selected surface
Signature
DeleteInternalPatch(targetFace, allCurves)
Parameters: - targetFace (
NXOpen.Face
) – - allCurves (list of
NXOpen.Curve
) –
New in version NX9.0.0.
License requirements: None.
- targetFace (
DeleteIsoCurve¶
-
SnipIntoPatchesBuilder.
DeleteIsoCurve
¶ Delete the isoparametric curve generated on the selected surface
Signature
DeleteIsoCurve(allCurves)
Parameters: allCurves (list of NXOpen.Curve
) –New in version NX9.0.0.
License requirements: None.
GetExtractFace¶
-
SnipIntoPatchesBuilder.
GetExtractFace
¶ Get extracted face
Signature
GetExtractFace()
Returns: Return type: NXOpen.Face
New in version NX9.0.0.
License requirements: None.
GetIsoCurves¶
-
SnipIntoPatchesBuilder.
GetIsoCurves
¶ Get the generated isoparametric curves on the selected surface
Signature
GetIsoCurves(targetFace)
Parameters: targetFace ( NXOpen.Face
) –Returns: Return type: list of NXOpen.Curve
New in version NX9.0.0.
License requirements: None.
SnipSurfaceIntoPatches¶
-
SnipIntoPatchesBuilder.
SnipSurfaceIntoPatches
¶ Snip the selected surface into patches
Signature
SnipSurfaceIntoPatches(targetFace)
Parameters: targetFace ( NXOpen.Face
) –New in version NX9.0.0.
License requirements: None.
Validate¶
-
SnipIntoPatchesBuilder.
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.