Skip to main content

Module model

Module model 

Source
Expand description

The simulation block: the motion studies of an assembly document.

The block sits at the top level of the assembly document it animates, so a study drives that document’s own mates. Each study has a duration and a frame rate (every output samples the same frames), motors and clips. Constraints and PMI views are named by id; occurrences by path (ACOMP1:ACOMP3).

Structs§

Clip
One timeline row other than a motor, active over [from, to].
Interference
Motor
A mate driven over time. Its kind (distance or angle) is the constraint’s.
Simulation
Study

Enums§

ClipBody
Drive
How a motor’s value moves.
Shape
The motion profiles a motor can follow.

Constants§

BLOCK_KEY
The document key the block is stored under.
DEFAULT_ACCEL
The default trapezoid acceleration fraction.
DEFAULT_DURATION
A new study’s duration (s) and frame rate.
DEFAULT_FPS
FPS_RANGE
The frame rates a study may run at.
MAX_DURATION
The longest study, in seconds.
SCHEMA
The block’s schema version.