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
-
Edit the Rigid Body properties in the right panel: name and collision offset.
-
Create constraints.
-
Edit joint / snap properties (limits, damping, thresholds, breakable…).
-
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
-
Create a State or Save the starting situation.
-
Click Start Physics.
-
Adjust statuses if needed (e.g. unfreeze a body).
-
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
-
Pause / stop physics.
-
Load a State to return to a reference situation.
-
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.
-
In the Physics Scene Tree, create two folders:
StructureandComponent. Use Add to to fill them from the PBS. -
Select each folder and check in 3D that the right parts are grouped. Convert both folders into Rigid Bodies.
-
Anchor the structure: right-click
Structure→ Create World Joint → Fixed. Place the constraint anywhere on the structure. -
Create the snap: click
Structure, Ctrl+clickComponent, right-click → Create Snap.Structureis the Receiving body,Componentthe Installed body. -
Select
Snap 1in 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] -
Move
Componentaway from the structure with Grab or Compass (physics OFF: the snap box stays on the structure becauseStructureis the Receiving body). -
Right-click
Component→ Create State, name itStart. -
Click Start Physics. Grab
Componentand bring it towards the mounting position. When it enters the snap box, it snaps;Snap 1shows Snapped = ON. -
Try to pull it away: it stays. Toggle Snapped OFF in the tree (or set the snap Breakable before playing) to release it.
-
Stop physics. Load
Startto 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.
-
Create one folder per moving group (
Beam,Slider Module,Pivot Module,Arm Rod), fill them, convert them into Rigid Bodies. -
Root: right-click
Beam→ Create World Joint → Fixed. The Freeze icon onBeambecomes disabled (fixed single joint). -
Slider: click
Beam, Ctrl+clickSlider Module, right-click → Create Joint → Prismatic. Place the axis along the beam. Set Min Limit / Max Limit to the travel of the slider. -
Pivot: click
Slider Module, Ctrl+clickPivot Module→ Create Joint → Hinge. Place the axis on the pivot. Add Damping if the motion should be slowed. -
Arm: click
Pivot Module, Ctrl+clickArm Rod→ Create Joint → Hinge. -
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.
-
Create a State on the root folder (
Rest position). -
Start Physics. Grab
Arm Rod: the whole chain follows the joints. LockHinge Joint 2to freeze the pivot and move the slider alone. -
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.
-
Start from the mechanism scene (use case 2) and add the
StructureandComponentRigid Bodies (use case 1). -
Create a snap between
Arm Rod(Receiving) andComponent(Installed): the component is carried by the arm. -
Create a snap between
Structure(Receiving) andComponent(Installed) at the mounting position, and mark it Breakable = OFF. -
Make sure
Component,Structureand the arm are Collidable. -
State
Start. Start Physics. -
Grab
Componentand 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. -
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. -
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
-
Select the Rigid Body in the tree.
-
In Rigid Body Information, choose the Material (Steel, Aluminum, Plastic, Rubber). Density and Mass update.
-
If the CAD volume is not representative, type the real Mass (kg) directly.
-
Adjust Collision offset (mm) if parts interpenetrate or hover.
-
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
-
Select the Rigid Body.
-
In Parts excluded from collision, add the part (or click the Collidable icon on the part line in the tree).
-
The part is ignored by the collision envelope but still counts in the mass/inertia.
Use case 6 — Save points with States
-
Right-click the Rigid Body (or the Folder grouping several bodies) → Create State. Rename it (
Before install,After install…). -
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.
-
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)
-
The VR user launches the experience in XDE mode.
-
On the desktop, open the Spectator View. The Physics Scene Tree and Start Physics button are available.
-
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.
-
Both users see the same statuses in the tree.