Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 877 Bytes

File metadata and controls

37 lines (21 loc) · 877 Bytes

HingeStatic

from tdw.object_data.composite_object.sub_object.hinge_static import HingeStatic

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


Fields

  • 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.



Functions

__init__

__init__

HingeStatic(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.