Failure to make a thick solid.

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
Ank
Posts: 101
Joined: Thu Sep 19, 2019 5:22 pm

Failure to make a thick solid.

Post by Ank »

I hoped to make this a thick solid: (I assume the selected face would be gone.)
Screenshot from 2021-12-06 16-09-17.png
Screenshot from 2021-12-06 16-09-17.png (33.54 KiB) Viewed 970 times
Then I get this error.
Screenshot from 2021-12-06 16-09-09.png
Screenshot from 2021-12-06 16-09-09.png (44.14 KiB) Viewed 970 times
FCStd attached
Attachments
USB-PD-Heater-enclosure.FCStd
(141.81 KiB) Downloaded 20 times
User avatar
papyblaise
Veteran
Posts: 7866
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Failure to make a thick solid.

Post by papyblaise »

there are several errors, the first is not to force the sketches
it is better to make the general shape and cut the angle with a Pocket
tickness on B-splines never work perfectly
all that's left is to make a scaled clone and do a boolean subtraction
Attachments
USB.PNG
USB.PNG (11.48 KiB) Viewed 899 times
USB.FCStd
(54.42 KiB) Downloaded 17 times
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Failure to make a thick solid.

Post by thomas-neemann »

is that a solution?
1753.FCStd
(225.16 KiB) Downloaded 18 times
1.png
1.png (28.33 KiB) Viewed 897 times

OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2021.1015.24301 +4280 (Git) AppImage
Build type: Release
Branch: LinkDaily
Hash: 556c87868ea46796242156e9f73eae98259794b7
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.1
OCC version: 7.5.2
Locale: German/Germany (de_DE)
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Failure to make a thick solid.

Post by TheMarkster »

1) Delete Thickness
2) Select body, in View tab of property view set Display mode from "Through" to "Tip".
3) Go to draft workbench. Select same face as for thickness and create new FaceBinder.
4) Select Body and create new Draft clone.
5) Select Clone, in Data tab of property view expand Scale property to get at x, y, and z.
6) For x property click f(x) icon or press = key on keyboard to bring up formula editor, enter:

Code: Select all

(Body.Shape.BoundBox.XLength + 1.9 * 2) / Body.Shape.BoundBox.XLength
7) Repeat for y and z substituting YLength and ZLength, respectively.
8) Select Clone, edit Placement property so that Z = -1.9.
9) Go to Part workbench.
10) Select Clone first, and then select Body (order of selection is critical), then use the Part Cut tool to create Cut object:

Error: Resulting shape is invalid. Why? Expand the Body, click the Pocket, and in the data tab of the property view set Refine = False. Do the same for the Additive Loft.

Now the cut succeeds.
Snip macro screenshot-e9c8ab.png
Snip macro screenshot-e9c8ab.png (55.89 KiB) Viewed 829 times
11) Select the Facebinder in the tree view and click the Extrude toolbar icon. Set custom direction to Z = 1. Do the extrude. Make sure the Solid property is set to True. If the Extrude goes in the wrong direction, set the Reversed property to True.
Snip macro screenshot-efceac.png
Snip macro screenshot-efceac.png (53.21 KiB) Viewed 829 times
12) Select the Cut, and then the Extrude, and do another Part::Cut.
Snip macro screenshot-5e8688.png
Snip macro screenshot-5e8688.png (75.19 KiB) Viewed 829 times
Attachments
USB-PD-Heater-enclosure_markster.FCStd
(278.4 KiB) Downloaded 17 times
Ank
Posts: 101
Joined: Thu Sep 19, 2019 5:22 pm

Re: Failure to make a thick solid.

Post by Ank »

Thank you all - I'll examine the files and learn from all your posts tomorrow.
Thanks.
Post Reply