Link Search Menu Expand Document

A1.4 - Scene Integration

Different types of interchange files can be implemented to collect all the information of 3D assets like node hierarchies, directory paths to repositories (local or remote), transform data of elementary components (position, orientation, scale), etc.. Herein, three, equally valid approaches are proposed; refer to the associated links to obtain detailed information on how to implement each:

  • Spreadsheets: A virtual factory model and the related 3D scene can be defined inside a spreadsheet where “Context” an “Assets” are defined in 2 dedicated pages.
  • JSON: The assets composing a factory model, including the 3D scene, can be defined according to a JSON schema. JSON (JavaScript Object Notation) is a lightweight text-based data-interchange format that is easy to read/parse and write/generate both for humans and machines. It is supported by XR development platforms like Unity and Babylon.js.
  • Ontology: Assets can be defined by instantiating the Factory Data Model as an ontology Abox through a dedicated software tool like OntoGui.

Regarding the specific file format for the 3D assets themselves, .glTF is a convenient choice due to the possibility to store in a single file different types of data, from the 3D geometry to materials and textures, that will be further described in A5. There are two possibilities to obtain a .glTF file starting from CAD:

  • Export the part/assembly from a B-REP format (i.e., .STEP, .IGES) to .STL and import it as a mesh in a mesh editing tool (i.e., Blender), and export it again as .glTF.
  • Export the part/assembly from a B-REP format to .glTF from a dedicated rendering tool (i.e., Solidworks Visualize, Keyshot).

In both cases, make sure that relevant information (i.e., the positioning of origins for elementary parts) are preserved across these import/export steps. Further resources can be found here.

Input

CAD (Computer Aided Design) files in a B-REP format like .STEP or .IGES, which need to be converted to .glTF.

Interchange files containing all necessary information of 3D assets, such as node hierarchies, directory paths, and transform data of elementary components.

Output

A virtual factory model and related 3D scene defined within the chosen interchange file format (spreadsheet, JSON, or ontology).

Control

  • Consistency: Verify if the collected 3D asset information in the interchange files accurately represents the necessary components, transformations, and hierarchies.
  • Data Integrity: When converting CAD files to .glTF, check whether the relevant information (e.g., positioning of origins for elementary parts) is preserved across the import/export steps.
  • Visual Inspection: Inspect the virtual factory model and the associated 3D scene for correctness and completeness.

Resources

  • XR development platforms like Unity and Babylon.js
  • Mesh editing tool like Blender for converting formats
  • Dedicated rendering tools like Solidworks Visualize and Keyshot