Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted by ConfluenceCloudBulkEditor.py

...

Scroll tablelayout
style
sortDirectionASC
repeatTableHeadersdefault
style
widths17%, 15%, 14%, 13%, 41%
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

NameFlag argumentsArgument typeExclusive toComments
minGap1integerSpecifies the minimum amount of frames to leave between two trajectories. The default value is 1 if not specified.
minDistance1floatSpecifies the minimum distance, in millimeters, between the end of one trajectory and the start of another trajectory to allow them to be packed next to each other. The default value is 0 millimeters if not specified.
marker1stringIf specified, only this trajectory will be packed. Otherwise all selected unlabeled trajectories will be packed.

Return value

void

Examples

...

...

// This selects and packs unlabeled trajectories in the scene and

...


// ensures that there is a 1 frame gap between each packed trajectory,

...


// and that each trajectory is 100 mm away from the end of the previous

...


// trajectory

...


selectByName "_*" -type Marker;

...


pack -minGap 1 -minDistance 100;

...


// This packs only the unlabeled trajectory _5 onto one of the

...


// selected unlabeled trajectories.

...


// It uses default values for the rest of the options

...


pack -marker _5;

Additional information

Related commands

...