Search found 58 matches

Go to advanced search

by ralvejd
Wed Jul 30, 2014 12:17 pm
Forum: Developers corner
Topic: Problem with negative values in InputField
Replies: 40
Views: 8599

Re: Problem with negative values in InputField

The swedisch have their own minus :o Impressive! :D
Yes, at least in Debian wheezy.

This and all other local deviations is something that the UN should standardize. :mrgreen:
by ralvejd
Wed Jul 30, 2014 10:09 am
Forum: Developers corner
Topic: Problem with negative values in InputField
Replies: 40
Views: 8599

Re: Problem with negative values in InputField

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...
by ralvejd
Mon Jul 28, 2014 9:42 pm
Forum: Python scripting and macros
Topic: Set the document window to fullscreen by Python [SOLVED]
Replies: 11
Views: 10529

Re: Set the document window to fullscreen by Python

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...
by ralvejd
Mon Jul 28, 2014 6:19 pm
Forum: Python scripting and macros
Topic: Set the document window to fullscreen by Python [SOLVED]
Replies: 11
Views: 10529

Re: Set the document window to fullscreen by Python

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 ++++++++++++++++++++++++++++++++++++++++++++++++...
by ralvejd
Mon Jul 28, 2014 5:20 pm
Forum: Python scripting and macros
Topic: Set the document window to fullscreen by Python [SOLVED]
Replies: 11
Views: 10529

Re: Set the document window to fullscreen by Python

A thought, my old version of FreeCAD uses it PySide? Does it matter? OS: Debian GNU/Linux 7.6 (wheezy) Platform: 64-bit Version: 0.14.2751 (Git) Branch: master Hash: 16e873310689f055fb249c69a5c8422b3eef1fa7 Python version: 2.7.3 Qt version: 4.8.2 Coin version: 3.1.3 SoQt version: 1.5.0 OCC version: ...
by ralvejd
Mon Jul 28, 2014 5:14 pm
Forum: Python scripting and macros
Topic: Set the document window to fullscreen by Python [SOLVED]
Replies: 11
Views: 10529

Re: Set the document window to fullscreen by Python

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...
by ralvejd
Mon Jul 28, 2014 5:08 pm
Forum: Python scripting and macros
Topic: Set the document window to fullscreen by Python [SOLVED]
Replies: 11
Views: 10529

Re: Set the document window to fullscreen by Python

>>> 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...
by ralvejd
Mon Jul 28, 2014 4:32 pm
Forum: Python scripting and macros
Topic: Set the document window to fullscreen by Python [SOLVED]
Replies: 11
Views: 10529

Re: Set the document window to fullscreen by Python

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...
by ralvejd
Mon Jul 28, 2014 1:37 pm
Forum: Python scripting and macros
Topic: Set the document window to fullscreen by Python [SOLVED]
Replies: 11
Views: 10529

Set the document window to fullscreen by Python [SOLVED]

Hi all Python experts. Newbie Question. :oops: How do I set document window to fullscreen by Python? OS: Debian GNU/Linux 7.6 (wheezy) Platform: 64-bit Version: 0.14.2751 (Git) Branch: master Hash: 16e873310689f055fb249c69a5c8422b3eef1fa7 Python version: 2.7.3 Qt version: 4.8.2 Coin version: 3.1.3 S...
by ralvejd
Sat Jul 26, 2014 3:11 pm
Forum: Open discussion
Topic: Sheet-metal: my modest attempt
Replies: 19
Views: 4709

Re: Sheet-metal: my modest attempt

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...

Go to advanced search