Manual Unigraphics NX - 13 Sketching
Manual Unigraphics NX - 13 Sketching
Manual Unigraphics NX - 13 Sketching
Sketching
Lesson 13
PURPOSE
OBJECTIVES
13
Create a sketch.
Identify constraints.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-1
Sketching
What is a sketch?
A sketch is a feature that is intended to contain a collection of two dimensional
curves. Using a set of rules applied by the user, a sketch parametrically controls
the two dimensional profile. These rules, called constraints, constitute the
essence of constraint based modeling, a very powerful portion of Unigraphics
solid modeling.
Profiles may be used to produce extruded or revolved features, or to define
sections for free form features such as a swept feature or a through curves
lofted surface.
A profile may contain some, all, or none of the constraints required to fully
capture the design intent. Dimensional and geometric constraints may be used to
establish a design intent as well as provide the ability to perform parameter
driven changes.
Geometric relations may be established between the curves within a profile as
well as with curves in other profiles and model geometry such as edges or
datums.
13
13-2
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Why sketch?
Sketched profiles possess a higher level of control over features, thus
automating the propagation of changes. The most obvious reason for sketching
is when a design intent is well known and constraints can be quickly applied to
capture that intent. Another reason is when there is a need to iterate through a
number of various solutions to validate a certain design intent.
Once a sketch is placed on a face or datum plane, it will automatically move
when the position of the placement face/datum is changed. Since sketches do
not require constraining, this approach is the quickest way to build features and
still have a sufficient level of associativity.
The inherent ability to solve a sketch in real time means that, as rules are
applied, the sketch objects change and move to reflect the effect that the
assigned rule has on the geometry. This gives the user the ability to quickly
change profiles of features created using sketch curves.
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-3
Sketching
13
13-4
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
When there is a commonly used shape that varies in size from part to part, a
sketch as part of a user defined feature should be considered.
Sketches may be used as base features of a model if the shape lends itself to
extruded or revolved geometry.
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-5
Sketching
Sketches may be used in a number of different ways. Consider them for guide
paths for swept features, or as section curves for free form features.
The added advantage of being able to quickly and easily change the geometry
based on rules that the designer applies should be a large part of the
determination of when to sketch.
13
An important aspect of modeling that helps the user decide when to use a
sketch is defining the design intent of the model. The design intent consists of
two items:
As a general rule, the more design considerations and potential areas for
change, the more likely there are benefits from sketching.
13-6
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-7
Sketching
13
13-8
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
1 Sketch Plane
5 Datum Plane
2 XC-YC Plane
6 Datum CSYS
3 YC-ZC Plane
7 OK
4 XC-ZC Plane
8 Cancel
13
XC-YC Plane
ZC-YC Plane
ZC-XC Plane
Datum CSYS
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-9
Sketching
After the plane is chosen the plane is highlighted in the graphic window. You
to accept and enter the sketcher function. The sketch
then chose OK
plane is then oriented normal to the graphics screen.
13
Choose OK.
13-10
Choose OK.
Choose OK.
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Desired
Horizontal
Direction
YC
ZC
Vertical Reference
XC
13
Resultant
Sketch Orientation
To specify a new direction, select the axis to redirect then select a straight
edge. The straight edge is projected to the sketch plane to define the new
direction.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-11
Sketching
Naming a Sketch
The system requires a unique name for each sketch, and therefore will select
the next available sketch name in the queue as the default. The system default
from Unigraphics is SKETCH_###" where the pound signs are replaced by
the next available number counting up from 000 (SKETCH_000, SKETCH_001,
etc.). A sketch name may be defined during or after the sketch has been
created by clicking on the default sketch name and then typing in the new
name.
13
TIP
13-12
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Select the Sketch icon and from the Sketch Name pulldown, select the
desired sketch.
Choose TaskFinish.
EDS
All Rights Reserved
13
Practical Applications of
Unigraphics Student Manual
13-13
Sketching
13
XC-YC Plane
ZC-YC Plane
ZC-XC Plane
Datum CSYS
13-14
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Choose Sketch.
Choose OK.
13
Choose Finish.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-15
Sketching
Choose Sketch.
13
Horizontal
Reference
The 2D sketch plane indicator appears and the XAxis is active (highlighted).
Choose OK.
13-16
Choose Line.
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Click here . . .
then
Click here.
Choose Finish.
Step 7 Change the orientation of the face that defines the sketch
plane.
Choose Tools"Expression.
Choose OK.
Rotate the part and notice how the line remained associative
to the face.
Choose Sketch.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-17
13
Sketching
13
Choose OK.
The 2D sketch plane indicator appears and the XAxis is active (highlighted).
13-18
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Horizontal
Reference
Choose OK.
Choose Finish.
EDS
All Rights Reserved
13
Practical Applications of
Unigraphics Student Manual
13-19
Sketching
13
13-20
Choose Finish.
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Choose Sketch.
13
Choose Finish.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-21
Sketching
13
Line
Arc
Circle
Perpendicular
Midpoint
Tangent
Horizontal
Parallel
Coincident
Collinear
Point on
Curve
Equal
Radius
Point on
String
Concentric
Equal
Length
As you create the curves a symbol will appear near the curve being created to
represent the constraint that will be applied, if any.
13-22
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Locking a Constraint
When a constraint symbol appears during curve creation you may lock in that
constraint by pressing MB2. For example, you are creating a line and the
parallel symbol appears, you press MB2. Now as you move the cursor, the new
line that is rubber banding, is doing so parallel to the reference curve.
Snap Angle
The snap angle is a global preference set in the Sketch Preferences dialog box
that is applied any time curves are being created. It is used to snap" a line to
horizontal or vertical. When creating lines outside of the sketcher, snap angle is
only applied when using inferred cursor location. The default snap angle is set
to 3 and is user definable between 0 and 20. This angular tolerance is
defined on either side of horizontal or vertical from the first specified location,
effectively creating a 6 tolerance zone by default.
13
Snap Angle
When the Infer Point toolbar is active, regardless of the point types turned on,
Cursor Location is always available.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-23
Sketching
Existing
Curve
Alignment
Lines
13
Profile Tool
The Profile tool allows creation of a string of lines and arcs, without having to
specify a start for each curve after the first curve is created. Profile is accessed
on the Sketch Curve tool bar.
The icons at the upper left corner of the graphics screen allow you to switch
between lines and arcs, and allow you to switch between entering X-Y
locations and entering parameters.
Arc
Line
XY
13-24
Practical Applications of
Unigraphics Student Manual
Parameters
EDS
All Rights Reserved
Unigraphics NX
Sketching
Line creation
X-Y location
Once you have created the first curve (line or arc), the system will revert to
creating a line. You can change this any time you wish.
You can also switch to arc creation by using press-drag-release with MB1.
The circle-X" symbol controls the direction in which the arc will be created.
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-25
Sketching
If the desired arc is in the wrong direction, re-cross the end of the line (with
the cursor), and exit in a different quadrant of the symbol.
Circle-X
Symbol
Arc originating
from top quadrant
13
As you are creating curves with the profile tool, the string mode can be broken
by clicking MB2.
Creating Lines
13-26
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Once in line creation, the icons in the upper left corner of the graphics screen
give you two options: Location (by cursor location or entering an X-Y
location), and entering parameters.
Locate the start, and then enter the length and angle parameters.
Locate the start, enter one parameter, and then locate the end.
Once you indicate a start location, the system will switch to the Parameters
mode. But you can still give an end location without changing back to XY.
Creating Arcs
Arc creation is accessed by choosing the Arc icon
tool bar.
Once in arc creation, the icons in the upper left corner of the graphics screen
give you two sets of options. The first is creation method, and the second is for
the XY-Location/Parameters choice.
Locate the start, locate the end, and then locate a point on the arc.
Locate the start, enter a radius value and press Enter, locate the end
point and then determine which of the 4 options you wish to create.
The same as the previous, but enter the radius value after locating the
end point, but before the point on arc.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-27
13
Sketching
Locate the center, locate the start point, and locate the end point. (The
start point location determines the radius.)
Locate the center, locate the start point, enter a radius value and press
Enter, locate the end point.
Locate the center, enter radius and sweep angle values and press Enter,
locate the start of the sweep, and locate the direction for the sweep.
Once you indicate a first location, the system will switch to the Enter
Parameters mode. But you can still give a location without changing back to
XY.
Creating Circles
13
on the Sketch
Once in circle creation, the icons in the upper left corner of the graphics screen
give you two sets of options. The first is creation method, and the second is for
the location/parameters choice.
13-28
Locate the center, and then locate a point on the circumference of the
circle.
Locate the center, enter a radius, and press Enter. The circle is created.
You are then in multiple circle creation mode - just indicate another
location for a circle center.
Locate the center, drag the radius until you get the size you want. Press
Enter. The circle is created, and you are in multiple circle creation mode.
Indicate another center.
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Locate two points on the circumference of the circle, enter a radius value
and press Enter, then choose which of the two options you want by cursor
location.
Once you indicate a first location, the system will switch to the enter
Parameters mode. But you can still give a location without changing back to
XY.
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-29
Sketching
13
Choose OK
13-30
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Choose OK.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-31
13
Sketching
Now notice that as you move the cursor around the rubberbanding line
remains horizontal.
13
Hold MB1 down and drag the cursor straight up from the
end point of the last line and then release.
13-32
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Next you will create another arc just like the first one, but you will use a
different method.
Hold MB1 down and drag the cursor up and to the right
from the end point of the last line and then release.
13
Key in 180 for the Sweep Angle and press Enter. Click in the
graphic window to apply.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-33
Sketching
Key in 145 for the Sweep Angle and press Enter. Click in the
graphic window to apply.
13
13-34
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
13
Key in 90 for the Sweep Angle and press Enter. Click in the
graphic window to apply.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-35
Sketching
13
13-36
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
13
Close the profile by selecting the end point of the first line.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-37
Sketching
Choose Finish.
13
13-38
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Creating Fillets
Fillet creation is accessed by choosing the Fillet icon
tool bar.
Once in fillet creation, there is a single icon in the upper left corner of the
graphics screen. It is for controlling whether or not the original curves are
trimmed.
You can create fillets between lines, arcs or conics. You can also create a fillet
between two parallel lines.
There are several methods for creating Fillets:
Select two curves with a single selection (at their intersection), and then
drag the size and quadrant.
Select two curves individually, and drag the size and quadrant.
Select one curve, enter a radius value, and select the second curve.
Select two curves individually, enter a radius value, and the indicate the
desired quadrant.
Drag (with MB1) across the two curves you want to fillet. The size of the
fillet is governed by where the curves are selected.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-39
13
Sketching
Quick Trim
will trim any curve to the closest curve in the sketch. The
system will preview the results in pre-selection color.
You can also trim multiple curves at one time, by using the crayon" select
method. Hold down MB1 and drag across the portion of curves you want to
trim away.
13
You can also select a specific curve to trim to, by using ctrl-select to select the
desired boundary curve.
You can also select more than one bounding curve using the ctrl-select
method.
13-40
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
In the example below, both the arc on the left and the spline on the right were
control-selected as boundary curves. With the cursor on the top line, (between
the two boundary curves), the center section is previewed as the portion to be
removed.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-41
13
Sketching
Quick Extend
Quick Extend
will extend lines, arcs and conics to the closest curve in the
sketch. The system will preview the results in pre-selection color.
The curve being extended must extend to an actual intersection with the
boundary curve.
13
You can extend multiple curves at one time, by using the crayon" select
method. Hold down MB1 and drag across the ends of curves you want to
extend.
Before
After
You can also select specific boundary curves by using the control-select
method.
As with Quick Trim, when you use Quick Extend, appropriate constraints are
automatically created.
13-42
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-43
Sketching
Drag the cursor around the screen and notice that you can
select which quadrant you want.
13
Step 6 Create a four millimeter fillet using lines L16 and L17,
with a single select, and this time do not trim the lines
being filleted.
13-44
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
With MB1 held down, drag across the two lines as below:
(This is another method of selecting the curves to be filleted.
The curves crossed with the crayon" are the curves
selected.)
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-45
13
Sketching
Step 8 Create another fillet between lines L18 and L20 by using
the crayon", but his time do NOT use a radius value.
13
Step 9 Create a fillet between lines L18 and L19, and drag the
size and quadrant.
13-46
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Choose Finish.
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-47
Sketching
13
Choose Sketch.
Choose OK
13-48
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Choose OK.
13
Choose Profile.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-49
Sketching
Choose Fillet.
2
3
13
A fillet is created and the lines are trimmed to the tangent points. The system
also displays tangent symbols at the 2 tangent points.
13-50
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
3
1
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-51
Sketching
The 1 inch radius fillet was created and the lines trimmed to the tangent points.
13
13-52
Toggle Coincident
Choose OK.
Practical Applications of
Unigraphics Student Manual
on.
EDS
All Rights Reserved
Unigraphics NX
Sketching
Choose Circle.
13
Move the cursor over and along the arc on the left side of the
profile, until the arc center symbol (1) appears, then click
and drag to create a circle with a diameter of approximately
0.75.
The system now will infer a constraint of coincident between the arc and the
circle.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-53
Sketching
13
Create the circle for the opposite side using the same
method.
The sketch of the profile is now complete. The shape and design intent will be
further refined in a later activity with the application of dimensional and
geometric constraints.
Choose Finish.
Choose OK.
13-54
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-55
Sketching
13
13-56
Hold MB1 down and drag the cursor across the 2 curves as
shown below.
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
3
4
2
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-57
13
Sketching
The status line informs you that the system cannot extend the curve. This is
because there is no other curve that would intersect with the arc.
13
This time notice how the system provides a preview of the extension.
Choose Finish.
13-58
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Sketch Points
Sketch objects are defined by theoretical points. A line, for instance, is defined
by two points. The sketcher attempts to mathematically solve for the location of
the points by analyzing the constraints (rules) that are placed on objects.
The points that the sketch solver analyzes are referred to as sketch points. By
controlling the locations of these sketch points the line itself may be controlled.
There are various ways to control these points. The sketch points associated
with different types of curves are illustrated in the graphic below.
Fillet
Line
Arc
Circle
Spline
13
Point
Ellipse
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-59
Sketching
These arrows provide visual feedback to the user while in the process of
constraining the sketch.
(no display)
Undefined in X and Y
Directions
Undefined in Y
Direction only
Undefined in X
Direction only
Defined in X
and Y Directions
The system removes DOF arrows as rules are written that define the location of
the sketch points.
13
13-60
Arc - Arcs have sketch points at the center and at either end. These
sketch points as well as the radius of the arc may be defined if the user so
desires.
Circle - Circles may have the center point as well as a radius or diameter
defined.
Ellipse -An ellipse may have the location of its center defined; also, the
parameters for the size and orientation of the ellipse are stored for future
editing.
Line - Lines may have the sketch points at either end defined.
Spline - Degree three splines may have their defining points located.
Slopes of the spline at the defining points may also be defined. Splines
that are of a degree other than three may be added to sketches; however,
since their defining points are not located at their knot points, there is no
way to locate their defining points using constraints.
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Constraining Sketches
Design Intent
The power in sketching is derived from the ability to capture design intent. This
is accomplished by setting up rules that dictate how sketch objects will react to
changing input. These rules are called constraints. As many or as few constraints
as necessary may be applied to cause the sketch profile to update in the manner
desired. Unigraphics sketches are not required to be fully constrained. A group
of these rules may be thought of as a constraint set. The constraint set is
comprised of two types of constraints, dimensional and geometric and are
accessed from the Sketch Constraints tool bar.
13
Create Constraints
Dimensions
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-61
Sketching
You can use the dialog to create and edit dimensions, as well as change some of
the preferences.
There are nine icons located near the top of the dialog box. The top lefthand
icon is the most useful as it infers the dimension type based on the objects that
are selected and where their dimension text is located. It is also the default
icon. The other eight icons are supplied for times when the system is unable to
infer the desired dimension type. These different options are filters" that when
selected will only allow a specific dimension type to be created. Because of this,
certain types of geometry may not be selectable if they do not coincide with the
dimension type selected.
13
As dimensional constraints are being created, the dimension, its extension lines,
and arrows are displayed as soon as the geometry has been selected. Drag the
dimension to the desired location and place it by clicking the left mouse button.
During some dimensioning the system infers a dimension type before all of the
geometry has been selected. In these instances continue to select geometry until
the correct dimension type is displayed, or select the icon for the dimension
type desired and reselect the geometry.
13-62
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Enter new
name
Below the value slider are two option menus for manipulating the appearance
of the dimensional constraint.
The lefthand option menu is for defining how the text and arrows of the
dimensional constraint will be displayed. Options are for automatic text
placement where the system decides the appearance, manual text placement
with the arrows inside the extension lines, or manual text placement with the
arrows outside the extension lines.
Auto Placement
Manual Placement,
Arrows In
Manual Placement,
Arrows Out
The righthand option menu is for defining whether the dimension's leader is
attached to the right or left of the dimension text.
Leader From Left
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-63
13
Sketching
Both of these option menus may be used before, during or after dimension
creation.
Text Height
The display height of the dimension text is controlled by the text entry field at
the bottom of the dialog box. This value may be changed any time the
Dimensions dialog box is active.
The default value is .150 inches. There are no limits to values for this field.
Modifying this value changes all the dimensional constraints in the active
sketch.
13
YC
ZC
.500
13-64
Practical Applications of
Unigraphics Student Manual
XC
4.000
EDS
All Rights Reserved
Unigraphics NX
Sketching
YC
2.000
ZC
XC
.500
.500
1.23
Line endpoints
selected for
.500 dimension
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-65
13
Sketching
.8502
.6302
13
p0=45.507
13-66
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Radius - Used to filter the system to specify a radial size constraint for an
arc or circle. Only arcs and circles may be selected with this method.
R p4=0.250
13
p1=2.568
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-67
Sketching
To edit the value, simply double click on the dimension and edit the value
in the text box and press Enter.
Additional editing that may be done with the Dimensions dialog as listed below:
Value - Enter a new value in the text entry field or use the slider.
Position - Click and hold the left mouse button to drag the dimension to
its new position.
Text placement method - Select a different option from the option menu.
Text height - Enter a new text size in the text entry field.
13
Delay Evaluation
At times it is advantageous not to have the geometry change until all of the
dimensional constraints have been modified. The Delay Evaluation is a toggle
on the Sketch tool bar that controls this condition.
Evaluate Sketch
The Evaluate Sketch button is provided so that the user may control sketch
evaluation when the Delay Evaluation toggle is on. Sketches are evaluated
automatically when the Constraints dialog box is exited.
Update Model
The Update Model icon located on the Sketch tool bar may be used to force the
model to update without leaving the sketch function.
13-68
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
13
activates the process of creating constraints.
Constraints are created by selecting the geometry, and then choosing the
desired constraint icon from the upper left corner of the graphics screen. Only
icons for constraints that are possible for the selected curves will be displayed.
If you wish to assign multiple constraints at one time, you can control-select
the objects. Then the icons for constraints will remain on the screen after you
choose the first constraint. You can use MB2 to cancel creation of constraints .
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-69
Sketching
Listed below are all the possible constraints and their respective icon.
13
Fixed
Constant Angle
Collinear
Concentric
Horizontal
Tangent
Vertical
Equal Radius
Parallel
Coincident
Perpendicular
Point on Curve
Equal Length
Midpoint
Constant Length
Point on String
Sometimes, when the curves are very small on the screen (the view is zoomed
out), the symbols may not be displayed. You may need to zoom in to see them.
The following is a definition of each of the available geometric constraints:
Coincident - Defines two or more points as having the same location.
Collinear - Defines two or more linear objects as lying on or passing through
the same theoretical straight line.
13-70
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Arc or circle - defines the radius and the location of the centerpoint.
Arc center, elliptical arc center, circle center, or ellipse center - locates
the centerpoint.
Spline - removes all of its rigid DOFs (it cannot be rigidly rotated or
rigidly dragged).
13
Mirror - Defines two objects as being mirror images of each other. This
constraint is automatically created when the mirror function is used. It cannot
be created manually.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-71
Sketching
Parallel - Defines two or more linear objects as being parallel to each other.
Perpendicular - Defines two linear objects as being perpendicular to each
other.
Point on Curve - Defines the location of a sketch point as lying on a curve.
Point on String - Defines the location of a sketch point as lying on an extracted
string.
Slope of Curve - Defines a spline, selected at a defining point, and another
object as being tangent to each other at the selected point.
Scale, NonUniform - Thus constrained, a spline will scale in the horizontal
direction while keeping the original dimensions in the vertical direction during
modification.
13
Scale, Uniform - A spline will scale proportionally in both the horizontal and
vertical when the horizontal length changes.
A Scale constraint may not be mixed with fixing of an internal spline point
as the uses of the two different constraint types are mutually exclusive.
Tangent - Defines two objects as being tangent to each other.
Vertical - Defines a line as vertical.
13-72
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Show/Remove Constraints
The Show/Remove Constraints is a tool that aids you in the management of
constraints. The constraints may be listed by object/s or all of the constraints of
the active sketch may be listed at once.
Determines which
objects will have
their constraints
listed.
Determines what
type of
constraints will be
listed.
Determines if the
filtered constraint
will be included
or excluded in
the list.
13
Determines what
category of
constraints will be
listed.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-73
Sketching
Constraint Interrogation
One way to determine what geometric constraints are present is to pass the
selection ball over a sketch object. If the object has a constraint associated with
it, the sketch object will be prehighlighted as well as other sketch objects that
share the constraint and the constraint marker will appear next to the sketch
objects. If the selection ball passes over an object which has no constraints
associated with it, prehighlighting does not occur. The constraint types and
their markers are shown in the figure below.
13
Fix
Perpendicular
Concentric
Tangent
Coincident
Equal Length
Colinear
Equal Radius
Point on Curve
Constant Length
Point on String
Constant Angle
Midpoint on Curve
Mirror
Horizontal
Slope of Curve
Vertical
Scale, Uniform
Parallel
Scale, NonUniform
Constraint Categories
There are two major categories of geometric constraints, Explicit and Inferred.
Explicit constraints are constraints that the user has created by assignment
using the constraints dialog or by virtue of the creation method. Inferred
constraints are the Coincident constraints that the system has inferred and
assigned. The user has the option to list only the Explicit, or Inferred
constraints, or both may be listed at the same time.
13-74
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Constraint Listing
The constraints may also be listed in the Show/Remove Constraints dialog by
selecting one of the three options at the top of the dialog window. They are:
Selected Object Once an object is selected, the associated constraints,
depending on the selected constraint category, are listed in the dialog box. To
view constraints associated with a different sketch object, simply select the new
object.
Selected Objects Allows the selection of multiple objects; the associated
constraints, depending on the selected constraint category, are listed in the
dialog box. Objects may be deselected by holding the shift key down and
selecting the object.
All in Active Sketch List all the constraints of the active sketch, depending on
the selected constraint category.
Listing Box
Any time there are constraints listed in the list box they may be browsed by
selecting the constraint to highlight it. When the constraint is highlighted in the
list box, the sketch object(s) that is associated with it is also highlighted in the
graphics area. The Step Up the List and Step Down the List buttons allow easy
navigation through the various constraints. The Up and Down arrows on most
keyboards will mimic this behavior.
Removing Constraints
Constraints may be deleted 3 ways:
Turn on Select Constraints (on the Selection tool bar), select the
constraint symbol on the graphics screen, and then choose the Delete
icon.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-75
13
Sketching
Undo
The user may access undo from the edit pulldown on the main menu, the third
mouse button popup menu, or the accelerator keys. Undo takes the creation
procedure back one step at a time.
Dragging Geometry
Underconstrained geometry can be dragged by simply holding down and
dragging MB1 while on the selected curve(s) or point(s).
Selection
When in the Sketcher Task Environment, the selection toolbar changes. It has
two icons that are only available in the Sketcher.
13
Select Constraints
screen.
Deselect All
Constraint Conditions
When the Constraints dialog box is active, the status line lists the constraint
condition for the active sketch. A sketch may be fully constrained, under
constrained, or over constrained. When the sketch is under constrained the status
line will indicate the number of constraints needed.
13-76
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
A sketch is evaluated each time a constraint is placed upon the sketch. Each
time a sketch is evaluated, the system attempts to solve the set of constraints
that describe how the geometric objects are positioned and their relationships
with each other.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-77
13
Sketching
Constraining Example
Lines constrained
to be horizontal
LINE A
Lines constrained
to be vertical
In the profile above, some elements are partially constrained due to system
applied constraints, such as the 3 degree snap angle default for horizontal and
vertical lines.
Line A has a system applied vertical geometric constraint. The bottom point of
line A has a fixed geometric constraint applied by the user. The
degreeoffreedom arrow at the top of line A now points in the Y axis direction.
This indicates the point is constrained in the X axis direction but not in the Y
axis direction.
13
Degree of freedom arrows may assist in the constraining process; however, until
the location of at least one object is defined, no degree of freedom arrows will
be removed. Defining the location of an object may be accomplished in a
number of ways.
Sketch objects may be located relative to edges of a solid model, datum planes,
or to datum axes using geometric constraints, dimensional constraints, or
positioning dimensions.
Fixing the location of a point fully defines the location of that point to the
solver. It is important to remember that there is no numeric input in fixing an
object. An object must be created in the proper location or be otherwise located
prior to fixing in order for the fix constraint to be properly applied.
A sketch is over constrained when too much constraint information is supplied
to the solver. For instance, specifying a geometric constraint on two lines that
identifies them as being equal in length, then placing a dimensional constraint
on each to identify their length would cause the sketch to be over constrained.
13-78
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
The system highlights in yellow the geometry and dimensional constraints that
are causing the over constrained condition in order to prompt for the over
constrained situation to be corrected.
An unwanted constraint must be removed before the system will change the
geometric configuration.
The sketch is displayed in the last solved condition.
Dimensional constraints that are not related to the over constrained condition
are displayed in green. Geometry that is not related to the over constrained
condition is displayed in cyan.
Dimensional constraints that are in conflict in the current configuration with
the current constraint set are displayed in pink. Geometry that is not solvable in
the current configuration with the current constraint set is displayed in gray.
At times the system displays all geometry in gray and all dimensional constraints
in pink. This indicates that the constraint set that has been supplied is not
solvable with the geometry in its current configuration. Constraints may need to
be added or removed in order for the sketcher to be able to solve the constraint
set.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-79
13
Sketching
13
13-80
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Choose the radio button in the List Constraints For: area for
All In Active Sketch.
The system created constraints are now displayed in the list box. The dialog box
should look similar to the graphic shown at right.
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-81
Sketching
The object referred to in the list is highlighted in the graphics area. There
should be one horizontal line highlighted in the graphics window. Let the
instructor know if this is not the case.
Notice that there are degree of freedom arrows at each of the sketch points.
Even though most of the objects in the sketch have constraints associated with
them, the sketch points are free to move in all directions. This is because the
system cannot locate any of the points relative to model space.
13
13-82
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
The geometry now changes to follow the constraint. The point at the bottom of
the left vertical line is now constrained in the horizontal direction.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13
13-83
Sketching
The geometry now changes to follow the new constraint. The shared sketch
point at the bottom of the left vertical line is now constrained in both the
horizontal and vertical directions. The degree of freedom arrows go away at this
point, and, due to the horizontal and vertical constraints on the lines that share
the sketch point, one of the arrows on the opposite end of those lines has
disappeared.
13
Choose Finish.
Choose Type.
13-84
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Hold the Ctrl key down and select the two horizontal lines at
the top of the profile.
Choose Collinear
13
Select the arc at the bottom of the slot taking note on which
side you choose. Select the end of the short vertical line on
the same side of the arc.
Choose Tangent.
Hold the Ctrl key down and select the bottom horizontal line
and the lower endpoint of the line originating from the arc
center.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-85
Sketching
Choose Midpoint.
Select the line between the midpoint and the arc center.
Choose Vertical.
Now vertical
13
13-86
Select the left vertical line and place the dimension for it.
Change the value to 3.75.
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Select the top left horizontal line and place the dimension.
Change its value to .5.
Select the lower end (over half way, not endpoint) of the left
angled line. Select the right end of the top left horizontal
line, avoiding its control points. Place the angular dimension
and change its value to 45.
Select the left end of the top right horizontal line, avoiding
its control points. Select the bottom end of the right angled
line. Place this angular dimension and change its value to the
'p' number assigned to the other angular dimension.
Select the arc at the bottom of the slot. Place the radius
dimension and change its value to .25.
Select the line connecting the arc center and the midpoint
and place this vertical dimension. Change its value to 1.5 and
choose OK.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-87
13
Sketching
The Status line now informs you that the sketch is fully constrained. Remember
that there is no need to fully constrain the profile if it is updating in the manner
desired.
13
Notice that the depth of the notch is unchanged as a result of this change.
Should that have not been our intent, we would have to constrain the sketch in
a different manner.
Choose Finish.
13-88
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-89
Sketching
Use the steps on the following pages to constrain the profile as shown below.
13
13-90
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
13
Select the circle on the other side and notice how the system
indicates an arc to which it is coincident.
Choose Cancel.
on.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-91
Sketching
The circle and arc that share that point of incidence are highlighted.
13
Notice the Degree Of Freedom markers associated with the sketch points,
remember that these are supplied to give feedback on the constraint condition
of the sketch. These markers will be removed from the display as the sketch
points are explicitly located.
13-92
Select the center circle and the bottom arc, avoiding control
points along the way.
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Choose Concentric.
Select the arc center of the center circle and the horizontal
datum axis.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-93
13
Sketching
Select the arc center of the center circle again and the
vertical datum axis.
Note that the degree of freedom markers at the large arc center have been
removed, this point is now explicitly located.
13
13-94
Select the arc center of the left circle and the horizontal
datum axis.
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Note how the profile changes shape to obey the constraints as they are applied.
Also note that the Degree Of Freedom markers at the selected points have
been removed in the vertical direction. These points has been constrained in
the vertical direction but are still free to move in the horizontal direction.
13
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-95
Sketching
13
Use the Inferred dimension type to create all of the dimensions shown below.
13-96
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
The status line indicates that the sketch needs 5 constraints in order to be fully
constrained.
The status line indicates that the sketch needs 2 more constraints. Notice that
we forgot to create a concentric constraint between the upper arc and the
center circle.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-97
13
Sketching
Select the center circle and the upper arc, avoiding control
points.
Choose Concentric.
The status line now states that the Sketch is fully constrained.
13
13-98
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Notice that the profile updates and the tangent condition is maintained.
13
Choose Finish.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-99
13
Sketching
To change the status of the objects, set the radio button to the status desired,
select the object(s) and choose OK or Apply. An option menu is provided to
filter for All (the default), Curve, or Dimension.
Reference curves are displayed in gray color and phantom line font. Reference
curves are ignored during sweep operations.
Reference dimensional constraints are shown in white color and only the value
portion of the expression is shown, regardless of the preference setting. The
value for this reference dimension will be updated as the sketch is changed, but
it does not control the sketch geometry with which it is associated.
13-100
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Width
13
Length
Choose Sketch.
Choose OK.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-101
Sketching
Choose Cancel.
13
Highlight the top constraint in the list and use the down
arrow button to browse through the constraints.
Choose Cancel.
13-102
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
Choose Finish.
13
p3=2.750
p2=4.500
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-103
Sketching
Select the left hand vertical line and place the dimension.
Change the value to 2.75.
Choose OK.
13
p5=5.274
p4=31.430
13-104
Select the lower left endpoint and the upper right endpoint
to define the line.
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
and
Unigraphics NX
Sketching
Select the right end of the lower horizontal line and the right
end of the diagonal line, and indicate a location for the
angular dimension.
The angle will be applied to the ends of the lines closest to the cursor position
in a counter clockwise manner.
At this point the system has more information than is required. The sketch is
over constrained.
The system changes the color of the sketch objects that have constraints applied
to them that are associated to the over constrained condition.
In this case all of the active sketch curves and dimensional constraints are
displayed in yellow. To correct the over constrained condition, one or more of
the offending constraints must by removed.
Remember, the new design intent is to drive the sketch with angular and
diagonal length dimensions.
Step 10 Apply a parallel dimensional constraint.
Notice that the sketch configuration does not change when the value is
modified. The system leaves the geometry in its last solved state until the over
constrained condition is resolved.
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-105
13
Sketching
Choose Cancel.
p5=6.500
p3=2.750
p4=35.000
p2=4.500
13
Choose Finish.
13-106
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX
Sketching
SUMMARY
13
Constrained Sketches
EDS
All Rights Reserved
Practical Applications of
Unigraphics Student Manual
13-107
Sketching
13
13-108
Practical Applications of
Unigraphics Student Manual
EDS
All Rights Reserved
Unigraphics NX