Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Trying to draw a circle around circumscribed polygon, unable to solve sketch

joe_fisher391
joe_fisher391 Member Posts: 17 ✭

And I can't figure out why.

https://cad.onshape.com/documents/4df958a31963fa0f7b03cd44/w/edc1fdb49125552bff8f371c/e/fb82bbb3ee0c2c66e5661a3a?renderMode=0&uiState=6b0326b2b6f7feddee14547b

I've got the inner circle to set the diameter I want, a circumscribed hexagon to get the faces I want, and diameters to mark the centers of each face so the rectangles stay centered on them.

image.png

When I add a circle using any corner of the hexagon, the sketch can't be solved.

image.png

But if I delete one of the diameters, the sketch solves.

image.png

So while I technically can fix the problem, I'd like to know what the problem was in the first place.

Here are the constraints on that diameter I deleted, in case that helps.

image.png

Answers

  • S1mon
    S1mon Member Posts: 4,648 PRO

    My experience with sketches like this is that Onshape (and D-Cubed, the sketch solver library underneath) gets very confused with radial patterns and a lot of constraints. I would use the constraint manager and carefully go through the constraints and make sure that there aren't any that might be considered circular or over-constrained. Use the least amount of constraints necessary and try to tie things back to the most basic things you can. Remove anything that's extraneous (e.g. do you really need the center points in the centers of the outer rectangle edges?).

    Another approach that's helped me in the past is to establish the basic radial pattern in one sketch, and then the details (in this case the varying rectangles) in a second sketch. This cuts down on the complexity of solving the sketch greatly.

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • joe_fisher391
    joe_fisher391 Member Posts: 17 ✭

    Update: it seems like some sort of display glitch. When I rotate the view a bit and do the same thing, the sketch does solve. Then sometimes it doesn't, with no other changes.