AngularInitialCondition (hwx.inspire.motion)

Defines rotational velocity for one or more parts.

Velocity initial conditions can be used to set parts into motion immediately with a prescribed velocity. In this way no “ramp up” time is required, unlike what you see when using a velocity actuator which has a profile function that begins from a velocity of zero.

Inherits:

Attributes

active: Bool

direction: Direction

individualize: Bool

location: Location

magnitude: Double

name: Attribute

parts: Attribute

referenceFrame: Attribute

rigidGroups: Attribute

visible: Bool

Public Methods

classmethod hideICs (cls)

classmethod showICs (cls, on=True)

snapToCG (self)

Attribute Details

active : Bool

Returns or sets the object activeness.

Setting this on or off sets all children. Setting to True sets all the parents active too.

direction : Direction

Specifies the axis of rotation for the angular initial condition.

individualize : Bool

If True, angular initial condition is applied on each individual parts.

location : Location (units=”length”)

Specifies the location of the initial condition object.

magnitude : Double (units=”ang_velocity”)

Specifies the magnitude of the angular velocity.

name : Attribute

Returns or sets the name of the object.

It can be any text string, including spaces, although it’s best to avoid using the following characters: ” ‘ * ? and $.

While these characters are allowed, they could create difficulties when you export the model to other applications.

parts : Attribute

List of parts for which initial conditions are specified.

referenceFrame : Attribute

Specifies a reference system.

  • Positionable: The position of the initial condition is set using the Move tool.

  • Each CG: Each part will rotate around its own center of gravity.

  • System: The direction is dictated by the selected local system.

rigidGroups : Attribute

List of rigid group which initial conditions are specified.

visible : Bool

Determines whether the object is visible in the graphics window.

Setting this on or off sets all children. Setting to True sets all the parents visible too.

Method Details

classmethod hideICs(cls)

Hides the graphical glyphs for the initial condition objects.

classmethod showICs(cls, on=True)

Shows the graphical glyphs for the initial condition objects.

snapToCG(self)

Snaps the initial condition object to first part’s center of gravity.