sgrogan wrote:
I don't need to do this, I do have the missing icons, I have OpenSCAD installed and the path set in FreeCAD Prefs. With OpenSCAD installed you can do boolean operations on meshes in FreeCAD.
command 'OpenSCAD_RemoveSubtree'
Code: Select all
Running the Python command 'OpenSCAD_RemoveSubtree' failed:
Traceback (most recent call last):
File "C:\FreeCAD\Mod\OpenSCAD\OpenSCADCommands.py", line 241, in Activated
import OpenSCADUtils,FreeCADGui
File "C:\FreeCAD\Mod\OpenSCAD\OpenSCADUtils.py", line 35, in <module>
_encoding = QtGui.QApplication.UnicodeUTF8
name 'QtGui' is not defined
command 'Remove Fusion' is fine
command 'mesh Boolean -> union'
Code: Select all
Traceback (most recent call last):
File "C:\FreeCAD\Mod\OpenSCAD\OpenSCADCommands.py", line 368, in doboolean
from OpenSCADUtils import meshoponobjs
File "C:\FreeCAD\Mod\OpenSCAD\OpenSCADUtils.py", line 35, in <module>
_encoding = QtGui.QApplication.UnicodeUTF8
NameError: name 'QtGui' is not defined
command 'add openscad element'
Code: Select all
Traceback (most recent call last):
File "C:\FreeCAD\Mod\OpenSCAD\OpenSCADCommands.py", line 295, in addelement
import OpenSCADUtils, os
File "C:\FreeCAD\Mod\OpenSCAD\OpenSCADUtils.py", line 35, in <module>
_encoding = QtGui.QApplication.UnicodeUTF8
NameError: name 'QtGui' is not defined
please note that I have many releases of FC (0.15,0.16,0.17) not installed but just unzipped and OpenSCAD unzipped too (and configured in preferences)
FC 0.16 and 0.15 don't have this bug
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
OS: Windows 8
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4671 (Git)
Branch: releases/FreeCAD-0-15
Hash: 244b3aef360841646cbfe80a1b225c8b39c8380c
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17