I have had problems with the minus sign since I started using FreeCAD. QD solution I've used is to copy-paste. FreeCAD minus − Swedish minus - Hope the difference is visible in all browsers :? OS: Debian GNU/Linux 7.6 (wheezy) Platform: 64-bit Version: 0.14.2751 (Git) Branch: master Hash: 16e8733106...
DraftGui.py gives me: try: from PyQt4 import QtCore,QtGui,QtSvg except: Tried your code, with import from PySide and PyQt4. Was thrown out at both attempts. # Macro Begin: /home/isak/.FreeCAD/19inchFilm.FCMacro +++++++++++++++++++++++++++++++++++++++++++++++++ import FreeCAD import FreeCADGui from t...
An alternative way is just to emulate the key press events. Try this: Code: Select all ev=QtGui.QKeyEvent(QtCore.QEvent.KeyPress,QtCore.Qt.Key_F11,QtCore.Qt.NoModifier) QtGui.qApp.sendEvent(mw,ev) # Macro Begin: /home/isak/.FreeCAD/19inchFilm.FCMacro ++++++++++++++++++++++++++++++++++++++++++++++++...
Do not know if I did this the right way. :oops: # Macro Begin: /home/isak/.FreeCAD/19inchFilm.FCMacro +++++++++++++++++++++++++++++++++++++++++++++++++ import FreeCAD import FreeCADGui from time import sleep from PySide import QtCore,QtGui #Set FullScreen #mw=FreeCADGui.getMainWindow() #mdi=mw.findC...
>>> mw.metaObject().className() 'Gui::MainWindow' Edit: Maybe I get it wrong, tested this too ! ? # Macro Begin: /home/isak/.FreeCAD/19inchFilm.FCMacro +++++++++++++++++++++++++++++++++++++++++++++++++ import FreeCAD import FreeCADGui from time import sleep from PySide import QtCore,QtGui #Set Full...
Thanks for your reply wmayer. It's Full screen (F11) mode i mean. I got a little error message: Traceback (most recent call last): File "/home/isak/.FreeCAD/19inchFilm.FCMacro", line 9, in <module> sub=mdi.activeSubWindow() <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'acti...
OS: Debian GNU/Linux 7.6 (wheezy) Platform: 64-bit Version: 0.14.2751 (Git) Hello ralvejd, Why are you using such an old version? The latest stable release of FreeCAD is 0.14.3702. You are missing out on many new features. Hi normandc My use of freecad sparse right now. Does anyone know, is it trou...