Assets and Animations
Last updated
Last updated
This section presents examples of how digital factory models can be instantiated in terms of assets and animations.
The first example is a 3D scene consisting of 3 identical bottles whose 3D representation file is available on an online repository.
The scene and assets can be instantiated as a spreadsheet according to the template.
Similarly, the example can be instantiated in a JSON fileexample_1.json
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).
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
).
The second example is a 3D scene consisting of 3 workstations and 3 trolleys whose 3D representation file is available on a server.
The scene and assets can be instantiated as a spreadsheet according to the template.
Similarly, the example can be instantiated in a JSON file example_2.json
The example can be visualized in VEB.js by importing the JSON file example_2.json
(with command 'Import Scene') or loading this page.
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
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.