RefitFaceBuilder Class

class NXOpen.Features.RefitFaceBuilder

Bases: NXOpen.Features.FeatureBuilder

Represents a NXOpen.Features.RefitFace builder

To create a new instance of this class, use NXOpen.Features.FeatureCollection.CreateRefitFaceBuilder()

Default values.

Property Value
RefitControl.DegreesAndSegmentsOrPatches.Degree 3
RefitControl.DegreesAndSegmentsOrPatches.SegmentsOrPatches 1
RefitControl.DegreesAndSegmentsOrPatches.UDegree 5
RefitControl.DegreesAndSegmentsOrPatches.UPatches 1
RefitControl.DegreesAndSegmentsOrPatches.VDegree 5
RefitControl.DegreesAndSegmentsOrPatches.VPatches 1

New in version NX6.0.0.

Properties

Property Description
ConstraintUMax Returns the refit face Umax constraint
ConstraintUMin Returns the refit face Umin constraint
ConstraintVMax Returns the refit face Vmax constraint
ConstraintVMin Returns the refit face Vmin constraint
Face Returns the refitting face
FitDirection Returns or sets the refit face fit direction
HasFitDirection Returns or sets a flag that shows refit face direction in use
IsCreateCopy Returns or sets the new copy of match edge surface
MaxCheckingDist Returns or sets the refit face max check distance
ModificationPercent Returns or sets the refit face modification percentage
ParentFeatureInternal Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal
PatchSolutionFlag Returns or sets the patch solution flag
PatchSurfaceFilename Returns or sets the patch surface filename
RefitControl Returns the refit control parameters - type, degree, patches, direction, tolerance
SmoothFactor Returns or sets the refit face smoothing factor
SurroundingPatchSurfaceFilename Returns or sets the surrounding patch surface filename
Tag Returns the Tag for this object.
Targets Returns the list of targets.
Type Returns or sets the refit type
UseConstraintsAll Returns or sets the refit face constraints use flag

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
CommitFeature Commits the feature parameters and creates the feature
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.
GetFeature Returns the feature currently being edited by this builder.
GetObject Returns the object currently being edited by this builder.
HideInternalParentFeatureAfterEdit Re-suppress an internal parent feature (a slave feature) after it has been edited.
SetParentFeatureInternal Set the parent features which would be internal or slaves to the feature being created or commited
ShowInternalParentFeatureForEdit Unsuppress an internal parent feature (a slave feature) so it can be edited.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UnsetParentFeatureInternal Set the internal parent feature of the feature being edited to external
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

RefitFaceBuilderTypes Enumeration the type of face refit

Property Detail

ConstraintUMax

RefitFaceBuilder.ConstraintUMax

Returns the refit face Umax constraint

-------------------------------------

Getter Method

Signature ConstraintUMax

Returns:
Return type:NXOpen.GeometricUtilities.Continuity

New in version NX6.0.0.

License requirements: None.

ConstraintUMin

RefitFaceBuilder.ConstraintUMin

Returns the refit face Umin constraint

-------------------------------------

Getter Method

Signature ConstraintUMin

Returns:
Return type:NXOpen.GeometricUtilities.Continuity

New in version NX6.0.0.

License requirements: None.

ConstraintVMax

RefitFaceBuilder.ConstraintVMax

Returns the refit face Vmax constraint

-------------------------------------

Getter Method

Signature ConstraintVMax

Returns:
Return type:NXOpen.GeometricUtilities.Continuity

New in version NX6.0.0.

License requirements: None.

ConstraintVMin

RefitFaceBuilder.ConstraintVMin

Returns the refit face Vmin constraint

-------------------------------------

Getter Method

Signature ConstraintVMin

Returns:
Return type:NXOpen.GeometricUtilities.Continuity

New in version NX6.0.0.

License requirements: None.

Face

RefitFaceBuilder.Face

Returns the refitting face

-------------------------------------

Getter Method

Signature Face

Returns:
Return type:NXOpen.SelectTaggedObject

New in version NX6.0.0.

License requirements: None.

FitDirection

RefitFaceBuilder.FitDirection

Returns or sets the refit face fit direction

-------------------------------------

Getter Method

Signature FitDirection

Returns:
Return type:NXOpen.Direction

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature FitDirection

Parameters:fitDir (NXOpen.Direction) –

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

HasFitDirection

RefitFaceBuilder.HasFitDirection

Returns or sets a flag that shows refit face direction in use

-------------------------------------

Getter Method

Signature HasFitDirection

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature HasFitDirection

Parameters:hasFitDir (bool) –

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

IsCreateCopy

RefitFaceBuilder.IsCreateCopy

Returns or sets the new copy of match edge surface

-------------------------------------

Getter Method

Signature IsCreateCopy

Returns:
Return type:bool

New in version NX6.0.1.

License requirements: features_modeling (“FEATURES MODELING”)

-------------------------------------

Setter Method

Signature IsCreateCopy

Parameters:createCopy (bool) –

New in version NX6.0.1.

License requirements: features_modeling (“FEATURES MODELING”)

MaxCheckingDist

RefitFaceBuilder.MaxCheckingDist

Returns or sets the refit face max check distance

-------------------------------------

Getter Method

Signature MaxCheckingDist

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature MaxCheckingDist

Parameters:maxChckDst (float) –

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

ModificationPercent

RefitFaceBuilder.ModificationPercent

Returns or sets the refit face modification percentage

-------------------------------------

Getter Method

Signature ModificationPercent

Returns:
Return type:int

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ModificationPercent

Parameters:modPercent (int) –

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

RefitControl

RefitFaceBuilder.RefitControl

Returns the refit control parameters - type, degree, patches, direction, tolerance

-------------------------------------

Getter Method

Signature RefitControl

Returns:
Return type:NXOpen.GeometricUtilities.RefitControlBuilder

New in version NX6.0.0.

License requirements: None.

SmoothFactor

RefitFaceBuilder.SmoothFactor

Returns or sets the refit face smoothing factor

-------------------------------------

Getter Method

Signature SmoothFactor

Returns:
Return type:int

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature SmoothFactor

Parameters:refitFaceSmoothFac (int) –

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Targets

RefitFaceBuilder.Targets

Returns the list of targets.

Inputs to this command can be convergent objects.

-------------------------------------

Getter Method

Signature Targets

Returns:
Return type:NXOpen.SelectTaggedObjectList

New in version NX6.0.0.

License requirements: None.

Type

RefitFaceBuilder.Type

Returns or sets the refit type

-------------------------------------

Getter Method

Signature Type

Returns:
Return type:NXOpen.Features.RefitFaceBuilderTypes

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Type

Parameters:type (NXOpen.Features.RefitFaceBuilderTypes) –

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

UseConstraintsAll

RefitFaceBuilder.UseConstraintsAll

Returns or sets the refit face constraints use flag

-------------------------------------

Getter Method

Signature UseConstraintsAll

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature UseConstraintsAll

Parameters:constrAll (bool) –

New in version NX6.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

Method Detail

Validate

RefitFaceBuilder.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.