This information is for Vicon Shogun 1.7. For up-to-date help, see the latest Shogun documentation.

Vicon Shogun banner


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


reconstructChunk "pathToX2D" firstFrame lastFrame [-cal string] [-fileName string] [-appendage string] [-outputDir string] [-script string] [-scriptFile string] [-log string]



Path to required calibration file.


NameFlag argumentsArgument typeExclusive toComments
cal1stringSpecifies the calibration file to use during reconstruction.
fileName1stringSpecifies the name of the exported file.
appendage1stringSpecifies a text string to append to the output file.
outputDir1stringSpecifies the path to export the file to.
script1stringSpecifies script code to run after reconstructing.
scriptFile1stringSpecifies a script file to run after reconstructing.
log1stringSpecifies a path and file name for logging during the command operation.

Return value



// 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