Search found 38 matches

by HurdyGuigui
Fri May 30, 2014 9:20 am
Forum: Python scripting and macros
Topic: onChanged() redundant
Replies: 0
Views: 1193

onChanged() redundant

Hello, I am working with scripted objects. Sometime le onChanged() method is triggered even if the new value is the same as before : if obj.myprop value is 12 if I do obj.myprop=12 then the onChanged method is triggered but actually the prop did'nt changed because the value stay the same. Is there a...
by HurdyGuigui
Tue May 13, 2014 3:06 pm
Forum: Python scripting and macros
Topic: macro toolbar in edit mode greyed.
Replies: 4
Views: 1539

Re: macro toolbar in edit mode greyed.

Thank you again :) , I should manage to deal with the downsides somehow.
by HurdyGuigui
Tue May 13, 2014 2:07 pm
Forum: Python scripting and macros
Topic: macro toolbar in edit mode greyed.
Replies: 4
Views: 1539

Re: macro toolbar in edit mode greyed.

Ok, thanks for your answer, actually I already launch the macro via the console, but as I use it quite often I am trying to figure a way to add it to the toolbar.
Do you know if it is possible to add items to toolbars using PySide? So that I could make it available even in edit mode?
by HurdyGuigui
Tue May 13, 2014 1:04 pm
Forum: Python scripting and macros
Topic: macro toolbar in edit mode greyed.
Replies: 4
Views: 1539

macro toolbar in edit mode greyed.

Hello, I made a script that I want to use when editing a sketch. I put the script in a macro and then in a custom toolbar via the customize option. The problem is, the button is there and I can use it but when I am in edit mode (to edit the sketch), the button is greyed and I can't use it. Is there ...
by HurdyGuigui
Mon Apr 14, 2014 8:15 am
Forum: Pull Requests
Topic: [Postponed] Assembly Feature Python
Replies: 4
Views: 5081

Re: Assembly Feature Python

Hi, no problem for the patch, it was just a fix so I could script some properties. Good to hear that you are working again on the assembly branch ! :)
by HurdyGuigui
Tue Apr 01, 2014 2:15 pm
Forum: Developers corner
Topic: Constraint datum value
Replies: 2
Views: 1299

Re: Constraint datum value

I used the function not to set the constraint, but just to get the datum value of the constraint. Maybe there is an other way to get it already?
by HurdyGuigui
Tue Apr 01, 2014 9:38 am
Forum: Developers corner
Topic: Constraint datum value
Replies: 2
Views: 1299

Constraint datum value

Hello, I compiled the last version today, and some of my scripts don't work anymore because I used the constraint.Value to get datum value from constraints and it seems that this parameter has been removed. I guess this has to do with the new unit system. Is there a way to put this back easily? Or s...
by HurdyGuigui
Thu Mar 20, 2014 5:44 pm
Forum: Python scripting and macros
Topic: DocumentObject.py improvements
Replies: 2
Views: 2102

DocumentObject.py improvements

Hello, After working a bit with FreeCAD, I found it not that easy to work with scripted objects, specialy for building big projects. I like the way the DocumentObject.py hide the Proxy, but still it was not tottaly hidden. I modified the DocumentObject and I find it a lot more easier to work with, s...
by HurdyGuigui
Wed Mar 19, 2014 9:20 pm
Forum: Archived Pull Requests
Topic: Fixed SketchObjectPython
Replies: 3
Views: 2890

Fixed SketchObjectPython

Hello, I fixed, the Sketcher::SketchObjectPython : -The functions of Sketcher::SketchObject were not accessible when creating and using a SketchObjectPython -When creating a SketchObjectPython, the C++ execute() function is not called but the new execute function from the python code. This is a prob...
by HurdyGuigui
Thu Mar 13, 2014 3:00 pm
Forum: Help on using FreeCAD
Topic: crash : create new view
Replies: 4
Views: 1288

Re: crash : create new view

Hey, thank you for your replies. I first compiled the latest commit clean, but the problem was still there. I checked my video card (ATi radeon 5770) driver, my system used the open source driver. I just installed proprietary driver, and now it works fine. By the way I didnt't know to run cmake . to...