===================================== InitialCondition (hwx.inspire.motion) ===================================== Represents the velocity of parts/rigid groups at the beginning of the simulation. Inherits: - :ref:`MotionObject (hwx.inspire.motion)` ---------- Attributes ---------- +----------------------------+----------------------------+----------------------------+ | active_: Bool | direction_: Direction | location_: Location | +----------------------------+----------------------------+----------------------------+ | magnitude_: Double | name_: Attribute | parts_: Attribute | +----------------------------+----------------------------+----------------------------+ | referenceFrame_: Attribute | rigidGroups_: Attribute | visible_: Bool | +----------------------------+----------------------------+----------------------------+ ---------- Properties ---------- +-----------+-----------+ | position_ | velocity_ | +-----------+-----------+ -------------- Public Methods -------------- +-------------------------------------+ | classmethod hideICs_ (cls) | +-------------------------------------+ | classmethod showICs_ (cls, on=True) | +-------------------------------------+ | snapToCG_ (self) | +-------------------------------------+ ----------------- Attribute Details ----------------- .. _active: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ active : :ref:`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 : :ref:`Direction ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the direction of the initial condition object.. .. _location: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ location : :ref:`Location ` (units="length") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the location of the initial condition object. .. _magnitude: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ magnitude : :ref:`Double ` (units="velocity") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies the magnitude of the initial velocity. .. _name: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ name : :ref:`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: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ parts : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ List of parts for which initial conditions are specified. .. _referenceFrame: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenceFrame : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Specifies a reference system. - Positionable: The position of the initial condition is set using the Move tool. - System: The direction is dictated by the selected local system. .. _rigidGroups: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rigidGroups : :ref:`Attribute ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ List of rigid group which initial conditions are specified. .. _visible: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ visible : :ref:`Bool ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Determines whether the object is visible in the modeling window. Setting this on or off sets all children. Setting to True sets all the parents visible too. ---------------- Property Details ---------------- .. _position: .. method:: position Specifies the position of the initial condition object. .. _velocity: .. method:: velocity Returns and sets the initial velocity of the object. -------------- Method Details -------------- .. _hideICs: .. classmethod:: hideICs(cls) Hides the graphical glyphs for the initial condition objects. .. _showICs: .. classmethod:: showICs(cls, on=True) Shows the graphical glyphs for the initial condition objects. .. _snapToCG: .. method:: snapToCG(self) Snaps the initial condition object to first part's center of gravity.