Page 1 of 1

Something broke, but what?

Posted: Fri Apr 08, 2022 9:27 am
by fatbeard
While reconfiguring a very complex design to use only one spreadsheet instead of five, I noticed that a pocket resulted in a 'multiple solids' error while that pocket does not intersect the outline of the solid I wanted the pocket in...
Stripping it down to bare essentials I saw this:
end result
end result
Screenshot from 2022-04-08 11-07-16.png (120.55 KiB) Viewed 561 times
which is supposed to be a flat plate with two notches in the top edge, a shallow pocket on the front and an even shallower pocket on the back to create a raised edge...

No error messages in the report view, until I remove the reverse flag on the pockets: then the 'multiple solids' error comes back.
I have absolutely no clue what went wrong, the other files do not show this weirdness.

OS: Linux Mint 20 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 0d9536ed3e8c7f40197b5606e1b7873625e1d6fe
Python version: 3.8.10
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United States (en_US)

Re: Something broke, but what?

Posted: Fri Apr 08, 2022 9:42 am
by Syres
Sketch S-basePlate has two lines on top of each other as indicated in the screenshot below, you should use the Sketcher Validation Tool to find these errors.

DEMOInfo.jpg
DEMOInfo.jpg (24.94 KiB) Viewed 543 times

Re: Something broke, but what?

Posted: Fri Apr 08, 2022 9:57 am
by fatbeard
Great find!
I can now backtrack where I went wrong, and try to prevent it happening again.

:twisted: At the risk of repeating myself: more helpful error messages would be nice...

Afterthought: even the validator was not very helpful in pinpointing or even fixing the problem...

Re: Something broke, but what?

Posted: Fri Apr 08, 2022 10:24 am
by Shalmeneser
Sketcher_ValidateSketch

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.28611 (Git)
Build type: Release
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: French/France (fr_FR)