Creating and Modifying Models
List of: Discussion Topic
Subjects: Examples
Contents: Getting Started Guide

This chapter provides examples to familiarize you with using ACIS to create and modify meaningful models. The examples are written in Scheme, and intended for use in the Scheme AIDE application.

For many C++ programmers, the prospect of learning and using Scheme may at first seem counter-productive. However, as you embark into the realm of 3D solid modeling with ACIS as your engine, the Scheme AIDE application can prove to be an invaluable tool. First, modeling concepts--whether very basic or somewhat advanced--can be tested without having to code and compile C++ applications. Secondly, the source code for all Scheme extensions is provided. Therefore, if you can do it in Scheme, you already have a working prototype of how to accomplish the same task in C++.

The examples in this chapter produce results that are readily visible because the Scheme AIDE application has a graphical interface that provides viewport and rendering control.

Flow of Examples

This chapter begins by creating simple line (edge) entities that can be viewed, saved, and restored. Edges are then connected into a wire body; then, the wire body is offset, etc. In general, each example builds on the previous example, and the chapter is written assuming you'll go from one example to the next.

The general flow of the examples in this chapter is:

Creating edges
Offsetting wire bodies
Creating surfaces
Creating solids
Modifying models
Analyzing models (geometric analysis and physical properties)

SAT Files

ACIS models can be saved to a disk file known as a part save file, for later retrieval. They can be saved in either text mode (file extension .sat) or binary mode (file extension .sab). The part save file is also known as a SAT file (whether text or binary mode). Refer to the Kernel Component Manual for information about save files.

The Scheme examples in this chapter save their results to SAT files in text mode (.sat). The SAT files for the examples are named tmp<name>.sat, where <name> is the description of the example abbreviated.
PDF/GET/08CREAT.PDF
HTM/DATA/ACIS/GET/08CREAT/0000.HTM