CadImporter Plugin
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.
You should upgrade to
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 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 are required for recompiling the CadImporter plugin:
- Get the Open CASCADE sources.
- Build the Open CASCADE static libraries from the source code according to the instructions.
- Set the path to the compiled libraries in the OCCTROOT 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 the <UnigineSDK>\source\plugins\Import\CadImporter, open the cadimporter_vs2015.vcxproj project and build it.
-
By using the build script:
Last update:
10.04.2020
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter