CAD files

Turn your CAD models into interactive experiences

Overview

Vectary supports STEP/STP , IGES/IGS formats, which are mainly used in the CAD workflow. Once such a file is imported, its structure is converted into one or multiple NURBS objects.

A NURBS is a special object that contains NURBS geometry. Since Vectary is a mesh software, the imported NURBS geometry is automatically converted into mesh geometry. However, this transformation is procedural, which means that the quality can be changed at any time (similar to segment parameters for primitive objects).

What are the benefits of the CAD importer?

  • Using additional software to convert CAD files into Vectary is unnecessary. Simply drag and drop your created or downloaded file.

  • The quality of any part of the object can be adjusted, helping achieve a balance between polygon count and model detail. The benefit of keeping the NURBS object is that there is no need to create a new model, just to change settings.

  • Better suited for companies using CAD file workflow.

  • STEP/STP , IGES/IGS are files that allow you to export only the data you need, not the entire project.

Import

Importing can take some time (a few minutes in some circumstances).

  • When importing a file, the parameters of all objects are adjusted relative to the size of the largest object in the file.

    Import example:

    1. Small screw - high quality of detail.

    2. A whole CNC machine with many small parts - the quality of small parts will be low to avoid many polygons.

  • We recommend the size of the STEP/IGES file up to 50MB. Files exceeding this size may be processed for too long. If the file exceeds the mentioned size, it is best practice to export in standard OBJ format, import to Vectary, and use the Simplify plugin to decrease the polygon density.

  • Vectary only supports geometry that can be directly converted to polygons, meaning we do not support curves or points. We only support surfaces and polyfaces.

Vectary offers the ability to import CAD files, which can be a valuable feature. However, it is important to note that there are some limitations.

In most cases, we recommend importing files as mesh geometry (such as OBJ, FBX, GLTF, GLB, or STL). This is because STEP and IGES are old formats and there may be differences in the way each software interprets these formats, namely different object structure, geometry, and materials.

File structure

Notice that NURBS objects have the following icons in the left panel:

Imported NURBS geometry can contain multiple parts. in that case, it is imported as multiple NURBS objects under the group (the name of the group is the name of the file).

In some cases, there is the button Break apart which will change the current object to multiple parts:

Meshing management

The settings allowing for changes in the density and quality of the mesh are located on the right panel.

Default settings

These parameters can be adjusted either for an individual object or for all selected objects

It is not necessary to modify all of the values at once; instead, try to change each one a little at a time

Default values may result in distorted geometry. However, you can define the level of detail for each part of the object yourself. It is important to note that increasing the level of detail leads to an increase in the number of polygons, which results in a larger file size and can potentially affect the performance of the project.

Geometry distortion example

After changing the quality settings

Linear deflection - defines the maximum distance between the original NURBS geometry and final mesh geometry (strong impact on the polygon count).

Angular deflection - defines the maximum angle between 2 polygons (minimal impact on the polygon count).

Min edge size - defines the minimum length of the edge (average impact on the polygon count).

After changing the parameters in the upper right corner of the scene you can see the status of the recalculation:

Converting to geometry

The imported CAD file becomes a NURBS object, which in turn is a procedural object whose quality parameters can be changed at any time.

If it is necessary to edit the mesh, the object must be converted to a geometric one. At the same time you lose the ability to adjust the quality (works similarly to primitives).

Note the different icons for a NURBS object and a geometric one

Each change in quality settings is based on the original file, so you can safely experiment with the settings.

Tutorials

The whole playlist "From CAD to Vectary" (9 tutorials):

https://youtube.com/playlist?list=PLIDfmreWrOG-7qpCKmRoImBaw3jFo3JnN&si=bDP5LdQ-5D2JzMw5

Last updated