I'm updating my python script to work with FreeCAD 0.18 (previously 0.16) and I noticed that boolean operations don't update shapes when scripting outside freecad but they do in the python console on the GUI.
Here is the command line:
Code: Select all
myPart.Shape=myPart.Shape.cut(Part.makeCylinder(10.,50.,FreeCAD.Vector(0,0,1),FreeCAD.Vector(0,0,1)))
FreeCAD.ActiveDocument.recompute()
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 32-bit
Version: 0.18.16093 +38 (Git)
Build type: Release
Branch: (HEAD detached at 0.18.3)
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: French/France (fr_FR)