ConnectionBehavior
Kind: Class
Domain: Physical connections
Canonical import: from cadflow import ConnectionBehavior
Signature
class ConnectionBehavior(response_mode: 'ConnectionResponseMode | str', normal_stiffness: 'float' = 0.0, tangential_stiffness: 'float' = 0.0, rotational_stiffness: 'float' = 0.0, normal_damping: 'float' = 0.0, tangential_damping: 'float' = 0.0, rotational_damping: 'float' = 0.0, friction_coefficient: 'float' = 0.0, preload: 'float' = 0.0, clearance: 'float' = 0.0, interference: 'float' = 0.0, tensile_limit: 'Optional[float]' = None, shear_limit: 'Optional[float]' = None, torque_limit: 'Optional[float]' = None) -> None
Description
Parameters for one reduced-order connection law.
Parameters for one reduced-order connection law.
Length and force units come from the owning :class:PhysicalConnectionLayer. Translational stiffness therefore uses force/length, damping uses force*time/length, and rotational values use the corresponding moment units per radian. Relative rotations supplied to the evaluator are radians.
Other public imports
from cadflow.physical import ConnectionBehavior
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
response_mode | 'ConnectionResponseMode | str' | yes | - | Not explicitly described in the source docstring. |
normal_stiffness | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
tangential_stiffness | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
rotational_stiffness | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
normal_damping | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
tangential_damping | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
rotational_damping | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
friction_coefficient | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
preload | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
clearance | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
interference | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
tensile_limit | 'Optional[float]' | no | None | Not explicitly described in the source docstring. |
shear_limit | 'Optional[float]' | no | None | Not explicitly described in the source docstring. |
torque_limit | 'Optional[float]' | no | None | Not explicitly described in the source docstring. |
Returns
Type: None
The source docstring does not declare additional return semantics.
Errors
The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.
Data fields
| Name | Type | Default |
|---|---|---|
response_mode | 'ConnectionResponseMode | str' | required |
normal_stiffness | 'float' | 0.0 |
tangential_stiffness | 'float' | 0.0 |
rotational_stiffness | 'float' | 0.0 |
normal_damping | 'float' | 0.0 |
tangential_damping | 'float' | 0.0 |
rotational_damping | 'float' | 0.0 |
friction_coefficient | 'float' | 0.0 |
preload | 'float' | 0.0 |
clearance | 'float' | 0.0 |
interference | 'float' | 0.0 |
tensile_limit | 'Optional[float]' | None |
shear_limit | 'Optional[float]' | None |
torque_limit | 'Optional[float]' | None |
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
from_dict | class method | (cls, data: 'Mapping[str, Any]') -> "'ConnectionBehavior'" | See the member signature. |
to_dict | method | (self) -> 'dict[str, Any]' | See the member signature. |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow import ConnectionBehavior