View Issue Details

IDProjectCategoryView StatusLast Update
0003958Part[FreeCAD] Bugpublic2019-10-15 17:50
Reporterjr222 Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformWindowsOSWindows 10OS Version10.0.17134.706
Product Version[FreeCAD] 0.18 
Target VersionFixed in Version 
Summary0003958: Boolean Cut not working correctly when using arrays (polar in this case)
DescriptionWhen doing a boolean difference between an object and an array of objects, some of the objects within the array seem to not cut correctly, while others do.

I posted a [url= https://forum.freecadweb.org/viewtopic.php?f=3&t=36090]forum question in the Freecad forum[/url], and the problem was reproduced by most users that tested it. Some supplied workarounds, but these are not possible for more complex projects.

This does look like a bug, as it is reproducible. It seems that the more complex the compound objects, the easier it is to reproduce.

The example is the inner portion of a ball bearing model for 3D printing.


Steps To ReproduceThis example has the complexity required to reproduce the bug (most operations in the part workbench - parameters mentioned are changed from the default):
1. Create a torus (r1=36mm, r2=4mm)
2. Create a half sphere (rad=5mm, angle3=180, placement-angle=90, position.X=40mm)
3. Use Draft Array to make a polar array from the half spheres (type=polar, number.polar=16)
4. Fuse the torus and half-sphere-array (using boolean union)
5. Create a smaller full sphere (rad=4.5mm, position.X=40mm)
6. 3. Use Draft Array to make a polar array from the full smaller spheres (type=polar, number.polar=16)
7. Cut the smaller full sphere array from the Fusion object from step 4 using Boolean difference
8. Create a cylinder (rad=37.5mm, position.Z=-5mm)
9. Cut the Cylinder from the "Cut" object from step 7 using Boolean difference
Note that some of the smaller balls did not cutout the inside of the compound object.
(in the example I copied, I changed the NumberX and NumberY values of the arrays from 2 to 1, but that I believe should not have changed the result)
Additional InformationThe model file and a screenshot of the problem are attached.

The reproducibility of the initial simpler problem posted in the forum is "sometimes", this more complex model should result in the bug being reproduced "always".
Tagsarray, boolean
FreeCAD Information

Activities

jr222

2019-05-03 03:48

reporter  

boolean-cut-with-array-not-working-2.FCStd (845,371 bytes)

jr222

2019-05-03 03:52

reporter   ~0013077

I re-installed Freecad 0.17 and was able to reproduce the problem in that version. i suspect this problem has been there for a while.
I also selected major because this looks to me like a bug with substance, however, please feel free to change this, as I dont have the reference to know a major from a minor.

sariug

2019-10-15 12:45

reporter  

image.png (57,547 bytes)
image.png (57,547 bytes)

sariug

2019-10-15 12:45

reporter   ~0013761

There seem to be no problem with mine.

OS: Ubuntu 18.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

openBrain

2019-10-15 17:50

developer   ~0013762

Issue still present in 0.19 (also notice that new Draft/Array implementation breaks the example file)
OS: Ubuntu 18.04.3 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18502 (Git)
Build type: Unknown
Branch: master
Hash: ca30dfeb27871352f0adc4dae067fd5ec7b06670
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

Issue History

Date Modified Username Field Change
2019-05-03 03:48 jr222 New Issue
2019-05-03 03:48 jr222 Tag Attached: array
2019-05-03 03:48 jr222 Tag Attached: boolean
2019-05-03 03:48 jr222 File Added: boolean-cut-with-array-not-working-2.FCStd
2019-05-03 03:48 jr222 File Added: boolean-cut-with-array-not-working-2.PNG
2019-05-03 03:52 jr222 Note Added: 0013077
2019-10-15 12:45 sariug File Added: image.png
2019-10-15 12:45 sariug Note Added: 0013761
2019-10-15 17:50 openBrain Note Added: 0013762