...
- mesh: It is the default geometry type. It is an uncompressed mesh format where the geometry object will be compressed on the server before storing it into the database.
eg:
Code Block borderColor Green lang xml title Example Code Block mesh: { colors: 4291993670, vertices: \[ 96.149, 179.546, ... \], faces: \[ 4,0,1,2,3, 3,4,5,6, ... \] } where,
color: array of decimal RGBA values;
vertices: plain array of 3D vertices coordinates like [x0, y0, z0, x1, y1, z1, ...
] faces: plain array of faces definitions like first number is quantity of vertices, than vertex indices list, see example.
- meshblob: It is a compressed mesh format intended to be used in the desktop CAD applications. Internal CAD format of the geometry will be converted into a bim+ compressed mesh format with the help of a DLL in order to minimize the JSON object.
eg:Code Block borderColor Green lang xml title Example meshblob: "d273f7a6a7d8f8725484fe6282..."
- threejs: It is a format which is optimized for viewing on mobile devices or in browsers where the native model is filtered and tessellated in order to deliver minimal JSON size and maximal navigation speed (FPS). This model has
format and can be directly parsed by the client.Newwindowlink title ThreeJS JSON v 3.1 url https://github.com/mrdoob/three.js/wiki/JSON-Model-format-3.1
eg:
threejs: {Code Block borderColor Green lang xml title Example threejs: { <ThreeJS_JSON_format>
}}
Note |
---|
Objects with geometry types "mesh" or "meshblob" can be written into the bim+ database, whereas the "threejs" geometry type is optimized for viewing on mobile devices or in browsers and cannot be written into the database directly. |
...