What should be the format of the OMF V2 file. #3
-
My question is regarding the format of the OMF V2 file. Should we write all elements to the project handle? or should we create a tree structure format. Consider I have a composite element which contains multiple composite or leaf elements. So in that case is it ok to create well structured file format. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
You're right, we don't yet have any guidelines at this stage for how to store common composites of elements. The code that's in beta now does support nested structures, so we can probably start working this out. Anyone reading this, please post some of the things you would store in composite elements. |
Beta Was this translation helpful? Give feedback.
-
@Tim-Evans-Seequent is this same for the omf block model? |
Beta Was this translation helpful? Give feedback.
To avoid confusion, there is no "block model file" as such. A file can contain any number of elements, which could be a mixture of block models, surfaces, points, lines, and 2D grids. The OMF2 specification defines those elements and their attributes, but not their "meaning" or how they relate to each other. This is mostly unchanged since OMF1. It has always been up to the application and user to choose what to do with the data they import.
OMF2 does provide some new features that may help applications convey that meaning. First is free-form meta-data on the elements and attributes. Second is the "composite" geometry that creates an element that contains other elements. Your application c…