DirectUnfoldBuilder Class¶
-
class
NXOpen.Tooling.
DirectUnfoldBuilder
¶ Bases:
NXOpen.Builder
The builder contains all inputs for direct unfolding.
They are: name of current design part name of bodies in current part planar faces for auto-recogniton ...
To create a new instance of this class, use
NXOpen.Tooling.DirectUnfoldCollection.CreateDirectUnfoldBuilder
Default values.
Property Value Angle1 30 Angle2 30 Angle3 30 Angle4 30 Angle5 30 Angle6 30 CurBodies None DefineNeutralFactor.BendDevelopedLength 0 DefineNeutralFactor.NeutralFactor 0.40 DefineNeutralFactor.NeutralFactorFormula General DefineNeutralFactor.PartMaterial 08 DesignSequence 0 DevLength (deprecated) 0 InterRenameComp 0 Materials (deprecated) Steel NumBends Two NumInter 1 OrientPitch 0 Pitch 0 StartStation 2 New in version NX6.0.0.
Properties¶
Property | Description |
---|---|
Angle1 | Returns or sets the first angle of prebend. |
Angle2 | Returns or sets the second angle of prebend. |
Angle3 | Returns or sets the third angle of prebend. |
Angle4 | Returns or sets the fourth angle of prebend. |
Angle5 | Returns or sets the fifth angle of prebend. |
Angle6 | Returns or sets the sixth angle of prebend. |
CurBodies | Returns or sets the current body list. |
DefineNeutralFactor | Returns the define neutral factor builder which contains new neutral factor, part material and bend developed length |
DesignSequence | Returns or sets the design sequence. |
DevLength | Returns or sets the operations to developed length of a bend. |
EditOption | Returns or sets the edit intermediate stage option. |
InterNamingRule | Returns or sets the naming rule of intermediate stages. |
InterRenameComp | Returns or sets the switch of rename components. |
InterStage | Returns the intermediate stages selected as the reference of insert. |
KFactor | Returns or sets the operations of k factor for a single bend. |
Materials | Returns or sets the materials available in PDW. |
NumBends | Returns or sets the number of bends. |
NumInter | Returns or sets the number of intermediate stages. |
OrientPitch | Returns or sets the orientation of pitch. |
Pitch | Returns or sets the pitch. |
SelPlanarFaces | Returns the planar faces selected as the start of automatic recognition. |
SelectBend | Returns the selection list that stores bend faces. |
StartStation | Returns or sets the start station. |
Tag | Returns the Tag for this object. |
UnfoldType | Returns or sets the type of direct unfold, the name get_type has been used |
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. |
KByMaterial | Evaluates K factors for every bend by giving material, radius of the bend and thickenss of the part. |
LoadDatabase | Opens process_data Speadsheet in PDW. |
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¶
DirectUnfoldBuilderBend Enumeration | The number of children bends in defining prebend. |
DirectUnfoldBuilderBodyList Enumeration | The name list of bodies in current part. |
DirectUnfoldBuilderMatType Enumeration | The material database defined in PDW. |
DirectUnfoldBuilderTypes Enumeration | Specifies the option of direct unfold type |
Property Detail¶
Angle1¶
-
DirectUnfoldBuilder.
Angle1
¶ Returns or sets the first angle of prebend.
-------------------------------------
Getter Method
Signature
Angle1()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Angle1(angle1)
Parameters: angle1 (float) – New in version NX6.0.0.
License requirements: None.
Angle2¶
-
DirectUnfoldBuilder.
Angle2
¶ Returns or sets the second angle of prebend.
-------------------------------------
Getter Method
Signature
Angle2()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Angle2(angle2)
Parameters: angle2 (float) – New in version NX6.0.0.
License requirements: None.
Angle3¶
-
DirectUnfoldBuilder.
Angle3
¶ Returns or sets the third angle of prebend.
-------------------------------------
Getter Method
Signature
Angle3()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Angle3(angle3)
Parameters: angle3 (float) – New in version NX6.0.0.
License requirements: None.
Angle4¶
-
DirectUnfoldBuilder.
Angle4
¶ Returns or sets the fourth angle of prebend.
-------------------------------------
Getter Method
Signature
Angle4()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Angle4(angle4)
Parameters: angle4 (float) – New in version NX6.0.0.
License requirements: None.
Angle5¶
-
DirectUnfoldBuilder.
Angle5
¶ Returns or sets the fifth angle of prebend.
-------------------------------------
Getter Method
Signature
Angle5()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Angle5(angle5)
Parameters: angle5 (float) – New in version NX6.0.0.
License requirements: None.
Angle6¶
-
DirectUnfoldBuilder.
Angle6
¶ Returns or sets the sixth angle of prebend.
-------------------------------------
Getter Method
Signature
Angle6()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Angle6(angle6)
Parameters: angle6 (float) – New in version NX6.0.0.
License requirements: None.
CurBodies¶
-
DirectUnfoldBuilder.
CurBodies
¶ Returns or sets the current body list.
-------------------------------------
Getter Method
Signature
CurBodies()
Returns: Return type: NXOpen.Tooling.DirectUnfoldBuilderBodyList
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CurBodies(curBodies)
Parameters: curBodies ( NXOpen.Tooling.DirectUnfoldBuilderBodyList
) –New in version NX6.0.0.
License requirements: None.
DefineNeutralFactor¶
-
DirectUnfoldBuilder.
DefineNeutralFactor
¶ Returns the define neutral factor builder which contains new neutral factor, part material and bend developed length
-------------------------------------
Getter Method
Signature
DefineNeutralFactor()
Returns: Return type: NXOpen.Tooling.DefineNeutralFactorBuilder
New in version NX10.0.0.
License requirements: None.
DesignSequence¶
-
DirectUnfoldBuilder.
DesignSequence
¶ Returns or sets the design sequence.
-------------------------------------
Getter Method
Signature
DesignSequence()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DesignSequence(designSequence)
Parameters: designSequence (int) – New in version NX7.5.0.
License requirements: None.
DevLength¶
-
DirectUnfoldBuilder.
DevLength
¶ Returns or sets the operations to developed length of a bend.
-------------------------------------
Getter Method
Signature
DevLength()
Returns: Return type: float New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.BendDevelopedLength
instead.License requirements: None.
-------------------------------------
Setter Method
Signature
DevLength(devLength)
Parameters: devLength (float) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.BendDevelopedLength
instead.License requirements: None.
EditOption¶
-
DirectUnfoldBuilder.
EditOption
¶ Returns or sets the edit intermediate stage option.
-------------------------------------
Getter Method
Signature
EditOption()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EditOption(editOption)
Parameters: editOption (int) – New in version NX7.5.0.
License requirements: None.
InterNamingRule¶
-
DirectUnfoldBuilder.
InterNamingRule
¶ Returns or sets the naming rule of intermediate stages.
-------------------------------------
Getter Method
Signature
InterNamingRule()
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InterNamingRule(interNamingRule)
Parameters: interNamingRule (str) – New in version NX6.0.0.
License requirements: None.
InterRenameComp¶
-
DirectUnfoldBuilder.
InterRenameComp
¶ Returns or sets the switch of rename components.
-------------------------------------
Getter Method
Signature
InterRenameComp()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InterRenameComp(interRenameComp)
Parameters: interRenameComp (bool) – New in version NX6.0.0.
License requirements: None.
InterStage¶
-
DirectUnfoldBuilder.
InterStage
¶ Returns the intermediate stages selected as the reference of insert.
-------------------------------------
Getter Method
Signature
InterStage()
Returns: Return type: NXOpen.Assemblies.SelectComponent
New in version NX7.5.0.
License requirements: None.
KFactor¶
-
DirectUnfoldBuilder.
KFactor
¶ Returns or sets the operations of k factor for a single bend.
-------------------------------------
Getter Method
Signature
KFactor()
Returns: Return type: str New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.NeutralFactor
instead.License requirements: None.
-------------------------------------
Setter Method
Signature
KFactor(kFactor)
Parameters: kFactor (str) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.NeutralFactor
instead.License requirements: None.
Materials¶
-
DirectUnfoldBuilder.
Materials
¶ Returns or sets the materials available in PDW.
-------------------------------------
Getter Method
Signature
Materials()
Returns: Return type: NXOpen.Tooling.DirectUnfoldBuilderMatType
New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.PartMaterial
instead.License requirements: None.
-------------------------------------
Setter Method
Signature
Materials(materials)
Parameters: materials ( NXOpen.Tooling.DirectUnfoldBuilderMatType
) –New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Tooling.DefineNeutralFactorBuilder.PartMaterial
instead.License requirements: None.
NumBends¶
-
DirectUnfoldBuilder.
NumBends
¶ Returns or sets the number of bends.
-------------------------------------
Getter Method
Signature
NumBends()
Returns: Return type: NXOpen.Tooling.DirectUnfoldBuilderBend
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NumBends(numBends)
Parameters: numBends ( NXOpen.Tooling.DirectUnfoldBuilderBend
) –New in version NX6.0.0.
License requirements: None.
NumInter¶
-
DirectUnfoldBuilder.
NumInter
¶ Returns or sets the number of intermediate stages.
-------------------------------------
Getter Method
Signature
NumInter()
Returns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NumInter(numInter)
Parameters: numInter (int) – New in version NX6.0.0.
License requirements: None.
OrientPitch¶
-
DirectUnfoldBuilder.
OrientPitch
¶ Returns or sets the orientation of pitch.
-------------------------------------
Getter Method
Signature
OrientPitch()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OrientPitch(orientPitch)
Parameters: orientPitch (int) – New in version NX7.5.0.
License requirements: None.
Pitch¶
-
DirectUnfoldBuilder.
Pitch
¶ Returns or sets the pitch.
-------------------------------------
Getter Method
Signature
Pitch()
Returns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Pitch(pitch)
Parameters: pitch (float) – New in version NX7.5.0.
License requirements: None.
SelPlanarFaces¶
-
DirectUnfoldBuilder.
SelPlanarFaces
¶ Returns the planar faces selected as the start of automatic recognition.
-------------------------------------
Getter Method
Signature
SelPlanarFaces()
Returns: Return type: NXOpen.SelectFaceList
New in version NX6.0.0.
License requirements: None.
SelectBend¶
-
DirectUnfoldBuilder.
SelectBend
¶ Returns the selection list that stores bend faces.
-------------------------------------
Getter Method
Signature
SelectBend()
Returns: Return type: NXOpen.SelectFaceList
New in version NX6.0.0.
License requirements: None.
StartStation¶
-
DirectUnfoldBuilder.
StartStation
¶ Returns or sets the start station.
-------------------------------------
Getter Method
Signature
StartStation()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
StartStation(startStation)
Parameters: startStation (int) – New in version NX7.5.0.
License requirements: None.
UnfoldType¶
-
DirectUnfoldBuilder.
UnfoldType
¶ Returns or sets the type of direct unfold, the name get_type has been used
-------------------------------------
Getter Method
Signature
UnfoldType()
Returns: Return type: NXOpen.Tooling.DirectUnfoldBuilderTypes
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UnfoldType(type)
Parameters: type ( NXOpen.Tooling.DirectUnfoldBuilderTypes
) –New in version NX7.5.0.
License requirements: None.
Method Detail¶
KByMaterial¶
-
DirectUnfoldBuilder.
KByMaterial
¶ Evaluates K factors for every bend by giving material, radius of the bend and thickenss of the part.
Signature
KByMaterial()
New in version NX6.0.0.
Deprecated since version NX10.0.0: This functionality is no longer supported.
License requirements: None.
LoadDatabase¶
-
DirectUnfoldBuilder.
LoadDatabase
¶ Opens process_data Speadsheet in PDW.
Signature
LoadDatabase()
New in version NX6.0.0.
Deprecated since version NX10.0.0: This functionality is no longer supported.
License requirements: None.
Validate¶
-
DirectUnfoldBuilder.
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.