Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 975 Bytes

File metadata and controls

39 lines (22 loc) · 975 Bytes

SpringStatic

from tdw.object_data.composite_object.sub_object.spring_static import SpringStatic

Static data for a spring sub-object of a composite object.


Fields

  • force The forcce value.

  • damper The spring damper value.

  • has_limits If True, the hinge has angular limits.

  • min_limit The minimum angle from the hinge's resting position in degrees.

  • max_limit The maximum angle from the hinge's resting position in degrees.

  • axis The axis of rotation.

  • sub_object_id The ID of this sub-object.

  • sub_object_id The ID of this sub-object.


Functions

__init__

SpringStatic(static_composite_objects, object_index, sub_object_index)

Parameter Type Default Description
static_composite_objects StaticCompositeObjects StaticCompositeObjects output data.
object_index int The object index.
sub_object_index int The index of this sub-object.