realthunder/FreeCAD_assembly3

"Infinite shape provided"

Erhannis opened this issue · 3 comments

Not sure whether to ask about this on the forum or here, but it seems more polite to start here than ask about a fork on the main forum.
Here's a file.
staple_bracket.zip
I tried to create a pretty simple shape - made a new file, part, body, sketch, and a polyline in a wall bracket shape. Added constraints. Left sketch mode, and didn't see anything - the sketch item said "AttachEngine::getInertialPropsOfShape: infinite shape provided". Any idea what's up with that? I only get 4 google results, and none of them seemed helpful.

I tried doing approximately the same thing again, and it worked fine. I remember originally trying some constraints that didn't do what I expected, and removed them.

The message is caused by invalid selection of the sketch attachment selection. Maybe you accidentally changed it. Just right click the sketch, and choose Attachment to manually correct it.

That seems to have done it; thanks. I went through several weird states but by comparing with a good version, managed to get it back to correct. (I also somehow had the sketch in construction mode.) Thanks!