Search found 26 matches

by SchmilBlick
Tue May 22, 2018 5:17 pm
Forum: Python scripting and macros
Topic: TabBar
Replies: 117
Views: 35177

Re: TabBar

I love FreeCAD and its community
by SchmilBlick
Sun May 20, 2018 12:56 pm
Forum: Python scripting and macros
Topic: TabBar
Replies: 117
Views: 35177

Re: TabBar

Great module!
Maybe tooltips on the tabs headers would be nice?
by SchmilBlick
Thu May 17, 2018 9:10 pm
Forum: Python scripting and macros
Topic: [SOLVED] FreeCAD crashes with hidden object property when loading file
Replies: 12
Views: 1586

Re: [?BUG?] FreeCAD crashes with hidden object property when loading file

:) Great! No crash anymore for me too with all the documented arguments. However it's still crash without setting the attribute. Even if I assume it's not a good way to write python, it would be nice to have an exception. obj.addProperty("App::PropertyVector", "myVec", "fpVe...
by SchmilBlick
Wed May 16, 2018 9:23 pm
Forum: Python scripting and macros
Topic: [SOLVED] FreeCAD crashes with hidden object property when loading file
Replies: 12
Views: 1586

Re: [?BUG?] FreeCAD crashes with hidden object property when loading file

Thx for trying. I got the hint on the editormode setting here: https://forum.freecadweb.org/viewtopic.php?f=18&t=13460&sid=fe1eda78caf14c66864e466d8fa52c75&start=20#p167999 I tried again with 2 but the property stays visible. 2 setting is when using setEditorMode but this way it's not sa...
by SchmilBlick
Tue May 15, 2018 10:09 pm
Forum: Python scripting and macros
Topic: [SOLVED] FreeCAD crashes with hidden object property when loading file
Replies: 12
Views: 1586

Re: [?BUG?] FreeCAD crashes with hidden object property when loading file

Nobody tested to confirm if it's a bug or something related to my freecad setup?

thx in advance
by SchmilBlick
Tue May 15, 2018 10:02 pm
Forum: Python scripting and macros
Topic: Open Import Dialog from macro
Replies: 1
Views: 435

Re: Open Import Dialog from macro

hello, Inspired from this thread: https://forum.freecadweb.org/viewtopic.php?t=4076 from PySide import QtGui mFile, filefilter = QtGui.QFileDialog.getOpenFileName(QtGui.qApp.activeWindow(),'Chose file to import',FreeCAD.ConfigGet("UserHomePath"),'*.stp *.step') FreeCAD.Console.PrintMessage...
by SchmilBlick
Sat May 12, 2018 4:48 pm
Forum: Python scripting and macros
Topic: How to? Text(A=) On FaceP1P2P3
Replies: 1
Views: 769

Re: How to? Text(A=) On FaceP1P2P3

Hard to understand your question.
Do you want to put a text on a face, asking if it should be on one side or the opposite of a face?
by SchmilBlick
Sat May 12, 2018 4:31 pm
Forum: Python scripting and macros
Topic: I want to find Line-Connection macro
Replies: 1
Views: 612

Re: I want to find Line-Connection macro

I had the same question while coding some scripts. I found this explanation: tuple vs list https://stackoverflow.com/questions/1708510/python-list-vs-tuple-when-to-use-each tuple uses () when list uses []. With a list you can use the methods append et remove to add or remove points to your connectio...