Seems like a buffer size limit on toolpath highlighting

More
5 years 8 months ago #200370 by turbostew
Hello All,

When I am running Gcode on QtDragon, the toolpath display turns red wherever code has executed. Problem is on large files, the old executed highlighted toolpath turns back white again eventually as if there is a buffer size limit on the red highlighting. How do I fix this so code does so toolpath does not revert back to white???


I would also love to know how to do different colors of toolpath highlighting for different tools....

Please Log in to join the conversation.

More
5 years 8 months ago #200375 by cmorley
I have not seen this problem before - do you have a gcode that you could share that shows this problem?

It is possible to change the colors by tool number (in master branch) - here is a hint:
Code:
class HandlerClass: def __init__(self, halcomp, widgets, paths): STATUS.connect('tool-in-spindle-changed', lambda w, t: self.change_tool_plot_color(t))
Code:
##################### # GENERAL FUNCTIONS # ##################### def change_tool_plot_color(self, t): if t == 1: self.w.gcodegraphics.set_plot_colors(jog=(255,0,0,255)) elif t == 2: self.w.gcodegraphics.set_plot_colors(jog=(0,255,0,255)) else: self.w.gcodegraphics.set_plot_colors()

Let me know how that works - I may include it in future versions.

Chris

Please Log in to join the conversation.

More
5 years 8 months ago #200376 by cmorley
forgot:

key words can be:
jog=None,traverse=None,feed=None,
arc=None,toolchange=None,probe=None

color = (red, green, blue, alpha)
each are 0-255

Please Log in to join the conversation.

More
5 years 8 months ago #200423 by turbostew
As usual...... Thanks Chris!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

So I have seen it on a few large code programs, both are bunches of nested parts. These are customer company logos so I don't want to share. The toolpath disappears in chunks, like 100 (total guess) lines of gcode at a time.....

Please Log in to join the conversation.

More
5 years 8 months ago #200434 by cmorley
ok I got it - and deleted it from here. I'll do some testing a little later

Please Log in to join the conversation.

More
5 years 7 months ago #200722 by turbostew
Hey Chris,

Find anything yet?

Please Log in to join the conversation.

More
5 years 7 months ago #200745 by cmorley
sorry I've been help up looking at it

Please Log in to join the conversation.

More
5 years 7 months ago #200779 by cmorley

Attachment not found



Yes I see odd behaivour... the first colored circles slowly become un colored....

Please Log in to join the conversation.

More
5 years 7 months ago #200791 by snowgoer540
FWIW, I see this same thing on large g-code runs in PathPilot. Seems there's some limit somewhere.

Please Log in to join the conversation.

More
5 years 7 months ago #200800 by tommylight
If you mean the red color disappearing slowly from the path that has already been travelled, happens in Axis GUI also, i would call that normal.

Please Log in to join the conversation.

Time to create page: 2.810 seconds
Powered by Kunena Forum