Search found 3190 matches

Go to advanced search

by looo
Tue Feb 14, 2017 7:28 am
Forum: Developers corner
Topic: 'KeyEvent.getState() == 1' is not tracked anymore (key "v")
Replies: 9
Views: 1359

'KeyEvent.getState() == 1' is not tracked anymore (key "v")

Today I encountered that some macros are not working anymore because pivys event handling has changed. To test: from pivy import coin def test(event_callback): event = event_callback.getEvent() print(event.getState()) view = Gui.ActiveDocument.ActiveView view.addEventCallbackPivy(coin.SoKeyboardEven...
by looo
Mon Feb 13, 2017 9:41 pm
Forum: Developers corner
Topic: netgen (6.2)
Replies: 6
Views: 1276

Re: netgen (6.2)

the pybind11 bindings are working, and it's possible to interact with netgen via python. But I have only tested with python3.
netgen.png
netgen.png (54.16 KiB) Viewed 1239 times
by looo
Mon Feb 13, 2017 9:30 pm
Forum: Developers corner
Topic: netgen (6.2)
Replies: 6
Views: 1276

Re: netgen (6.2)

nearly worked out of the box. https://github.com/looooo/netgen/commit/2ae741e440a3b7401815a4af26f0cdec0c7e7520 I used this script to build netgen: https://github.com/looooo/FreeCAD_Conda/blob/master/netgen/build.sh FindNetgen from FreeCAD needs the mydefs.hpp file. But in netgen this is called confi...
by looo
Mon Feb 13, 2017 4:54 pm
Forum: Developers corner
Topic: netgen (6.2)
Replies: 6
Views: 1276

netgen (6.2)

Just had a look at the netgen commits [1], and saw the fixes from @vejmarie [2] and @wmayer are in the master branch. There are also many other changes so building with the latest netgen-master will be quite challenging, and maybe we have to send them some patches again :D Anyway, good to know there...
by looo
Mon Feb 13, 2017 2:52 pm
Forum: Developers corner
Topic: [solved] python3 exception
Replies: 3
Views: 464

Re: python3 exception

I think I have found: there is no StringIO in python3
by looo
Mon Feb 13, 2017 2:29 pm
Forum: Developers corner
Topic: [solved] python3 exception
Replies: 3
Views: 464

[solved] python3 exception

I need some help with exceptions in python3. When a workbench or command fails the traceback is always "unknown". <unknown exception traceback> Searching for this in the source gives this result: https://github.com/FreeCAD/FreeCAD/blob/master/src/Base/PyTools.c#L281 So the unknown traceback is cause...
by looo
Sun Feb 12, 2017 7:42 pm
Forum: Developers corner
Topic: Porting to python3
Replies: 943
Views: 98276

Re: Porting to python3

Finally a python3-conda-package to test freecad with python3:
Instructions to install the package are on top of the python3-wiki: https://www.freecadweb.org/wiki/Python_3
by looo
Fri Feb 10, 2017 12:08 pm
Forum: Python scripting and macros
Topic: IPython notebook integration
Replies: 6
Views: 2580

Re: IPython notebook integration

this one could be of interest: http://osgjs.org/
by looo
Wed Feb 08, 2017 9:58 pm
Forum: Developers corner
Topic: Ipython Qt Console
Replies: 35
Views: 5388

Re: Ipython Qt Console

You mentioned libicu? What bug(s) are you referring to? Also what other non conda dependencies are we talking about here? No bug. Only a little dependency problem. Moving forward one library will brake others which do not depend on a fixed version number... Jupyter depends on on many libraries. I t...
by looo
Wed Feb 08, 2017 2:36 pm
Forum: Developers corner
Topic: Ipython Qt Console
Replies: 35
Views: 5388

Re: Ipython Qt Console

Any upstream tickets worth following ? If so, let's post them to this thread so we can track them? I think conda isn't that related to the jupyter-stuff. But jupyter recomends conda to install the jupyter-project. There is a conda-thread here in the forum. http://forum.freecadweb.org/viewtopic.php?...

Go to advanced search