| Chapters | Running the Example Application >>> |
The example application demonstrates a very simple Parasolid-powered application within a Windows framework. It is built using the Microsoft Visual C/C++ development environment within an MFC framework, and uses OpenGL for display to the screen. The application is intended as a framework within which to demonstrate various aspects of Parasolid, and does not form a complete example of how to write a Parasolid-powered application.
Within the framework of the application, you can add and execute Parasolid application code (i.e. code that includes calls to Parasolid functionality), and display the results on screen. The code you add can either be executed all at once or in stages, using a
case
statement. At the end of each stage the contents of the Parasolid session are displayed to screen.
The files required for the Example Application can be found on the Parasolid CD for PC Platforms, in the
EXAMPLE_APPLICATION
folder. You will need a ZIP utility such as WinZip in order to extract the files from the archive.
To install the Example Application on your computer:
\EXAMPLE_APPLICATION\EXAMPLEAPP.ZIP
on the CD.See Section 1.2 for instructions on building the Example Application using the extracted files.
You need Microsoft Visual C++ Version 6.0 with Service Pack 4 to successfully compile and run this application. The example application has been built on the latest FCS version of Parasolid and requires that version or later, and uses the OpenGL graphics library for displaying part models.
For the executable to run successfully please ensure that your display color setting is set to "true color".
To load the project into MSVC++, open the file
Source\Example App.dsw
.
To build the Example Application for the first time, choose Build > Rebuild All. Rebuilding the whole project removes any anomalous compilation errors that may be present on first extracting the files from the archive.
| Chapters | Running the Example Application >>> |