#### View Issue Details

ID Project Category View Status Date Submitted Last Update 0003958 Part [FreeCAD] Bug public 2019-05-03 03:48 2019-10-15 17:50 jr222 normal major always new open Windows Windows 10 10.0.17134.706 [FreeCAD] 0.18 0003958: Boolean Cut not working correctly when using arrays (polar in this case) When 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. This 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) The 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". ,

#### Activities

 2019-05-03 03:48 reporter boolean-cut-with-array-not-working-2.FCStd (845,371 bytes) boolean-cut-with-array-not-working-2.PNG (163,453 bytes) boolean-cut-with-array-not-working-2.PNG (163,453 bytes) 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. 2019-10-15 12:45 reporter image.png (57,547 bytes) image.png (57,547 bytes) 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) 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)