Search found 1158 matches

Go to advanced search

by freman
Sun Aug 09, 2020 1:51 pm
Forum: Path/CAM
Topic: Using the PATH WB and Adaptive processing not releasing memory. Repeating the PostProcessing into a GRBL file increases
Replies: 43
Views: 1386

Re: Using the PATH WB and Adaptive processing not releasing memory. Repeating the PostProcessing into a GRBL file increa

It looks like the recursive call to parse() may be unnecessary. The group attribute is set when there are several paths to process but it seems this can only be one level deep , ie it's either a path or a group of paths. Removing the recursion would probably help with refcount build up. if hasattr(p...
by freman
Sun Aug 09, 2020 11:47 am
Forum: Path/CAM
Topic: Using the PATH WB and Adaptive processing not releasing memory. Repeating the PostProcessing into a GRBL file increases
Replies: 43
Views: 1386

Re: Using the PATH WB and Adaptive processing not releasing memory. Repeating the PostProcessing into a GRBL file increa

This file uses 3Dsurface but not adaptive. #1: /usr/lib64/python3.7/linecache.py:137: 485.0 KiB lines = fp.readlines() #2: /~/freecad-build/Mod/Path/PathScripts/post/grbl_post.py:496: 481.7 KiB out += linenumber() + format_outstring(outstring) + "\n" The latter was stable over 3 runs. the #1 increas...
by freman
Sat Aug 08, 2020 7:29 pm
Forum: Path/CAM
Topic: Using the PATH WB and Adaptive processing not releasing memory. Repeating the PostProcessing into a GRBL file increases
Replies: 43
Views: 1386

Re: Using the PATH WB and Adaptive processing not releasing memory. Repeating the PostProcessing into a GRBL file increa

I've decided not to spent anymore time trying to find the root cause. Took another approach and made a workaround. Can you please test this draft version of : grbltst_post.py As far as I can tell, it's not eating up the memory and is faster too. Next steps are regression testing and making sure it'...
by freman
Sat Aug 08, 2020 5:49 pm
Forum: Developers corner
Topic: how to force python to reload an imported file?
Replies: 5
Views: 137

Re: how to force python to reload an imported file?

Thanks, that's perfect.

What's the unit tests and IDE you are referring me to ?
by freman
Sat Aug 08, 2020 5:07 pm
Forum: Developers corner
Topic: improving performance.
Replies: 12
Views: 402

Re: improving performance.

voxc What question?! Your question is not specific enough, it's vague and abstract. How is anybody supposed to answer that? Your question is like this, "can we improve FreeCAD?" The answer is clearly, yes! Yes, we can! There, you got your answer. In the future, ask better questions. It seems that yo...
by freman
Sat Aug 08, 2020 1:28 pm
Forum: Developers corner
Topic: how to force python to reload an imported file?
Replies: 5
Views: 137

Re: how to force python to reload an imported file?

Many thanks, that is what I thought it was supposed to be and could not see why it did not work. The problem is there's a twist. reload can only reload something that was imported after importlib was loaded. That means if FC gets there first ( like I tried to run the post processor ) that name is no...
by freman
Sat Aug 08, 2020 12:05 pm
Forum: Developers corner
Topic: how to force python to reload an imported file?
Replies: 5
Views: 137

how to force python to reload an imported file?

Hi. Anyone able to help on this? When working on python code I need to reload a modified file to test . At the moment I have not found how to do this without quitting FC entirely , re-running, reopening whatever I was doing to get back to where I was. This is a crazy waste of time in debugging somet...
by freman
Fri Aug 07, 2020 7:55 pm
Forum: Path/CAM
Topic: Circle milled by using four arcs?
Replies: 16
Views: 411

Re: Circle milled by using four arcs?

Then comes into action the tuning of your axis system (using the PID controller of your motors), Just worth nothing that many home workshop systems don't have PID controlled servos but open circuit stepper motors. They are hopefully sufficiently detuned from critical performance, since there is no ...
by freman
Thu Aug 06, 2020 7:33 pm
Forum: Developers corner
Topic: improving performance.
Replies: 12
Views: 402

Re: improving performance.

Thanks vocx for being the fourth person to post a reply without being able to answer the question posed. I asked a simple technical question. I did not intend to get into protracted discussion about profiling etc. nor was I asking for any advice on what I needed to do or where I should do it. Neithe...
by freman
Thu Aug 06, 2020 5:09 pm
Forum: Path/CAM
Topic: Path Generation freezes
Replies: 7
Views: 265

Re: Path Generation freezes

Ah cool. Many thanks that saves me reapply them again locally.

Thanks for that effort. They were small but significant changes.

Go to advanced search