top of page
Search

A deep-dive into Sketch Constraints

11m
6 min read

Fusion sketch constraints control how geometry behaves, and fully constraining a sketch keeps edits from moving sketch objects unexpectedly. The new Find Under-Constrained command highlights geometry that can still move, helping you locate issues even when a sketch looks complete.


What constraints control in a Fusion sketch

In one example, a rectangle measures 100 mm by 30 mm and it's corner is at 0,0. Its lines are black, which means the sketch geometry is fully constrained. Horizontal and vertical constraints keep the sides square, while dimensions set the rectangle’s width and height.


Delete the 100 mm dimension and the line it controlled turns blue. That line can now change length, while the height stays fixed. Delete the 30 mm dimension too, and the rectangle can change size. Remove its horizontal and vertical constraints, and its sides can tilt.


Constraints make geometry follow the relationships you choose. For example, a circle placed "visually" at the center of a rectangle will not move with the rectangle if the rectangle changes size. A midpoint constraint instead ties the circle to the rectangle’s center, so it moves with the changing geometry.


Apply constraints to lines, points, and circles

Horizontal and vertical

The Horizontal/Vertical constraint can straighten a line or align points.


When you apply it to a line, Fusion chooses the direction that requires the least movement. A line closer to vertical becomes vertical; one closer to horizontal becomes horizontal.


To align circles, select their center points, not their circular edges. You can constrain two points horizontally or vertically, and they will stay aligned as the sketch changes. If Fusion reports that a constraint is already applied, the selected geometry may already have that relationship.


Coincident

Coincident places two points at the same location.


The order of selection can affect which point moves. A rule of thumb I use is “click to keep”: select the point you want to keep first, then select the point that should move to it.


That rule does not always hold when other constraints control the geometry. If the first point is fixed, for example, the solver may have to move the second point to the fixed one.


You can also make a point coincident with a circle, or align corners from two shapes. These relationships keep geometry connected as you edit the sketch.


Tangent

A tangent constraint makes two objects tangent, but using the command on a line and circle does not necessarily attach the line’s endpoint to the circle.


Add a coincident constraint between the endpoint and circle if you want them to meet.

For a quicker tangent line, use the line command. Click and hold the left mouse button, move the cursor until the tangent icon appears on the first circle, then move to the second circle until its tangent icon appears. Release the button to create the line. This applies the tangent and coincident relationships together.


Tangent circles can also change size if they have no dimensions. Dimension the circles first if their sizes must stay fixed, then apply the tangent constraint to position them.


Equal

Equal makes circles or lines the same size.


You can make several circles equal, then add one dimension to set their shared size. For example, setting one circle to 20 mm makes the other equal circles 20 mm too.

The same constraint works on lines. Make matching edges equal to keep shapes the same size, even when their angles differ.


Parallel, perpendicular, and collinear

Parallel keeps two lines in the same direction, like railroad tracks.


If you change one line’s angle, the other follows while remaining parallel.

Perpendicular keeps two lines at 90 degrees. Rotate one line, and the other stays perpendicular to it.


Collinear keeps lines on the same straight path. Collinear lines can have different lengths; they remain in line with each other. This differs from parallel lines, which can sit on separate paths.


Fix and unfix

Fix prevents selected geometry from moving. It can hold a point in place or lock a line, though fixing a line does not automatically fix its endpoints. Use Unfix to release geometry.


Fix can help hold a point or edge in place while you relate other geometry to it. Don't use Fix to fix every point/line on your sketch.


Midpoint

Midpoint places a point at the center of a line, or aligns the centers of two lines.


A circle constrained to the midpoint of a rectangle’s edge will remain centered on that edge as its length changes.


To center a circle inside a two-point rectangle, you can draw a construction line between opposite corners and constrain the circle’s center point to that line’s midpoint.


Another option uses Horizontal/Vertical: hold Shift while hovering over a line to reveal its midpoint, then align the circle’s center with that midpoint. Do this once horizontally and once vertically to center the circle without drawing a construction line.


A center rectangle provides another route. Its center point can be made coincident with the circle’s center, keeping the circle in the middle as the rectangle changes. The speaker uses center rectangles often.


Midpoint also works between two lines, or between a point and a line. These relationships keep the selected geometry centered as you move or resize it.


Concentric

Concentric makes circles share a center point.


Apply it to multiple circles to keep them centered together; moving their shared center moves them all.


Symmetry

Symmetry mirrors points or other geometry around a centerline.


First, constrain a point to the centerline with Coincident. Then select the two points to mirror and the centerline. Changing either side updates the other to match.


Curvature

Curvature connects objects with a smooth, continuous curve.


In the example, applying it between a spline and a straight line creates a G2 curve at their connection. Move the line and the curve stays connected to the spline. Adjust the tangency weight by moving the handle.


Polygon

The Polygon constraint applies regular-polygon behavior to a closed sketch profile.


Its sides have the same length, with equal angles. It can restore polygon behavior if the polygon constraint icon was deleted. A triangle is one example; after constraining it as a polygon, you can also make one of its edges horizontal.


Filter the constraint menu with selected geometry

Preselecting geometry narrows the constraint menu to the options that apply. For two circles, Fusion shows choices such as Tangent, Equal, Fix, Concentric, and Symmetry. For two lines, it shows suitable options such as Horizontal/Vertical and Equal.

Selecting a point and an edge, or two points, reveals another set of applicable constraints. This menu filter can help you see which relationships work with the geometry you selected.


Use AutoConstrain to build and refine a sketch

AutoConstrain and AutoConstrain from Datum are paid Fusion features, not available in the free version. AutoConstrain will generate three default results for a sketch. In the demonstrated example, the third result, marked with a wizard icon, added seven constraints and seven dimensions and modified the geometry.


AutoConstrain can apply relationships such as horizontal, vertical, perpendicular, tangent, parallel, and coincident. Its angle limit controls which lines it adjusts. In the example, lines within 3 degrees were not all made horizontal or vertical. Raising the limit to 4 degrees made no change, but 5 degrees did.


The command also adds dimensions, which may not all match your design intent. In the example, the generated sketch showed dimensions of 10.17, 74.33, and 103. After accepting the result, we removed dimensions that conflicted with the relationships we wanted. Set the overall height to 100, make selected edges equal, and use collinear constraints to line up other edges. Remove conflicting dimensions, set another length to 75, and match a width to another dimension until the sketch is fully constrained.


AutoConstrain can also reveal what remains undefined. In one sketch, all the lines looked black and dimensioned, but the sketch still showed as unfinished. AutoConstrain added a dimension to the centerline, revealing that Fusion needed to know the centerline’s length or the location of its endpoint. Fix the issue by making that endpoint coincident with another point.


Find under-constrained geometry, even when a sketch looks complete


The Find Under-Constrained command reports geometry that still needs a constraint. In a simple example, Fusion identified a circular arc and a point. The sketch looked like its profile was closed, but moving the point revealed a gap. By adding a Coincident constraint between the point and circle, this will resolve the issue. The circle shifted slightly, and the sketch became fully constrained.


The command also helps diagnose offset geometry. In the video, I show an example of two offset lines from a centerline. Using find Under-Constrained highlighted several points of issue. Zooming in showed that an endpoint missed a large-radius arc, which had a 700 mm radius. We can fix this by making the endpoint coincident with the arc, then repeating the fix for the other flagged points.


For a more complex example, I used Find Under-Constrained on the first sketch in a pencil sharpener assembly’s gear housing. The sketch helped create a revolve, and its geometry included projected lines. The command highlighted several lines and points, making it easier to find blue, unconstrained geometry and duplicate lines on a rib. I then removed the extra lines using the X markers and used Hide Constrained Geometry to isolate the remaining flagged points.


I then made selected lines collinear and added a dimension of 0.495 to control their height. For the remaining points, I added a dimension to projected geometry. These fixes fully constrained the sketch, and the model updated without timeline errors.


Check a sketch that looks finished

Try Find Under-Constrained when Fusion says a sketch is unfinished, even if the geometry appears correct. The command can point you toward the small gap or missing relationship that is otherwise easy to overlook.

 
 
 

Comments


bottom of page