- Posts: 128
- Thank you received: 0
Seems like a buffer size limit on toolpath highlighting
5 years 8 months ago #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....
Please Log in to join the conversation.
5 years 8 months ago #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:
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.
5 years 8 months ago #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 to join the conversation.
5 years 8 months ago #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 to join the conversation.
5 years 8 months ago #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 to join the conversation.
5 years 7 months ago #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 to join the conversation.
5 years 7 months ago #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 to join the conversation.
5 years 7 months ago #200779
by cmorley
Yes I see odd behaivour... the first colored circles slowly become un colored....
Replied by cmorley on topic Seems like a buffer size limit on toolpath highlighting
Attachment not found
Yes I see odd behaivour... the first colored circles slowly become un colored....
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
Less
More
- Posts: 2580
- Thank you received: 0
5 years 7 months ago #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 to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
5 years 7 months ago #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 to join the conversation.
Time to create page: 2.810 seconds
