BodyContactBuilder Class¶
-
class
NXOpen.Motion.
BodyContactBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.Motion.BodyContactBuilder
To create a new instance of this class, use
NXOpen.Motion.BodyContactCollection.CreateBodyContactBuilder()
Default values.
Property Value AdamsParameters.CoulombFrictionOption Off AdamsParameters.DynamicCoefficientExpression.Value 0.2 AdamsParameters.ForceExponentExpression.Value 2.0 AdamsParameters.ForceModelType Impact AdamsParameters.FrictionVelocityExpression.Value 0.1 (millimeters part), 0.003937 (inches part) AdamsParameters.MaterialDampingExpression.Value 10000.0 (millimeters part), 57.0993 (inches part) AdamsParameters.PenetrationDepthExpression.Value 0.01 (millimeters part), 0.0003937 (inches part) AdamsParameters.RestitutionCoefficentExpression.Value 0.85 AdamsParameters.StaticCoefficientExpression.Value 0.3 AdamsParameters.StictionVelocityExpression.Value 0.01 (millimeters part), 0.0003937 (inches part) AdamsParameters.StiffnessExpression.Value 100000000.0 (millimeters part), 570993.142 (inches part) LmsParameters.ActionAngleTolerance.Value 25 LmsParameters.ActionDistanceTolerance.Value 0.0 (millimeters part), 0.0 (inches part) LmsParameters.ActionEnableMaxFacetSize 0 LmsParameters.ActionMaxFacetSize.Value 1000 (millimeters part), 39.370078740157 (inches part) LmsParameters.ActionUseTessellationFile 0 LmsParameters.BaseAngleTolerance.Value 25 LmsParameters.BaseDistanceTolerance.Value 0.0 (millimeters part), 0.0 (inches part) LmsParameters.BaseEnableMaxFacetSize 0 LmsParameters.BaseMaxFacetSize.Value 1000 (millimeters part), 39.370078740157 (inches part) LmsParameters.BaseUseTessellationFile 0 LmsParameters.CoulombFrictionOption Off LmsParameters.DynamicCoefficient.Value 0.2 LmsParameters.ForceExponent.Value 2.0 LmsParameters.ForceModel Auto LmsParameters.ForceModelTolerance.Value 5.0 (millimeters part), 0.196850393700787 (inches part) LmsParameters.FrictionVelocity.Value 0.1 (millimeters part), 0.003937 (inches part) LmsParameters.MaterialDamping.Value 10000.0 (millimeters part),57.1014715473270000 (inches part) LmsParameters.MaxPenetrationDepth.Value 0.0254 (millimeters part), 0.001 (inches part) LmsParameters.StaticCoefficient.Value 0.3 LmsParameters.StictionVelocity.Value 0.01 (millimeters part), 0.0003937 (inches part) LmsParameters.Stiffness.Value 100000000.0 (millimeters part), 571014.71547327 (inches part) RecurdynParameters.BufferRadiusFactorExpression.Value 1.2 RecurdynParameters.ContactTypeOption Solid RecurdynParameters.CoulombFrictionOption Off RecurdynParameters.DynamicCoefficientExpression.Value 0.2 RecurdynParameters.FirstGeometryBoundingBufferLengthExpression.Value 20 (millimeters part),0.7874 (inches part) RecurdynParameters.FirstGeometryMaxFacetSizeFactorExpression.Value 2.0 RecurdynParameters.FirstGeometryMaxFacetSizeFactorFlag False RecurdynParameters.FirstGeometryMaximumPenetrationExpression.Value 1.0 (millimeters part), 0.03937 (inches part) RecurdynParameters.FirstGeometryPlaneToleranceFactorExpression.Value 5.0 RecurdynParameters.FirstGeometryPlaneToleranceFactorSolidContactExpression.Value 3.0 RecurdynParameters.ForceExponentExpression.Value 2.0 RecurdynParameters.ForceModelType Impact RecurdynParameters.FrictionVelocityExpression.Value 0.1 (millimeters part), 0.003937 (inches part) RecurdynParameters.GlobalMaxPenetrationExpression.Value 10.0 (millimeters part),0.3937 (inches part) RecurdynParameters.LocalMaxPenetrationExpression.Value 0.0 RecurdynParameters.MaterialDampingExpression.Value 10000.0 (millimeters part),57.0993 (inches part) RecurdynParameters.MaximumStepSizeFactorExpression.Value 10.0 RecurdynParameters.PenetrationDepthExpression.Value 0.01 (millimeters part), 0.0003937 (inches part) RecurdynParameters.ReboundDampingFactorExpression.Value 0.25 RecurdynParameters.ReboundDampingFactorFlag True RecurdynParameters.SecondGeometryBoundingBufferLengthExpression.Value 20 (millimeters part),0.7874 (inches part) RecurdynParameters.SecondGeometryMaxFacetSizeFactorExpression.Value 2.0 RecurdynParameters.SecondGeometryMaxFacetSizeFactorFlag False RecurdynParameters.SecondGeometryMaximumPenetrationExpression.Value 1.0 (millimeters part), 0.03937 (inches part) RecurdynParameters.SecondGeometryPlaneToleranceFactorExpression.Value 5.0 RecurdynParameters.SecondGeometryPlaneToleranceFactorSolidContactExpression.Value 3.0 RecurdynParameters.StaticCoefficientExpression.Value 0.3 RecurdynParameters.StictionVelocityExpression.Value 0.01 (millimeters part), 0.0003937 (inches part) RecurdynParameters.StiffnessExpression.Value 100000000.0 (millimeters part), 570993.142 (inches part) RecurdynParameters.SurfaceTypeOption Faceted SphereToCadParameters.BodyAngleTolerance.Value 25 SphereToCadParameters.BodyDistanceTolerance.Value 0.0 (millimeters part), 0.0 (inches part) SphereToCadParameters.BodyEnableMaxFacetSize 0 SphereToCadParameters.BodyMaxFacetSize.Value 1000 (millimeters part), 39.370078740157 (inches part) SphereToCadParameters.CoulombFrictionOption Off SphereToCadParameters.DynamicCoefficient.Value 0.2 SphereToCadParameters.ForceExponent.Value 2.0 SphereToCadParameters.FrictionVelocity.Value 0.1 (millimeters part), 0.003937 (inches part) SphereToCadParameters.MaterialDamping.Value 10000.0 (millimeters part),57.1014715473270000 (inches part) SphereToCadParameters.MaxPenetrationDepth.Value 0.0254 (millimeters part), 0.001 (inches part) SphereToCadParameters.SphereRadius.Value 1000.0 (millimeters part), 39.370078740157 (inches part) SphereToCadParameters.StaticCoefficient.Value 0.3 SphereToCadParameters.StictionVelocity.Value 0.01 (millimeters part), 0.0003937 (inches part) SphereToCadParameters.Stiffness.Value 100000000.0 (millimeters part), 571014.71547327 (inches part) SphereToCadParameters.SuperElementIncrement 1 SphereToCadParameters.SuperElementReportInstance 1 SphereToCadParameters.UseTessellationFile 0 New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
AdamsParameters | Returns the 3D BodyContact’s subobject (the adams parameters) |
ContactType | Returns or sets the type: 3D contact or Sphere to CAD |
FirstContactGeometry | Returns the selection of the first contact geometry |
LmsParameters | Returns the 3D BodyContact’s subobject (the lms parameters) |
Name | Returns or sets the name |
RecurdynParameters | Returns the 3D BodyContact’s subobject (the recurdyn parameters) |
SecondContactGeometry | Returns the selection of the second contact geometry |
SphereCenter | Returns or sets the selection of sphere center for Sphere To CAD |
SphereLink | Returns the selection of sphere link for Sphere To CAD |
SphereToCadParameters | Returns the 3D BodyContact’s subobject (the sphere to cad parameters) |
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¶
BodyContactBuilderContactTypeOption Enumeration | the contact type (3D Contact or Sphere to CAD Contact) |
Property Detail¶
AdamsParameters¶
-
BodyContactBuilder.
AdamsParameters
¶ Returns the 3D BodyContact’s subobject (the adams parameters)
-------------------------------------
Getter Method
Signature
AdamsParameters
Returns: Return type: NXOpen.Motion.BodyContactAdams
New in version NX5.0.0.
License requirements: None.
ContactType¶
-
BodyContactBuilder.
ContactType
¶ Returns or sets the type: 3D contact or Sphere to CAD
-------------------------------------
Getter Method
Signature
ContactType
Returns: Return type: NXOpen.Motion.BodyContactBuilderContactTypeOption
New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
ContactType
Parameters: type ( NXOpen.Motion.BodyContactBuilderContactTypeOption
) –New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
FirstContactGeometry¶
-
BodyContactBuilder.
FirstContactGeometry
¶ Returns the selection of the first contact geometry
-------------------------------------
Getter Method
Signature
FirstContactGeometry
Returns: Return type: NXOpen.SelectNXObjectList
New in version NX5.0.0.
License requirements: None.
LmsParameters¶
-
BodyContactBuilder.
LmsParameters
¶ Returns the 3D BodyContact’s subobject (the lms parameters)
-------------------------------------
Getter Method
Signature
LmsParameters
Returns: Return type: NXOpen.Motion.BodyContactLms
New in version NX10.0.0.
License requirements: None.
Name¶
-
BodyContactBuilder.
Name
¶ Returns or sets the name
-------------------------------------
Getter Method
Signature
Name
Returns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Name
Parameters: name (str) – New in version NX6.0.0.
License requirements: mechanisms (“MECHANISMS”)
RecurdynParameters¶
-
BodyContactBuilder.
RecurdynParameters
¶ Returns the 3D BodyContact’s subobject (the recurdyn parameters)
-------------------------------------
Getter Method
Signature
RecurdynParameters
Returns: Return type: NXOpen.Motion.BodyContactRecurdyn
New in version NX5.0.0.
License requirements: None.
SecondContactGeometry¶
-
BodyContactBuilder.
SecondContactGeometry
¶ Returns the selection of the second contact geometry
-------------------------------------
Getter Method
Signature
SecondContactGeometry
Returns: Return type: NXOpen.SelectNXObjectList
New in version NX5.0.0.
License requirements: None.
SphereCenter¶
-
BodyContactBuilder.
SphereCenter
¶ Returns or sets the selection of sphere center for Sphere To CAD
-------------------------------------
Getter Method
Signature
SphereCenter
Returns: Return type: NXOpen.Point
New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
SphereCenter
Parameters: sphereCenter ( NXOpen.Point
) –New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
SphereLink¶
-
BodyContactBuilder.
SphereLink
¶ Returns the selection of sphere link for Sphere To CAD
-------------------------------------
Getter Method
Signature
SphereLink
Returns: Return type: NXOpen.Motion.SelectLink
New in version NX12.0.0.
License requirements: mechanisms (“MECHANISMS”)
SphereToCadParameters¶
-
BodyContactBuilder.
SphereToCadParameters
¶ Returns the 3D BodyContact’s subobject (the sphere to cad parameters)
-------------------------------------
Getter Method
Signature
SphereToCadParameters
Returns: Return type: NXOpen.Motion.BodyContactSphereToCAD
New in version NX12.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
BodyContactBuilder.
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.