This section describes the basic workflow of creating your first console application with Facet Modeler.
The application is developed for the Win32 platform with Microsoft® Visual Studio® 2017 (Visual C++ 11) and provides the following functionality:
Creates body primitives and performs a slicing operation.
Writes the results to a file specified by the user.
Prerequisites
Before creating, building and running the application, download and unpack the Kernel archive, which contains the Facet Modeler library.
If you use trial archive versions, you also need to activate the appropriate ODA products.
To get details about obtaining, deploying and activating trial versions, please see
ODA Trial Version Getting Started Guide.
It is assumed that this first application project will be added to the Facet Modeler sample application solution that is provided with the archive
(Kernel_vc15dll_ex.sln).
This solution can be found in the <KERNEL_DIR>\Platforms\vc15dll\ folder.
The application source code file will be placed in the <KERNEL_DIR>\FacetModeler\Examples\FirstApp\ folder.
The application source code file, resource file and other necessary files are organized as a Visual Studio 2017 Win32 project.
Project files should be located in the <KERNEL_DIR>\Platforms\vc15dll\FacetModeler\Examples\FirstApp\ folder.
<KERNEL_DIR> is the location where you unpacked the Kernel archive.
To create your first application using Facet Modeler, see the following topics: