Seems like a buffer size limit on toolpath highlighting
28 Feb 2021 04:27 - 28 Feb 2021 04:28 #200370
by turbostew
Seems like a buffer size limit on toolpath highlighting was created 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....
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....
Last edit: 28 Feb 2021 04:28 by turbostew.
Please Log in or Create an account to join the conversation.
28 Feb 2021 06:38 #200375
by cmorley
Replied by cmorley on topic Seems like a buffer size limit on toolpath highlighting
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:
Let me know how that works - I may include it in future versions.
Chris
It is possible to change the colors by tool number (in master branch) - here is a hint:
class HandlerClass:
def __init__(self, halcomp, widgets, paths):
STATUS.connect('tool-in-spindle-changed', lambda w, t: self.change_tool_plot_color(t))
#####################
# 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 or Create an account to join the conversation.
28 Feb 2021 06:41 #200376
by cmorley
Replied by cmorley on topic Seems like a buffer size limit on toolpath highlighting
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
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 or Create an account to join the conversation.
28 Feb 2021 15:13 #200423
by turbostew
Replied by turbostew on topic Seems like a buffer size limit on toolpath highlighting
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.....
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 or Create an account to join the conversation.
28 Feb 2021 16:27 #200434
by cmorley
Replied by cmorley on topic Seems like a buffer size limit on toolpath highlighting
ok I got it - and deleted it from here. I'll do some testing a little later
Please Log in or Create an account to join the conversation.
01 Mar 2021 19:47 #200722
by turbostew
Replied by turbostew on topic Seems like a buffer size limit on toolpath highlighting
Hey Chris,
Find anything yet?
Find anything yet?
Please Log in or Create an account to join the conversation.
01 Mar 2021 22:52 #200745
by cmorley
Replied by cmorley on topic Seems like a buffer size limit on toolpath highlighting
sorry I've been help up looking at it
Please Log in or Create an account to join the conversation.
02 Mar 2021 12:59 #200779
by cmorley
Replied by cmorley on topic Seems like a buffer size limit on toolpath highlighting
Attachments:
Please Log in or Create an account to join the conversation.
- snowgoer540
- Away
- Moderator
Less
More
- Posts: 2386
- Thank you received: 779
02 Mar 2021 15:29 #200791
by snowgoer540
Replied by snowgoer540 on topic Seems like a buffer size limit on toolpath highlighting
FWIW, I see this same thing on large g-code runs in PathPilot. Seems there's some limit somewhere.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19106
- Thank you received: 6398
02 Mar 2021 16:30 #200800
by tommylight
Replied by tommylight on topic Seems like a buffer size limit on toolpath highlighting
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 or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.090 seconds