Documentation Home
v1.22 v1.23
v1.22 v1.23

Workflow

Basic workflow: from CAD parts to a running simulation

This is the generic workflow every physics scenario follows.

Phase 1 - Scene setup

How to create a Rigid Body (3 ways):

  • a - Create a folder hierarchy in the Physics Scene Tree (right-click → Create Folder). One folder per future Rigid Body is a good habit.

    • Add parts to the folders from the PBS, using the Add to button on the folder line.

    • Convert each folder into a Rigid Body (right-click → Convert to Rigid Body).

  • b Select parts in the 3D viewports, then click on the create rigid button.

  • c select a folder in the pbs and create rigid body.

Select each folder and check in the 3D view that the correct parts are grouped under it. If not, remove/add parts until the grouping is right.


Phase 2 Object edition

  1. Edit the Rigid Body properties in the right panel: name and collision offset.

  2. Create constraints.

  3. Edit joint / snap properties (limits, damping, thresholds, breakable…).

  4. Set the object statuses (Freeze, Lock, Collidable…).

At any time in phases 1–2 you can create a State to keep a save point.

Phase 3 - Play physics

Before playing physics you must create a State or Save the scene

  1. Create a State or Save the starting situation.

  2. Click Start Physics.

  3. Adjust statuses if needed (e.g. unfreeze a body).

  4. Manipulate the Rigid Bodies in the 3D view with Grab (VR/desktop) or the Compass. Joints and snaps are respected while physics is running.

Phase 4 - Evaluation

  1. Pause / stop physics.

  2. Load a State to return to a reference situation.

  3. Did the system behave as expected? If yes, save the scene. If not, go back to phase 2, adjust properties and replay.


Kinematic chains: rules, freeze and compliance

12.1 A chain needs a root

A kinematic chain is valid when at least one of these holds:

  • one single (world) joint and one frozen Rigid Body, or

  • one fixed single (world) joint, or

  • two frozen Rigid Bodies.

Otherwise a warning is shown (Missing Kinematic Root). If you attach a Rigid Body to a chain that has no single joint marking its start, a non-blocking dialog asks you to choose one.

12.2 Automatic Freeze

Freeze is recomputed every time a joint is added to a chain:

Situation

Result

Rigid Body just created

Frozen

Body attached to another body by a joint

The parent of the joint is unfrozen

A non-fixed single joint is added to a body

Body stays frozen

A fixed single joint is added to a body

Body is unfrozen internally; visually it remains frozen and the Freeze icon is disabled (cannot be clicked)

12.3 Automatic compliance (closed loops)

When two joints arrive on the same Rigid Body:

  • one fixed + one non-fixed → compliance is applied to the fixed joint;

  • both fixed → compliance is applied to both;

  • none fixed → a dialog suggests the two joints and lets you choose.

Cardan, Cylindrical and Planar joints are never compliant.

12.4 Warnings and errors

  • Warning when a chain has no valid root (see 12.1).

  • Error if the volume of a Rigid Body could not be computed (check the geometry; mass will be wrong).


Use-case walkthroughs

Each walkthrough is a self-contained procedure. They are written to be replayed on the internal demo dataset (robot arm / assistance arm) or any CAD assembly with a few movable parts; replace part names with your own.

Note for authors: the GM datasets cannot be published. The demo dataset for the public documentation is still to be chosen (see Appendix B).

Use case 1 — Assemble a component with a snap (the core assembly test)

Goal. Check that a component (e.g. a seat) can be brought to its mounting position and clicks into place on the receiving structure.

  1. In the Physics Scene Tree, create two folders: Structure and Component. Use Add to to fill them from the PBS.

  2. Select each folder and check in 3D that the right parts are grouped. Convert both folders into Rigid Bodies.

  3. Anchor the structure: right-click Structure → Create World Joint → Fixed. Place the constraint anywhere on the structure.

  4. Create the snap: click Structure, Ctrl+click Component, right-click → Create Snap. Structure is the Receiving body, Component the Installed body.

  5. Select Snap 1 in the tree. Set the Snapping Threshold and Rotation Threshold. Position the snap frame on the mounting position. [TO VERIFY: how the snap frame is placed — Place Constraint / pick axis]

  6. Move Component away from the structure with Grab or Compass (physics OFF: the snap box stays on the structure because Structure is the Receiving body).

  7. Right-click Component → Create State, name it Start.

  8. Click Start Physics. Grab Component and bring it towards the mounting position. When it enters the snap box, it snaps; Snap 1 shows Snapped = ON.

  9. Try to pull it away: it stays. Toggle Snapped OFF in the tree (or set the snap Breakable before playing) to release it.

  10. Stop physics. Load Start to replay.

[IMAGE NEEDED: snap bounding box visible in 3D while approaching the component]

Use case 2 — Build a kinematic mechanism with joints

Goal. Reproduce a mechanism (e.g. an assistance arm: base, slider, pivot, arm rod) and verify its motion range.

  1. Create one folder per moving group (Beam, Slider Module, Pivot Module, Arm Rod), fill them, convert them into Rigid Bodies.

  2. Root: right-click Beam → Create World Joint → Fixed. The Freeze icon on Beam becomes disabled (fixed single joint).

  3. Slider: click Beam, Ctrl+click Slider Module, right-click → Create Joint → Prismatic. Place the axis along the beam. Set Min Limit / Max Limit to the travel of the slider.

  4. Pivot: click Slider Module, Ctrl+click Pivot Module → Create Joint → Hinge. Place the axis on the pivot. Add Damping if the motion should be slowed.

  5. Arm: click Pivot Module, Ctrl+click Arm Rod → Create Joint → Hinge.

  6. Check the tree: each joint appears under both bodies; the icons show parent/child direction. Swap parent/child in the right panel if a body was clicked in the wrong order.

  7. Create a State on the root folder (Rest position).

  8. Start Physics. Grab Arm Rod: the whole chain follows the joints. Lock Hinge Joint 2 to freeze the pivot and move the slider alone.

  9. Stop physics, load Rest position.

[IMAGE: Slide 16_9 - 14.png — The demo mechanism (Beam / Slider Module / Pivot Module / Arm Rod) in the tree]

Use case 3 — Full build: mechanism + component + snaps

Goal. The "real" assembly scenario: use the mechanism from use case 2 to bring a component (use case 1) into the structure, with collisions.

  1. Start from the mechanism scene (use case 2) and add the Structure and Component Rigid Bodies (use case 1).

  2. Create a snap between Arm Rod (Receiving) and Component (Installed): the component is carried by the arm.

  3. Create a snap between Structure (Receiving) and Component (Installed) at the mounting position, and mark it Breakable = OFF.

  4. Make sure Component, Structure and the arm are Collidable.

  5. State Start. Start Physics.

  6. Grab Component and bring it to the arm: it snaps to the arm. Grab the arm and move the mechanism to bring the component into the structure. Watch for collisions with the structure.

  7. When the component reaches the mounting position it snaps to Structure. Set the arm snap to Snapped = OFF (or Breakable) to release the arm and retract it.

  8. Stop, load Start, iterate on joint limits or snap thresholds if the path was not feasible.

Use case 4 — Customize the mass and material of a Rigid Body

  1. Select the Rigid Body in the tree.

  2. In Rigid Body Information, choose the Material (Steel, Aluminum, Plastic, Rubber). Density and Mass update.

  3. If the CAD volume is not representative, type the real Mass (kg) directly.

  4. Adjust Collision offset (mm) if parts interpenetrate or hover.

  5. Play physics and grab the body: heavier bodies resist more and settle differently.

Use case 5 — Exclude a part from collisions without splitting the body

  1. Select the Rigid Body.

  2. In Parts excluded from collision, add the part (or click the Collidable icon on the part line in the tree).

  3. The part is ignored by the collision envelope but still counts in the mass/inertia.

Use case 6 — Save points with States

  1. Right-click the Rigid Body (or the Folder grouping several bodies) → Create State. Rename it (Before install, After install…).

  2. Remember the restriction: no State under a Rigid Body if its parent folder already has one, and vice versa. Put States at the level that covers what you want to restore.

  3. During the session, right-click a State → Load to return to that situation. The loaded State icon changes.

Use case 7 — Review a session from the desktop (Spec View)

  1. The VR user launches the experience in XDE mode.

  2. On the desktop, open the Spectator View. The Physics Scene Tree and Start Physics button are available.

  3. The desktop user can start/stop physics, load a State, toggle Active on a Rigid Body to hide it, or select a body and move it with the Compass — the VR user sees the Compass and the result live.

  4. Both users see the same statuses in the tree.