EasyPatternBuilder Class

class NXOpen.Weld.EasyPatternBuilder

Bases: NXOpen.Builder

Represents the easy pattern builder.

This is used to create hem, trim and surface measurement points at various plane locations. To create a new instance of this class, use NXOpen.Weld.WeldManager.CreateEasyPatternBuilder()

Default values.

Property Value
BackEdgeOffset 2 (millimeters part), 0.08 (inches part)
GridAngleTolerance 15
GridIncrement 25 (millimeters part), 1.0 (inches part)
Height 25 (millimeters part), 1.0 (inches part)
HemMethod MidPoint
LengthAndWidth 5 (millimeters part), 0.02 (inches part)
MaximumSpacing 20 (millimeters part), 0.8 (inches part)
MinimumFlangeWidth 6.0 (millimeters part), 0.25 (inches part)
NumberSurfaceVectors 1
PlaneLocation 0
PlaneMethod InferPlanes
SpacingMethod Grid
TrimEdgeOffset 2 (millimeters part), 0.08 (inches part)

New in version NX7.5.0.

Properties

Property Description
BackEdgeOffset Returns or sets the back edge offset.
DistanceTolerance Returns or sets the distance tolerance.
GridAngleTolerance Returns or sets the grid angle tolerance.
GridIncrement Returns or sets the grid increment.
Height Returns or sets the height of the measurement solid to create.
HemMethod Returns or sets the hem method.
LengthAndWidth Returns or sets the length and width of the measurement solid to create.
MaximumSpacing Returns or sets the maximum spacing between the trim edge offset and the back edge offset.
MinimumFlangeWidth Returns or sets the value used to control when only one surface measurement vector will be created.
NumberSurfaceVectors Returns or sets the number surface vectors to create for each pattern.
PatternPath Returns the pattern path.
PlaneLocation Returns or sets the plane location.
PlaneMethod Returns or sets the plane method.
ReverseDirection Returns or sets the reverse direction.
SpacingMethod Returns or sets the spacing method.
SurfaceVectorFace Returns the surface vector face.
Tag Returns the Tag for this object.
TrimEdgeOffset Returns or sets the trim edge offset distance.
Type Returns or sets the type of pattern to created.

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

EasyPatternBuilderHemMethodTypes Enumeration Indicates the method to use to compute the hem vector location.
EasyPatternBuilderPlaneMethodTypes Enumeration The plane to cut sections in to determine placement measurement patterns.
EasyPatternBuilderSpacingMethodTypes Enumeration Indicates whether planes should be cut a grid lines, or if a single plane should be used.
EasyPatternBuilderTypes Enumeration Controls the type of pattern.

Property Detail

BackEdgeOffset

EasyPatternBuilder.BackEdgeOffset

Returns or sets the back edge offset.

This offset distance is measured from the end of the section cut curve. The start of the curve is at path curve specified.

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

Getter Method

Signature BackEdgeOffset

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature BackEdgeOffset

Parameters:backEdgeOffset (float) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

DistanceTolerance

EasyPatternBuilder.DistanceTolerance

Returns or sets the distance tolerance.

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

Getter Method

Signature DistanceTolerance

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature DistanceTolerance

Parameters:tolerance (float) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

GridAngleTolerance

EasyPatternBuilder.GridAngleTolerance

Returns or sets the grid angle tolerance.

This is used for the inferred grid spacing method.

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

Getter Method

Signature GridAngleTolerance

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature GridAngleTolerance

Parameters:gridAngleTolerance (float) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

GridIncrement

EasyPatternBuilder.GridIncrement

Returns or sets the grid increment.

The grid spacing value use to generate planes.

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

Getter Method

Signature GridIncrement

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature GridIncrement

Parameters:gridIncrement (float) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

Height

EasyPatternBuilder.Height

Returns or sets the height of the measurement solid to create.

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

Getter Method

Signature Height

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature Height

Parameters:height (float) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

HemMethod

EasyPatternBuilder.HemMethod

Returns or sets the hem method.

This controls the method used for determining the hem point location and vector direction.

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

Getter Method

Signature HemMethod

Returns:
Return type:NXOpen.Weld.EasyPatternBuilderHemMethodTypes

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature HemMethod

Parameters:hemMethod (NXOpen.Weld.EasyPatternBuilderHemMethodTypes) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

LengthAndWidth

EasyPatternBuilder.LengthAndWidth

Returns or sets the length and width of the measurement solid to create.

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

Getter Method

Signature LengthAndWidth

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature LengthAndWidth

Parameters:lengthAndWidth (float) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

MaximumSpacing

EasyPatternBuilder.MaximumSpacing

Returns or sets the maximum spacing between the trim edge offset and the back edge offset.

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

Getter Method

Signature MaximumSpacing

Returns:
Return type:float

New in version NX7.5.5.

License requirements: None.

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

Setter Method

Signature MaximumSpacing

Parameters:maximumSpacing (float) –

New in version NX7.5.5.

License requirements: ugweld (“UG WELD”)

MinimumFlangeWidth

EasyPatternBuilder.MinimumFlangeWidth

Returns or sets the value used to control when only one surface measurement vector will be created.

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

Getter Method

Signature MinimumFlangeWidth

Returns:
Return type:float

New in version NX7.5.1.

License requirements: None.

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

Setter Method

Signature MinimumFlangeWidth

Parameters:minimumFlangeWidth (float) –

New in version NX7.5.1.

License requirements: ugweld (“UG WELD”)

NumberSurfaceVectors

EasyPatternBuilder.NumberSurfaceVectors

Returns or sets the number surface vectors to create for each pattern.

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

Getter Method

Signature NumberSurfaceVectors

Returns:
Return type:int

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature NumberSurfaceVectors

Parameters:numberSurfaceVectors (int) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

PatternPath

EasyPatternBuilder.PatternPath

Returns the pattern path.

This path is used to determine the pattern spacing.

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

Getter Method

Signature PatternPath

Returns:
Return type:NXOpen.Section

New in version NX7.5.0.

License requirements: None.

PlaneLocation

EasyPatternBuilder.PlaneLocation

Returns or sets the plane location.

The single plane location to create a pattern.

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

Getter Method

Signature PlaneLocation

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature PlaneLocation

Parameters:planeLocation (float) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

PlaneMethod

EasyPatternBuilder.PlaneMethod

Returns or sets the plane method.

This is used to control plane orientations for the measurement points.

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

Getter Method

Signature PlaneMethod

Returns:
Return type:NXOpen.Weld.EasyPatternBuilderPlaneMethodTypes

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature PlaneMethod

Parameters:planeMethod (NXOpen.Weld.EasyPatternBuilderPlaneMethodTypes) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

ReverseDirection

EasyPatternBuilder.ReverseDirection

Returns or sets the reverse direction.

This will reverse direction of all measurement points created.

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

Getter Method

Signature ReverseDirection

Returns:
Return type:bool

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature ReverseDirection

Parameters:reverseDirection (bool) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

SpacingMethod

EasyPatternBuilder.SpacingMethod

Returns or sets the spacing method.

This method controls whether multiple patterns are created or a single pattern.

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

Getter Method

Signature SpacingMethod

Returns:
Return type:NXOpen.Weld.EasyPatternBuilderSpacingMethodTypes

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature SpacingMethod

Parameters:spacingMethod (NXOpen.Weld.EasyPatternBuilderSpacingMethodTypes) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

SurfaceVectorFace

EasyPatternBuilder.SurfaceVectorFace

Returns the surface vector face.

This is the face surface vectors will be created on.

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

Getter Method

Signature SurfaceVectorFace

Returns:
Return type:NXOpen.ScCollector

New in version NX7.5.0.

License requirements: None.

TrimEdgeOffset

EasyPatternBuilder.TrimEdgeOffset

Returns or sets the trim edge offset distance.

This is the offset distance from the path specified.

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

Getter Method

Signature TrimEdgeOffset

Returns:
Return type:float

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature TrimEdgeOffset

Parameters:trimEdgeOffset (float) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

Type

EasyPatternBuilder.Type

Returns or sets the type of pattern to created.

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

Getter Method

Signature Type

Returns:
Return type:NXOpen.Weld.EasyPatternBuilderTypes

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature Type

Parameters:type (NXOpen.Weld.EasyPatternBuilderTypes) –

New in version NX7.5.0.

License requirements: ugweld (“UG WELD”)

Method Detail

Validate

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