Why is Closed Sketch Interpretted as Open in Extrude?

Here's a simple fully-defined sketch of a hexagon that I want to extrude into the hex head of a stud.  The original vertical line on the left side has been replicated using Circular Sketch Pattern to complete the hexagon:

Here's what happens when I try the Extruded Boss/Base feature on the sketch:

Apparently SW interprets the sketch as open -- the original vertical line appears unconnected to its circular-patterned neighbors -- and forces a thin-feature extrusion, which of course I don't want.  Yet the Measure tool tells me that each of the six full lines intersects its neighbors, and I can't see any extraneous lines that are not "for construction."  Is there something wrong with using Circular Sketch Pattern in this context?

I'm running SW Premium 2016 SP5.0 under Windows 7 SP1.  Part file provided on request.  Can anybody point out my mistake? -- John Willett

SolidworksParts And Features
Answers 7
KL
KL 2017-07-11 Best Answer
<p>Here's a simple fully-defined sketch of a hexagon that I want to extrude into the hex head of a stud. The original vertical line on the left side has been replicated using Circular Sketch Pattern to complete the hexagon</p>

Why? Use the Polygon tool instead.

2017 SOLIDWORKS Help - Polygon PropertyManager

Post the part file and let's have a look.

JW
JW 2017-07-11

Kelvin -- Good point about the polygon tool; I never tried it.

Anyhow here's the part. -- John Willett

CC
CC 2017-07-11

There must be a gap in the corner

comment imagecomment image
CC
CC 2017-07-11

Just fixed the corner and here is the result

comment imagecomment image
JW
JW 2017-07-11

Christian -- "Fixed the corner" how exactly?

Does your fix make the hexagon closed and allow you to eliminate the "thin feature" check mark to extrude the enclosed area? -- John Willett

KL
KL 2017-07-11

The root cause is that the centre of the hexagon is not on the origin.

Delete all geomtry except the inner circle and the hexagon, and change the inner circle dimension to Driving not Driven, and you should see that the hex cenytre is not constrained, drag it onto the origin and all should be well.

comment imagecomment imagecomment imagecomment image
JW
JW 2017-07-12

Kelvin -- You are right!  It seems that this happened during the definition of the circular sketch pattern, when the center point automatically chosen by that feature ("Point-1") looked like, but was not, the origin of the sketch ("Point1").  This had to be replaced by the correct point in the first entry box to properly constrain the resulting hexagon.  I still have no idea why SW reported the sketch as fully defined...

Anyhow using the polygon tool you recommended is much easier and automatically constrains the center where you point it.  Thanks for your diagnosis! -- John Willett