Clara.io can import CAD files such as STEP (Standard for the Exchange of Product model data) and IGES (Initial Graphics Exchange Specification).
CAD imports can be controlled with various options available in Edit -> Preferences… -> Import -> CAD.
The first section control the display quality of the objects. Because CAD objects can end up being very large geometry once converted into triangles, it's possible to import with various level of details (LoD). Because the geometry needs to be downloaded to be displayed, a lower LoD would allow faster loadings and will allow to move the geometry in the scene to create the final scene.
Option Reduction levels, which accepts values between 1 and 6, allows to control how many more LoD should objects have, not counting the original geometry. Reduction levels set to 1 means that the geometry will be half of the quality of the original geometry (and should have relatively 50% of the amount of vertices and faces). Each extra LoD cuts in half. For example, Reduction levels set to 3 means there will be 4 LoD: 12.5%, 25%, 50% and 100%. 100% being the non-reduced geometry.
Options WebGL View and Render View allow to control what should be the default LoD to display in the editor and the renderer respectively. The values available for these options are:
- Bounding Box
- Reduced (default value for WebGL)
- Original (default value for Render)
The Bounding Box is simply a box defines the boundaries of the geometry.
Options WebGL Reduction Level and Render Reduction Level determines which LoD should be used if the View option is set to Reduced. This is a value between 0 and 1. The range between 0 and 1 is split evenly with the number of LoD. Therefore, with Reduction levels set at 3, it means that values:
- between 0 and 0.25 referer to an LoD of 12.5%
- between 0.25 and 0.5 referer to an LoD of 25%
- between 0.5 and 0.75 referer to an LoD of 50%
- between 0.75 and 1.0 referer to an LoD of 100%
Because CAD geometry is not simply defined with triangles, the various faces need to be triangulated to be easily displayed in WebGL.
The following tolerance parameters are available to control this triangulation procedure and the resulting mesh quality:
In general, smaller deviation angles and smaller minimum element sizes will increase both the quality and data size (polygon's/vertices) of the generated mesh.
Once imported, every objects is represented by a binary mesh (named BinMesh).
This allows to control how the mesh is displayed in the editor (WebGL) and the renderer. The default values are defined in the Preferences described above. It's possible to change the LoD of a specific object to see how it looks at different level of qualities.