Something broke, but what?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
fatbeard
Posts: 108
Joined: Thu Oct 22, 2020 7:47 am

Something broke, but what?

Post 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 565 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)
Attachments
DEMO.FCStd
(44.03 KiB) Downloaded 24 times
Nothing is ever impossible for those that don't have to do it.
Syres
Veteran
Posts: 2898
Joined: Thu Aug 09, 2018 11:14 am

Re: Something broke, but what?

Post 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 547 times
fatbeard
Posts: 108
Joined: Thu Oct 22, 2020 7:47 am

Re: Something broke, but what?

Post 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...
Nothing is ever impossible for those that don't have to do it.
User avatar
Shalmeneser
Veteran
Posts: 9545
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Something broke, but what?

Post 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)
Attachments
Annotation 2022-04-08 122158.jpg
Annotation 2022-04-08 122158.jpg (11.5 KiB) Viewed 497 times
Post Reply