- Thank you received: 0
dark rectangle in the corner of the plot screen?
- sdf
- Topic Author
- New Member
-
Less
More
7 years 6 months ago #130069
by sdf
dark rectangle in the corner of the plot screen? was created by sdf
Please Log in to join the conversation.
7 years 6 months ago #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
Code:
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 to join the conversation.
7 years 6 months ago #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 to join the conversation.
- sdf
- Topic Author
- New Member
-
Less
More
- Thank you received: 0
7 years 6 months ago #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?
cmorley wrote: add:
Code: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 to join the conversation.
7 years 6 months ago #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
Please Log in to join the conversation.
- sdf
- Topic Author
- New Member
-
Less
More
- Thank you received: 0
7 years 6 months ago #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?
cmorley wrote: 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 to join the conversation.
7 years 6 months ago #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:
Code:
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)
Please Log in to join the conversation.
- sdf
- Topic Author
- New Member
-
Less
More
- Thank you received: 0
7 years 6 months ago #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 to join the conversation.
- sdf
- Topic Author
- New Member
-
Less
More
- Thank you received: 0
7 years 6 months ago #130136
by sdf
sorry, still not perfect, the homing marks are now gone as well.:blink:
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?
sdf wrote: 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.:blink:
Edit:
instead of removing all the lines, just comment those lines:
now i have the homing marks, and no rectangle!!
Code:
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.
Please Log in to join the conversation.
7 years 6 months ago #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 to join the conversation.
Time to create page: 0.117 seconds
