Kernel SDK Developer's Guide > Getting Started Using Kernel SDK > Using Kernel Sample Applications > Example of Dumping B-Rep Data from a .sat File
Example of Dumping B-Rep Data from a .sat File

Summary

ODA Product: ODA Kernel SDK
Sample Name: SATBrepSample
Categories: C++ / Beginner / Working with .sat files / Android, iOS, macOS, Linux, Windows
Source Code Location: Kernel/Examples/SATBrepSample

Description

A console sample application that reads a specified .sat or .sab file and dumps its content to the terminal window.

Run Sample Application

To run the SATBrepSample sample application, please do the following:

  1. Open the terminal window and go to the directory where the sample binary file is allocated:
    • For Windows® platforms: <KERNEL_DIR>\exe\<version>
    • For Non-Windows platforms: <KERNEL_DIR>/bin/<version>

    <KERNEL_DIR> is a directory where you unpacked the Kernel archive.

    To determine your <version> parameter, please see the appropriate section in the Download Kernel SDK topic.

  2. Run the sample with appropriate arguments:
    
                SATBrepSample <filename>
              
    filename The input .sat or .sab file to be dumped.

If the application executed properly, you will see the initial menu on your terminal screen:

Below you can see an example of the program output when the user selects one of the main menu items:

See Also:

ODA Kernel SDK Sample Applications

Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.