Assets and Animations
This section presents examples of how digital factory models can be instantiated in terms of assets and animations.
Example 1
The first example is a 3D scene consisting of 3 identical bottles whose 3D representation file is available on an online repository.
Example 1 - Assets in Spreadsheet
The scene and assets can be instantiated as a spreadsheet according to the template.
Example 1 - Assets in JSON
Similarly, the example can be instantiated in a JSON fileexample_1.json
Example 1 - Visualization
The example can be visualized in VEB.js by importing the JSON file example_1.json
(with command 'Import Scene') or setting the URL with the path to the JSON file after ?inputscene=
(the JSON file must be available on a remote repository).
Example 1 - Animation
This example can be animated based on the proposed JSON schema with the addition of predefined sequences. File example_1_anim.json
defines the animation for one asset (bottle.1
) using an animation sequence defined in bottle_fall.txt
.
If an animation file is not paired with the scene JSON file and then automatically loaded, the animation can be manually loaded by importing the JSON file example_1_anim.json
(with command Import Animation
) and the sequence bottle_fall.txt
(with command Import Anim Sequence
).
Example 2
The second example is a 3D scene consisting of 3 workstations and 3 trolleys whose 3D representation file is available on a server.
Example 2 - Assets in Spreadsheet
The scene and assets can be instantiated as a spreadsheet according to the template.
Example 2 - Assets in JSON
Similarly, the example can be instantiated in a JSON file example_2.json
Example 2 - Visualization
The example can be visualized in VEB.js by importing the JSON file example_2.json
(with command 'Import Scene') or loading this page.
Example 2 - Animation
If an animation file is not paired with the scene JSON file and then automatically loaded, the animation can be manually loaded by importing the JSON file example_2_anim.json
that defines the animation of three assets (Trolley.1, Trolley.2, Trolley.3
) using an additive animation sequence defined in trolley_move.txt
Example 3
The third example is based on Example 2 with the addition of an animation of the camera.
This example can be visualized in VEB.js by loading this page.
Last updated