This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

CadImporter Plugin

Out-of-the-box the Import System includes the CadImporter plugin that allows importing of CAD models.

To use the CadImporter plugin, just load it via the plugin_load console command or the following command line option on the application start-up:

Shell commands
-extern_plugin CadImporter

Compile CadImporter#

If you somehow change or extend the CadImporter plugin, you should recompile it before running to make the changes available.

Open CASCADE sources (ver. 7.6.3) are required for recompiling the CadImporter plugin:

  1. Get the Open CASCADE 7.6.3 sources.
  2. Build the Open CASCADE static libraries from the source code according to the instructions.
  3. Copy the compiled libraries and the include directory to D:/OpenCascade/v7.6.3/.
  4. Set the path to OpenCascade (D:/OpenCascade/) in the UNIGINE_OPENCASCADE environment variable.
  5. Compile the plugin in one of the following ways:

    • By using the build script:

      Shell commands
      C:\UnigineSDK\source>build.py --plugin CadImporter
    • Via Microsoft Visual Studio: go to <UnigineSDK>\source\plugins\Import\CadImporter, open the cadimporter_vs2015.vcxproj project and build it.
Last update: 2022-12-14
Build: ()