PartsConnector (hwx.inspire)#
- class PartsConnector#
Bases:
Connector
PartsConnectors are generally used to connect two or more parts together.
Base class for part based connectors line ‘Fastener’, ‘Joint’.
# Name
Type
property
property
property
property
property
property
Position
property
# Name
Description
getAllowedTypes
(self)Returns a list of allowed part connectors type.
- getAllowedTypes()#
Returns a list of allowed part connectors type.
- Returns:
List of allowed part connectors.
- Return type:
list
- property type#
The type of the connection.
Call getAllowedTypes to see which are the allowed types.
- property material#
The material of the connector.
- property color#
The color assigned to the connector when it is displayed in the modeling window.
- property grounded#
Determines whether the connector is grounded.
- property enablePretension#
Determines whether pretension is enabled.
If pretension is enabled and defined, the pretension is then included as a load in all load cases.
- property pretensionForce#
The magnitude for the pretension force.
Applying pretension to bolted and screwed connections allows a more complete understanding of the behavior of a structure. Often, these preloads are of a significant magnitude and can influence design decisions.
Typical examples are clamping structures, such as bearing housings or bicycle handlebars and seat-posts. In engines, cylinder bore distortion can be a critical design requirement highly influenced by the loads generated by the bolt down of the cylinder head.
- property enableAllowableForces#
Determines whether to enable optimization of the selected fasteners or cylindrical hole supports.
- property autoCalculateAllowableForces#
Determines whether the allowable axial and shear forces will be manually added.
- property axialForce#
Manually entry of the Allowable Axial Force.
Based on the yield stress and the area of the hole Inspire automatically determines the maximum stress allowed for the fastener or cylindrical hole support, if autoCalculateAllowableForces is set to True.
- property shearForce#
Manually entry of the Allowable Shear Force.
Inspire automatically determines the maximum force allowed for the fastener or cylindrical hole support, if autoCalculateAllowableForces is set to True.
- property axialStiffness#
The spring stiffness in the axial direction.
- property shearStiffness#
The spring stiffness in the shearing direction.
- property featureLists#
A nested list of features making up the holes.
- property features#
List of features making up the holes.
- property parts#
Returns a list of connected parts.
- property partsInHoles#
CAD parts this connector replaced at creation.
- property axis#
Line segment through the centre of holes where parts are connected.
There are 2 points for each part.
- property radius#
Radius of the cylindrical shaft.
This is typically equal to the radius of the smallest hole the fastener goes through.
- property autoCalculatePosition#
Becomes False when user moves Joint.
- property position#
Marker position in Motion analysis.
- property location#
(Math.Point) Origin of the position.
If autoCalculatePosition is True then this is the center of the holes.
- property direction#
Specifies which side of the hole, the screw will enter and exit.
Usually set to the direction of the view at creation.