1 Why wont my sketch extrude
James edited this page 2026-11-12 13:43:28 -05:00

Why won't my sketch extrude?

Extrude, Revolve and Loft do not sweep curves. They sweep profiles: the closed regions the curves enclose. A sketch that does not close has no profile, and there is nothing to extrude.

What a profile is

Anvil works out every region the sketch's curves fence in.

  • A rectangle is one profile.
  • A circle inside a rectangle is two: the ring between them, and the disc.
  • Two overlapping rectangles are three: each rectangle's own part, and the overlap.

You pick which regions a feature uses, so a sketch can hold more than the feature needs.

Three things never form a profile:

  • Construction and centerline geometry.
  • Curves that leave a gap, however small it looks on screen.
  • A lone open curve.

While a sketch is open, Show profile in the Sketch Palette (on by default) shades every closed region. If the shape you drew is not shaded, it is not closed.

What Anvil says

When a feature needs a profile and the sketch has none, the dialog says why, in words and with numbers. The message has this form:

this needs at least one closed profile -- this sketch has an open loop with a 0.5 mm gap near (60, 20)

The coordinates are in the sketch's own millimetres, measured from the sketch origin. The two loose ends are ringed in the viewport with a line across the gap, so you can find it even when it is far too small to see.

Other reasons you may be given:

Message What it means
this sketch has no geometry that is not construction Everything was drawn with the Construction or Centerline line type.
this sketch has N zero-length curve(s) A line whose two ends are the same point, or a circle of no radius.
a profile this Extrude was built from is no longer enclosed by the sketch -- pick the profile again The sketch was edited after the feature was made and the region it used has gone. Edit the feature and click the region you want.

Sketch Analysis

To check a sketch before you leave it, click Sketch Analysis in the INSPECT panel of the SKETCH tab.

Sketch Analysis marking a gap in the viewport

If all is well the message bar says Sketch analysis found no problems. Otherwise it lists up to six problems and marks every one in the viewport:

Reported as Marked with Usual fix
open loop with a 0.5 mm gap near (60, 20) A ring on each loose end, a line between them, and the gap's size Select the two end points and apply Coincident.
curves 12 and 15 cross at (30, 10) without a shared point A cross on the point Often intended, as with overlapping shapes. If not, Trim or Split the curves there.
curve 14 lies on top of another curve A square at the curve's middle Delete the duplicate.
curve 9 has zero length A square Delete it.

The numbers after curve are the entity numbers shown in the docked Sketch panel's entity list.

The marks describe the sketch as it was when you ran the analysis. They are cleared as soon as you edit it; run the analysis again to check your fix.

A crossing is not always a fault. Curves that cross still enclose regions, and those regions can be extruded. The analysis lists crossings because an accidental one is a common reason for a profile being a different shape from the one you meant.

Avoiding the problem

  • Let inference join your lines. When the * glyph is showing as you click, the new point is tied to the existing one. Corners joined that way are treated as exactly one point, not two points that are nearly together.
  • Use the rectangle, polygon and slot tools for closed shapes. They close themselves.

The sketch is fine but the feature still fails

Then the problem is the feature, not the profile, and its dialog shows a different message, such as an extrude needs a distance -- 0 would produce nothing. See Extrude and Revolve.