dark rectangle in the corner of the plot screen?
01 Apr 2019 05:19 #130069
by sdf
dark rectangle in the corner of the plot screen? was created by sdf
Please Log in or Create an account to join the conversation.
01 Apr 2019 05:50 #130070
by cmorley
Replied by cmorley on topic dark rectangle in the corner of the plot screen?
add:
to your .axisrc file.
It's a hidden file in your home directory (or add it if it's not there)
Chris M
o.show_overlay = False
to your .axisrc file.
It's a hidden file in your home directory (or add it if it's not there)
Chris M
Please Log in or Create an account to join the conversation.
01 Apr 2019 05:59 #130075
by pl7i92
Replied by pl7i92 on topic dark rectangle in the corner of the plot screen?
You shoudt also disable the offets in the VIEW Menue to get your DRO to a better use
Please Log in or Create an account to join the conversation.
01 Apr 2019 08:30 #130083
by sdf
do nothing.
is there a away to hard coded remove it?
Replied by sdf on topic dark rectangle in the corner of the plot screen?
add:
o.show_overlay = False
to your .axisrc file.
It's a hidden file in your home directory (or add it if it's not there)
Chris M
do nothing.
is there a away to hard coded remove it?
Please Log in or Create an account to join the conversation.
01 Apr 2019 14:27 #130095
by cmorley
Replied by cmorley on topic dark rectangle in the corner of the plot screen?
It does in my test machine (master branch) what branch are you using?
Yes in the file lib/python/rs274/glcannon
look for :
self.show_overlay = True
change to False
Chris M
Yes in the file lib/python/rs274/glcannon
look for :
self.show_overlay = True
change to False
Chris M
The following user(s) said Thank You: sdf
Please Log in or Create an account to join the conversation.
01 Apr 2019 16:55 #130111
by sdf
this is the glcanon.py file I have
paste.debian.net/1075513
I can't find " self.show_overlay" in it.
I was also tried to play with the colors of the overlays (0.00 to 1.00 values) in the color section (start at line 323) but it did nothing
Replied by sdf on topic dark rectangle in the corner of the plot screen?
It does in my test machine (master branch) what branch are you using?
Yes in the file lib/python/rs274/glcannon
look for :
self.show_overlay = True
change to False
Chris M
this is the glcanon.py file I have
paste.debian.net/1075513
I can't find " self.show_overlay" in it.
I was also tried to play with the colors of the overlays (0.00 to 1.00 values) in the color section (start at line 323) but it did nothing
Please Log in or Create an account to join the conversation.
02 Apr 2019 02:33 #130125
by cmorley
Replied by cmorley on topic dark rectangle in the corner of the plot screen?
ok you must be using linuxcnc 2.7.x....
remove these lines from glcanon.py:
remove these lines from glcanon.py:
glDepthFunc(GL_ALWAYS)
glDepthMask(GL_FALSE)
glEnable(GL_BLEND)
glBlendFunc(GL_ONE, GL_CONSTANT_ALPHA)
glColor3f(*self.colors['overlay_background'])
glBlendColor(0,0,0,1-self.colors['overlay_alpha'])
glBegin(GL_QUADS)
glVertex3f(0, ypos, 1)
glVertex3f(0, ypos - 8 - linespace*len(posstrs), 1)
glVertex3f(pixel_width+42, ypos - 8 - linespace*len(posstrs), 1)
glVertex3f(pixel_width+42, ypos, 1)
glEnd()
glDisable(GL_BLEND)
The following user(s) said Thank You: sdf
Please Log in or Create an account to join the conversation.
02 Apr 2019 04:05 #130128
by sdf
Replied by sdf on topic dark rectangle in the corner of the plot screen?
Thank You!! this is works great and removed this annoying rectangle!
and yes, I'm with linuxcnc version 2.7.8
and yes, I'm with linuxcnc version 2.7.8
Please Log in or Create an account to join the conversation.
02 Apr 2019 05:51 - 02 Apr 2019 06:04 #130136
by sdf
sorry, still not perfect, the homing marks are now gone as well.
Edit:
instead of removing all the lines, just comment those lines:
now i have the homing marks, and no rectangle!!
I wish it was a way to control the size of them and the color, maybe even the font and put classic 7 segment dro font, and make them a bit larger then the small font, also bright yellow on the black background will be very easy to read.
Replied by sdf on topic dark rectangle in the corner of the plot screen?
Thank You!! this is works great and removed this annoying rectangle!
and yes, I'm with linuxcnc version 2.7.8
sorry, still not perfect, the homing marks are now gone as well.
Edit:
instead of removing all the lines, just comment those lines:
now i have the homing marks, and no rectangle!!
glDepthFunc(GL_ALWAYS)
glDepthMask(GL_FALSE)
glEnable(GL_BLEND)
glBlendFunc(GL_ONE, GL_CONSTANT_ALPHA)
glColor3f(*self.colors['overlay_background'])
glBlendColor(0,0,0,1-self.colors['overlay_alpha'])
# glBegin(GL_QUADS)
# glVertex3f(0, ypos, 1)
# glVertex3f(0, ypos - 8 - linespace*len(posstrs), 1)
# glVertex3f(pixel_width+42, ypos - 8 - linespace*len(posstrs), 1)
# glVertex3f(pixel_width+42, ypos, 1)
# glEnd()
glDisable(GL_BLEND)
I wish it was a way to control the size of them and the color, maybe even the font and put classic 7 segment dro font, and make them a bit larger then the small font, also bright yellow on the black background will be very easy to read.
Last edit: 02 Apr 2019 06:04 by sdf.
Please Log in or Create an account to join the conversation.
03 Apr 2019 04:36 #130183
by cmorley
Replied by cmorley on topic dark rectangle in the corner of the plot screen?
Glad you got there.
I'm sure you could change those things - just the effort is quite high.
The color shouldn't be that bad to change.
lib/python/hershey defines the text in openGL.
Chris M
I'm sure you could change those things - just the effort is quite high.
The color shouldn't be that bad to change.
lib/python/hershey defines the text in openGL.
Chris M
Please Log in or Create an account to join the conversation.
Time to create page: 0.119 seconds