FreeCAD / FreeCAD-Bundle

Stand-alone repo to Build and Deploy installable FreeCAD images. Do not open general FreeCAD issues here.
https://freecad.org
GNU Lesser General Public License v2.1
312 stars 63 forks source link

Threaded hole not working in Part Design #248

Closed buteomont closed 3 months ago

buteomont commented 3 months ago

Something has broken about threaded holes in the Part Design workbench.

I started a new project, added a body, created a simple 40x40mm square sketch, and padded it to 40mm.

Then I selected the top face and created a simple circle sketch upon it. I pressed the Hole button, and chose the ISO metric fine profile. I selected the Threaded, Model Thread, and Update view checkboxes.

I set Size to M22x1.0 and Drill point to Flat.

The hole was there but the threads never showed up on the model. When I pressed the OK button, a modal window popped up with "Input error" and "Removing splitter failed".

I'm using development version 0.22.0dev (FreeCAD_weekly-builds-37668-conda-Linux-x86_64-py311.AppImage) on Ubuntu 20.04. This problem does not occur in version 0.21.2 (FreeCAD-0.21.2-Linux-x86_64.AppImage)

FWIW, I'm just learning FreeCAD and the more I use it, the more I like it and appreciate the power within. Kudos to the creators!

edragos commented 3 months ago

You can not create a Hole from Pad in any version of Freecad. You must select a face, create a new sketch, draw a circle, position the circle, close the sketch. Select this sketch and make what hole you desired.

buteomont commented 3 months ago

My apologies, I think a lack of sleep has muddled my brain. A problem exists, however. I have updated the original post with the correct steps to show the problem. Basically, the hole shows up but not the threads, and an error is generated.

edragos commented 3 months ago

No problem. You’re welcome. Also, I am new in Freecad, I learn every day something new. Let me have a look at this problem. My gratitude goes to this marvelous community around the globe, that work very hard to make this wonderful software and keep it free.

buteomont commented 3 months ago

A clue: I discovered that if I modify the hole to pass completely through the cube (by adjusting the depth or selecting Through all) the problem goes away.

As a side note, selecting Through all sets the hole depth to 139.95 mm for some reason, even though the cube is only 40 mm thick.

buteomont commented 3 months ago

Another clue: It seems that the problem also disappears when I set the hole's Refine value to false.

maxwxyz commented 3 months ago

Is this still an issue in the latest weekly? If so please create an issue (if there is not already an existing one) here https://github.com/FreeCAD/FreeCAD/issues