lecture 11 solid representations

6
1 MAE 455 Computer-Aided Design and Drafting Solid Model Representations How does the computer store solid models? MAE 455 Computer-Aided Design and Drafting 2 Types of Solid Modeling Representations • Boundary Representation (B-Rep) • Construction History Representation • Decomposition Representations

Upload: toshugo

Post on 06-May-2017

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 11 Solid Representations

1

MAE 455 Computer-Aided Design and Drafting

Solid Model

Representations

How does the computer store

solid models?

MAE 455 Computer-Aided Design and Drafting 2

Types of Solid Modeling

Representations

• Boundary Representation (B-Rep)

• Construction History Representation

• Decomposition Representations

Page 2: Lecture 11 Solid Representations

2

MAE 455 Computer-Aided Design and Drafting 3

Simplified B-Rep

Includes point coordinates

Includes surface equation

Solid Body

Shell

Face

Edge

Vertice

Edge Loop

Includes curve equation

MAE 455 Computer-Aided Design and Drafting 4

Construction History

• In a construction history, the sequence of modeling operations and their dependencies are recorded. UUUU –

Cylinder(4)

Block(1) Block(2)

Unite(3)

Subtract(5)

Page 3: Lecture 11 Solid Representations

3

MAE 455 Computer-Aided Design and Drafting 5

Construction History

(a) Flat list

Solid Model

• Block(1)

• Block(2)

• Unite(3)

• Cylinder(4)

• Subtract(5)

(b) Hierarchical list

Solid Model

• Subtract(5)

• Cylinder(4)

• Unite(3)

• Block(2)

• Block(1)

• This information can be displayed in two ways:

MAE 455 Computer-Aided Design and Drafting 6

Decomposition

Representations

• Voxel Representation

• Octree Representation

• Cellular Decomposition

Page 4: Lecture 11 Solid Representations

4

MAE 455 Computer-Aided Design and Drafting 7

Voxel Representation

In this representation a cubic volume is

divided into a three dimensional grid of

smaller cubes, known as voxels (volume

elements).

From K. Lee, “Principles of CAD/CAM/CAE Systems,” Addison-Wesley, 1999

MAE 455 Computer-Aided Design and Drafting 8

Octree Representation

• Similar to the voxel

representation, except

that the structure is

hierarchical, rather than

using an array.

• A larger cube is divided

into 8 smaller cubes only

if the larger cube contains

points both inside and

outside the solid being

approximated.

Figure from K. Lee, “Principles of CAD/CAM/CAE Systems,” Addison-Wesley, 1999

Page 5: Lecture 11 Solid Representations

5

MAE 455 Computer-Aided Design and Drafting 9

Cell Representation

• In this representation, the cells can have

any shape (don’t have to be cubes).

• Finite Elements are one example.

From K. Lee, “Principles of CAD/CAM/CAE Systems,” Addison-Wesley, 1999

MAE 455 Computer-Aided Design and Drafting 10

How Solid Boolean Operators Are Implemented

1. Split edges at intersections.

2. Determine whether each edge is inside, outside, or on the boundary of the other solid.

3. Recombine edges according to the type of the Boolean operation.Union A U B: keep “on A, out B” and “out A, on B”Subtraction A – B: keep “on A, out B” and “in A, on B”Intersection A ∩ B: keep “in A, on B” and “on A, in B”

Figure from K. Lee, “Principles of CAD/CAM/CAE Systems,” Addison-Wesley

Page 6: Lecture 11 Solid Representations

6

MAE 455 Computer-Aided Design and Drafting 11

Non-manifold Solids

• Many modeling errors occur from inadvertently trying to

create non-manifold solids in a modeling operation.

• In a manifold solid, every point on a surface is locally

two-dimensional. (A bug traveling on the surface can always move

forward, backward, left, and right.)

• Here are some problematic non-manifold models:

Figure from K. Lee, “Principles of CAD/CAM/CAE Systems,” Addison-Wesley