This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
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)
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Animations-Related Classes
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
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

CadImporter Plugin

Warning
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to Engineering / Sim SDK edition to use it.

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 UnigineCadImporter

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: 2024-08-16
Build: ()