/
reconstructChunk
reconstructChunk
Description
Reconstructs a portion of an X2D file without the file and cameras needing to already exist in the scene. Options allow calibration file to be specified, scripts to be run before or after calibration, and various export options to be set.
Functional area
Data editing
Command syntax
Syntax
reconstructChunk "pathToX2D" firstFrame lastFrame [-cal string] [-fileName string] [-appendage string] [-outputDir string] [-script string] [-scriptFile string] [-log string] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
pathToX2D | Path to required calibration file. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
cal | 1 | string | — | Specifies the calibration file to use during reconstruction. |
fileName | 1 | string | — | Specifies the name of the exported file. |
appendage | 1 | string | — | Specifies a text string to append to the output file. |
outputDir | 1 | string | — | Specifies the path to export the file to. |
script | 1 | string | — | Specifies script code to run after reconstructing. |
scriptFile | 1 | string | — | Specifies a script file to run after reconstructing. |
log | 1 | string | — | Specifies a path and file name for logging during the command operation. |
Return value
void
Examples
// Divide up a long reconstruction reconstructChunk "Take1.x2d" 0 2005 -fileName "Chunk1.c3d"; reconstructChunk "Take1.x2d" 2000 4005 -fileName "Chunk2.c3d"; reconstructChunk "Take1.x2d" 4000 6005 -fileName "Chunk3.c3d"; reconstructChunk "Take1.x2d" 6000 8005 -fileName "Chunk4.c3d"; reconstructChunk "Take1.x2d" 8000 10000 -fileName "Chunk5.c3d"; reassemble "Chunk1.c3d" "Chunk2.c3d" "Chunk3.c3d" "Chunk4.c3d" "Chunk5.c3d";
Additional information
Related commands
, multiple selections available,