Wavefront/filmbox/collada/3DS/glTF files

In this section

Importing wavefron/filmbox/collada/3DS/glTF

Exporting_glTF

Importing wavefront/filmbox/collada/3DS/glTF

WYSIWYG allows the import of models created in GL Transmission Format (.GLB) / (.GLTF), Wavefront (.OBJ), Filmbox (.FBX), Collada (.DAE), and 3D Studio Max (.3DS) for use in WYSIWYG. These models will be imported as one object, and their colors, texturing and materials will be preserved in the import.

Note: Any properties which are not supported by WYSIWYG will be lost from the model on import.

To import gl transmission format (.GLB) / (.GLTF) / wavefront (.OBJ) / collada (.DAE) / filmbox (.FBX) / 3D studio (.3DS) files

Note: This procedure creates a new WYSIWYG document from the imported object file. If you are already working in a document, you are prompted to save any changes and close the document before you import the file into WYSIWYG.

  1. From the File menu, choose Open.

Result: The Import window appears.

Import.png 

  1. In the Import window, from the File Type drop-down list, select the desired file type you want to import. Files of this type will be visible in the window.
  2. Navigate to the desired file, click the file name, and then click Open.

Result: The Scale window appears.

ScaleImport.png 

  1. From the The Model was drawn in a 3D software where drop-down list, select one of the following that describes how the software in which the object was drawn defines its 3D space.

Note: If you do not have this information, inquire with the person who created the model you are importing, or view the model in a model viewer such as to determine its orientation. You may also leave this option at its default (Z-axis points up) and if the object is not oriented correctly once imported, rotate it as required.

  1. From the The Model’s Base Point should be located drop-down list, select one of the following that describes where the base point of the object should be:
  1. To have the insertion point of the model act instead as the base point, select the Move Model Base Point to Insertion Point checkbox.
  1. In the Model is in following Scale section, select the radio next to the scale you want to use for the model.
  1. If Auto-Scale was selected, select the checkbox under the Auto-Scale radio to change how the object will be auto-scaled. Edit the auto scale as desired by editing the following fields/drop-down lists next to the radio:
  2. Scale Model to a length of [number] [units of measure] along Model’s [axis/side of model]
  1. In the Mesh Decimation section, select the Reduce Polygons in your Model to checkbox to redraw and reduce the number of polygons in the model based on the original model.

Note: Mesh Decimation is the process by which the number of polygons that make up a model/object is reduced, without altering its size and overall shape.

  1. Select from the drop-down list the percentage of polygons to reduce.
  1. In the Mesh Decimation section, select the Reduce Polygons in your Wireframe Model to checkbox to reduce the number of lines used to display the model being imported in the wireframe views.
  1. Select from the drop-down list the percentage of polygons to reduce.

Note: Choosing a low percentage will increase Wireframe view performance after geometrically complex models have been imported. However, enabling only this option (i.e., not also enabling Reduce Polygons in your Model to) will result in good Wireframe performance, but poor Shaded view performance. Therefore, if the model being imported requires decimation, it is best to enable both options and choose the same percentage value for both.

  1. Click Finish.

Result: The Import Summary window appears.

 

  1. Click OK.

Result: The object is imported into WYSIWYG.

Exporting glTF

You can export WYSIWYG files complete with textures in the GL Transmission Format (.GLTF). This option is available in the Shaded view tab in CAD mode or an active Shaded view pane in any other CAD view tab (including Custom Tabs).

In WYSIWYG, you can export the following textures to the glTF material: base color, color texture, normal map, single sided, or double sided.

When a glTF file is exported, an accompanying “.bin” file is created and any textures that were applied to objects (whether from WYSIWYG Texture Library or Image Sources) are saved as individual PNG files in the same location as the exported file. For convenience, all these files are automatically deposited into a folder of the same name as the exported glTF file.

Notes:

To export shaded view to glTF
  1. From the File menu, choose glTF Export.

Result: The GLTF Export window appears.

GLTFExport.png 

  1. In the GLTF Export window, navigate to the location where you want to save the exported file.
  2. In the File name box, type the name of the exported file.
  3. From the Save as type drop-down list, choose GLTF Files (*.gltf) type.
  4. Click Save.

Result: The shaded view is saved in glTF file format; the .gltf file, and the accompanying .bin and .png files are created in a new folder of the same name as that entered for the glTF file within the selected location.