dark rectangle in the corner of the plot screen?

More
01 Apr 2019 05:19 #130069 by sdf
any idea how to remove the dark rectangle in the corner of the plot screen?

Please Log in or Create an account to join the conversation.

More
01 Apr 2019 05:50 #130070 by cmorley
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

Please Log in or Create an account to join the conversation.

More
01 Apr 2019 05:59 #130075 by pl7i92
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.

More
01 Apr 2019 08:30 #130083 by sdf

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.

More
01 Apr 2019 14:27 #130095 by cmorley
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
The following user(s) said Thank You: sdf

Please Log in or Create an account to join the conversation.

More
01 Apr 2019 16:55 #130111 by sdf

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.

More
02 Apr 2019 02:33 #130125 by cmorley
ok you must be using linuxcnc 2.7.x....

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.

More
02 Apr 2019 04:05 #130128 by sdf
Thank You!! this is works great and removed this annoying rectangle!

and yes, I'm with linuxcnc version 2.7.8

Please Log in or Create an account to join the conversation.

More
02 Apr 2019 05:51 - 02 Apr 2019 06:04 #130136 by sdf

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!!B)
        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.

More
03 Apr 2019 04:36 #130183 by cmorley
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

Please Log in or Create an account to join the conversation.

Time to create page: 0.119 seconds
Powered by Kunena Forum