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:
-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:
- Get the Open CASCADE 7.6.3 sources.
- Build the Open CASCADE static libraries from the source code according to the instructions.
- Copy the compiled libraries and the include directory to D:/OpenCascade/v7.6.3/.
- Set the path to OpenCascade (D:/OpenCascade/) in the UNIGINE_OPENCASCADE environment variable.
-
Compile the plugin in one of the following ways:
-
By using the build script:
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
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)