2. PROFILING


We'll spend some time on this area. The concepts are straightforward. If you can drive a dimension with geometry, why not drive geometry with dimensions? Not possible before computers, different paradigm.

Why not then drive dimensions with equations?

As we'll see later, most of the obfuscation is about 2D. All 3D VDD Systems today are history based.

CREATING CAD GEOMETRY

Example of CAD system geometry needs

All simple stuff -- basic geometry. For instance, this is how to specify a line:

Method 1: 2 end points (x1, y1, z1) AND (x2, y2, z2)

Method 2: start point, angle, length; (x1, y1, z1, alpha, L)


CONSTRAINTS


CONSTRAINTS


MORE ON CONSTRAINTS


ALGEBRAIC CONSTRAINTS

Some systems assume constraints.

For example, if d3 were 90 deg, some don't allow a change

Some systems mark the constraints on the sketch.


GEOMETRIC CONSTRAINTS

Examples:

Breaking Constraints

"Smart" cursors

How to show on the model?


INEQUALITIES

Set ref point

d1=10 and horiz

d2>=10

d2<=20

d3=45 deg

d4=??? infinite num of solns

Problem underconstrained, what's the correct answer?


A PRACTICAL INEQUALITY EXAMPLE

Design Rules:

For bolts with shank length > 6" , thread length = 2D + 1/4"

For bolts with shank length < 6", thread length = 2D + 1/2"

For bolts with shank length < 6", where the formula , thread length = 2D + 1/2" ,will exceed the shank length, threads extend to within 2-1/2 threads of the head.



LET'S LOOK AT A PROFILE

In general:

Except for implied closures


PROFILE EXAMPLE

Little more complicated

1. Ref Pt

2. A Horiz, length d1

3. B vertical, length d2

4. C horiz

5. D circle, ctr pt at G, co-linear with Line C

6. E & C co-lin.

7. angle F-120 deg

8. Line H meets d1 at Ref pt

Is this fully constrained?


PROFILE CHANGES

No. G can move left and right, need radius of D.

Suppose we decide later to move G?




Suppose we change C so its not horizontal?


EQUATIONAL AND OTHER TYPE OF CONSTRAINTS

We reviewed dimensional

Now look at equational

L1=3*L4

L2=sqrt(*2)*L3+cos(angles L3/L4)

Both of the above are single line non-conditional, also need multiline equations

L1=3: if(L4+L7)<=9; else L1=5

L1=if(L4+L7<=9) then 3 else 5

if expression in parens is true then 3

if expression in parens is false then 5


OTHER CONSTRAINT CONSIDERATIONS

Multi line expressions

Importing from spread sheets

Tables

Entity naming

Display appearance of names

Single or multiple line

Logical if-then-else statements

Inequalities

Concentric, parallel, tangent, etc.

How are constraints presented visually?


SO WE'VE EXAMINED OVER AND UNDER CONSTRAINED PROFILES

Over constrained

Under constrained

Breaking constraints

Will look at auto constraining


AUTOCONSTRAINING

Many systems imply constraints


How to imply constraints on this shape?

What if we change?

If this were a pre-existing profile:

Can the system auto build constraints?

How useful is this? Can we change them?