Seems like a buffer size limit on toolpath highlighting

More
3 years 10 months ago #258773 by snowgoer540
To my knowledge, this has been this way for ... ?  I know it's the same way in pathpilot, which uses 2.8.  

I think I see where this could be changed, but I need a big g-code file to play with to test.  

Anyone have anything readily available?

Please Log in or Create an account to join the conversation.

More
More
3 years 10 months ago #258781 by snowgoer540

Anyone have anything readily available?
First post, right click and choose save as:
forum.linuxcnc.org/38-general-linuxcnc-q...large-ngc-file-crash

Thanks Tommy. That crashes lcnc on my VM though. Anything in between :laugh:

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago - 3 years 10 months ago #258826 by turbostew
 

File Attachment:

File Name: OffsetStee...t.nc.tar
File Size:50 KB
This file looses highlighting... 
Last edit: 3 years 10 months ago by turbostew.
The following user(s) said Thank You: snowgoer540

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #258845 by snowgoer540
It's interesting because this file does not cause the backplot issue by default for me:

Warning: Spoiler!


However, I found the line of code that is responsible for what the max number of points that is allowed is. I changed it from the default of 10000 to 1000 and this is the result:
Warning: Spoiler!


I wish I had a longer g-code file to see where this affects me, vs where this affects you. I don't understand why it would be different, save for some computer graphics/memory differences.

What I am getting at is I wonder if I change this number to make it 10x bigger (100000), or even 100x bigger, will you experience the same backplotter limitations?

I am unsure if you have a RIP or package install, but here is the line of code:
github.com/LinuxCNC/linuxcnc/blob/131761...s/emcmodule.cc#L1981

For what it's worth, below is a commit from June 16, 2009 that changed it from 100000 to 10000. There is no explanation as to why it was changed in the commit details. In fact this is the last time this particular line of code was touched.

I would be happy to push a change to make this bigger, but if no fruitful discussion comes about here, I would want to ping the dev email list to see if anyone is aware of any potential ill effects for other users (but of course, the development branch is for development and testing, after all).

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #258846 by snowgoer540
Here is the aforementioned commit:

github.com/LinuxCNC/linuxcnc/commit/13e7...418cfbc117436d8c9f38

I didnt feel like fighting the editor to fix my blunder. :)

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.372 seconds
Powered by Kunena Forum