CurveContactBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# CurveContactBuilder Class

class `NXOpen.Motion.``CurveContactBuilder`

  Bases: `NXOpen.Builder`

  Represents a `NXOpen.Motion.CurveContactBuilder`

  To create a new instance of this class, use `NXOpen.Motion.CurveContactCollection.CreateCurveContactBuilder()`

  Default values.

  Property | Value
  --- | ---
  AdamsParameters.DynamicCoefficientExpression.Value | 0.05
  AdamsParameters.ForceExponentExpression.Value | 1.2
  AdamsParameters.MaterialDampingExpression.Value | 100000.0 (millimeters part), 570.993 (inches part)
  AdamsParameters.PenetrationDepthExpression.Value | 0.001 (millimeters part), 0.00003937 (inches part)
  AdamsParameters.SlipVelocityExpression.Value | 0.1 (millimeters part), 0.003937 (inches part)
  AdamsParameters.StaticCoefficientExpression.Value | 0.08
  AdamsParameters.StiffnessExpression.Value | 100000000000.0 (millimeters part), 570993141.98628 (inches part)
  AdamsParameters.TransitionVelocityExpression.Value | 1.0 (millimeters part), 0.03937 (inches part)
  DisplayScale | 1.0
  RecurdynParameters.BufferRadiusFactorExpression.Value | 1.2
  RecurdynParameters.CurveToleranceFactorExpression.Value | 10.0
  RecurdynParameters.DynamicCoefficientExpression.Value | 0.05
  RecurdynParameters.FirstCurveMaximumPenetrationExpression.Value | 10.0 (millimeters part), 0.3937 (inches part)
  RecurdynParameters.ForceExponentExpression.Value | 1.2
  RecurdynParameters.MaterialDampingExpression.Value | 100000.0 (millimeters part), 570.993 (inches part)
  RecurdynParameters.MaximumStepSizeFactorExpression.Value | 2.0
  RecurdynParameters.PenetrationDepthExpression.Value | 0.001 (millimeters part), 0.00003937 (inches part)
  RecurdynParameters.SecondCurveMaximumPenetrationExpression.Value | 10.0 (millimeters part), 0.3937 (inches part)
  RecurdynParameters.SlipVelocityExpression.Value | 0.1 (millimeters part), 0.003937 (inches part)
  RecurdynParameters.StaticCoefficientExpression.Value | 0.08
  RecurdynParameters.StiffnessExpression.Value | 100000000000.0 (millimeters part), 570993141.98628 (inches part)
  RecurdynParameters.TransitionVelocityExpression.Value | 1.0 (millimeters part), 0.03937 (inches part)

  New in version NX5.0.0.

# Properties

Property | Description
--- | ---
AdamsParameters | Returns the 2D CurveContact’s subobject (the adams parameters)
ContactName | Returns or sets the contact name
DisplayScale | Returns or sets the display scale
FirstContactCurve | Returns the selection of the first contact curve
FirstGeometryMaterialDirection | Returns or sets the first geometry materia side direction
RecurdynParameters | Returns the 2D CurveContact’s subobject (the recurdyn parameters)
SecondContactCurve | Returns the selection of the second contact curve
SecondGeometryMaterialDirection | Returns or sets the second geometry materia side direction
Tag | Returns the Tag for this object.

# 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

CurveContactBuilderGeometryMaterialSide Enumeration | the enum for the materia side direction of the selected geometry

# Property Detail

## AdamsParameters

`CurveContactBuilder.``AdamsParameters`

  Returns the 2D CurveContact’s subobject (the adams parameters)

  `-------------------------------------`

  Getter Method

  Signature `AdamsParameters`

  Returns: |
  Return type: | `NXOpen.Motion.CurveContactAdams`

  New in version NX5.0.0.

  License requirements: None.

## ContactName

`CurveContactBuilder.``ContactName`

  Returns or sets the contact name

  `-------------------------------------`

  Getter Method

  Signature `ContactName`

  Returns: |
  Return type: | str

  New in version NX5.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ContactName`

  Parameters: | name (str) –

  New in version NX5.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## DisplayScale

`CurveContactBuilder.``DisplayScale`

  Returns or sets the display scale

  `-------------------------------------`

  Getter Method

  Signature `DisplayScale`

  Returns: |
  Return type: | float

  New in version NX5.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `DisplayScale`

  Parameters: | displayScale (float) –

  New in version NX5.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## FirstContactCurve

`CurveContactBuilder.``FirstContactCurve`

  Returns the selection of the first contact curve

  `-------------------------------------`

  Getter Method

  Signature `FirstContactCurve`

  Returns: |
  Return type: | `NXOpen.SelectNXObjectList`

  New in version NX5.0.0.

  License requirements: None.

## FirstGeometryMaterialDirection

`CurveContactBuilder.``FirstGeometryMaterialDirection`

  Returns or sets the first geometry materia side direction

  `-------------------------------------`

  Getter Method

  Signature `FirstGeometryMaterialDirection`

  Returns: |
  Return type: | `NXOpen.Motion.CurveContactBuilderGeometryMaterialSide`

  New in version NX5.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `FirstGeometryMaterialDirection`

  Parameters: | sideDirection (`NXOpen.Motion.CurveContactBuilderGeometryMaterialSide`) –

  New in version NX5.0.0.

  License requirements: mechanisms (“MECHANISMS”)

## RecurdynParameters

`CurveContactBuilder.``RecurdynParameters`

  Returns the 2D CurveContact’s subobject (the recurdyn parameters)

  `-------------------------------------`

  Getter Method

  Signature `RecurdynParameters`

  Returns: |
  Return type: | `NXOpen.Motion.CurveContactRecurdyn`

  New in version NX5.0.0.

  License requirements: None.

## SecondContactCurve

`CurveContactBuilder.``SecondContactCurve`

  Returns the selection of the second contact curve

  `-------------------------------------`

  Getter Method

  Signature `SecondContactCurve`

  Returns: |
  Return type: | `NXOpen.SelectNXObjectList`

  New in version NX5.0.0.

  License requirements: None.

## SecondGeometryMaterialDirection

`CurveContactBuilder.``SecondGeometryMaterialDirection`

  Returns or sets the second geometry materia side direction

  `-------------------------------------`

  Getter Method

  Signature `SecondGeometryMaterialDirection`

  Returns: |
  Return type: | `NXOpen.Motion.CurveContactBuilderGeometryMaterialSide`

  New in version NX5.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `SecondGeometryMaterialDirection`

  Parameters: | sideDirection (`NXOpen.Motion.CurveContactBuilderGeometryMaterialSide`) –

  New in version NX5.0.0.

  License requirements: mechanisms (“MECHANISMS”)

# Method Detail

## Validate

`CurveContactBuilder.``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.