Search found 35 matches

by mumme
Mon Apr 17, 2017 6:53 pm
Forum: Developers corner
Topic: Python debugger, python editor
Replies: 25
Views: 8388

Python debugger, python editor

Edit: this project has now been forked by @ferranpujolcamins, see this post for more details Hi! Just to let you know... I have started to make the builtin python debugger workable, and did some fixes to the editor to make it more user friendly. The codebase already had some functionality for a pyt...
by mumme
Tue Jul 14, 2015 9:33 pm
Forum: Path/CAM
Topic: [Path] Compound objects copys its childs paths?
Replies: 21
Views: 5435

Re: [Path] Compound objects copys its childs paths?

I should make a correction to my above sentence about the crash happening when launching the workbench- I was wrong- it only happens when I create a new project from the workbench, which is understandable. Maybe we should create a good python console test for this new compound object, with some pat...
by mumme
Thu Jul 09, 2015 6:44 pm
Forum: Developers corner
Topic: Late introduction, question on tests
Replies: 5
Views: 1959

Re: Late introduction, question on tests

Ok, thanks!

Will look into it.
by mumme
Wed Jul 08, 2015 9:22 pm
Forum: Path/CAM
Topic: Path module merged in master!
Replies: 79
Views: 22918

Re: Path module merged in master!

However empty arguments check is needed if you are going to construct a new empty Tooltable. OK, but then the error message is confusing: Argument must be a list or a dictionary It should be made clear that also an empty argument list is allowed. Makes sense, how about: "Argument, if supplied,...
by mumme
Wed Jul 08, 2015 9:07 pm
Forum: Developers corner
Topic: Late introduction, question on tests
Replies: 5
Views: 1959

Late introduction, question on tests

Hi, I haven't formally introduced myself. My name is Fredrik Johansson, live in the south of Sweden. English is not my native tounge so please excuse me if I write/do something awkward. I have done some small contributions to the Path workbench because I am interested in this, although I don't have ...
by mumme
Wed Jul 08, 2015 8:25 pm
Forum: Path/CAM
Topic: Path module merged in master!
Replies: 79
Views: 22918

Re: Path module merged in master!

It only crashes when no argument is passed to Path.Tooltable because then pcObj is accessed while it's not initialized. To fix this it suffices to remove the vertical bar from "|O!". The additional check at the top can be removed. if (PyTuple_Size(args) == 0) { return 0; } Thank you Werne...
by mumme
Wed Jul 08, 2015 10:55 am
Forum: Path/CAM
Topic: Path module merged in master!
Replies: 79
Views: 22918

Re: Path module merged in master!

Very nice addition to FreeCAD. Compiled OK here on Fedora 20, 64 bit. I'm getting a segmentation fault when I try to import a tooltable from Heekscad. My 'default.tooltable' is zipped and attached. #0 0x00000034a1e817e6 in PyDict_Next () from /lib64/libpython2.7.so.1.0 #1 0x00007fffd9c1eb90 in Path...
by mumme
Tue Jul 07, 2015 3:49 pm
Forum: Path/CAM
Topic: [Path] Compound objects copys its childs paths?
Replies: 21
Views: 5435

Re: [Path] Compound objects copys its childs paths?

If you want you could perhaps try -DCMAKE_CXX_FLAGS=-std=c++11 during configure? Ok, tried that and got the same error. Ok I have now tested it on ubuntu 14.04 and indeed got the same error as you. Just checked in a fix that makes my ubuntu happy. Can you please try again when you have some time?
by mumme
Mon Jul 06, 2015 1:52 pm
Forum: Path/CAM
Topic: Path module merged in master!
Replies: 79
Views: 22918

Re: Path module merged in master!

@werner - I haven't looked into it much myself, but I just fired off a build with -DUSE_EXTERNAL_KDL=OFF and got: In file included from /Users/irees/Projects/freecad-code/src/Mod/Robot/App/kdl_cp/kinfam_io.cpp:22: In file included from /Users/irees/Projects/freecad-code/src/Mod/Robot/App/kdl_cp/kin...
by mumme
Mon Jul 06, 2015 1:36 pm
Forum: Path/CAM
Topic: Path module merged in master!
Replies: 79
Views: 22918

Re: Path module merged in master!

Where do you add -DUSE_EXTERNAL_KDL=ON in make or in cmake? This because i get the following warning when i add it to cmake This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done CMake Warning: Manually-specified variables were not used by the project: USE_EXTERNAL_...