dark rectangle in the corner of the plot screen?

  • sdf
  • Topic Author
  • New Member
  • New Member
More
7 years 6 months ago #130069 by sdf
any idea how to remove the dark rectangle in the corner of the plot screen?

Please Log in to join the conversation.

More
7 years 6 months ago #130070 by cmorley
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

Please Log in to join the conversation.

More
7 years 6 months ago #130075 by pl7i92
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
  • New Member
More
7 years 6 months ago #130083 by sdf

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.

More
7 years 6 months ago #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

Please Log in to join the conversation.

  • sdf
  • Topic Author
  • New Member
  • New Member
More
7 years 6 months ago #130111 by sdf

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.

More
7 years 6 months ago #130125 by cmorley
ok you must be using linuxcnc 2.7.x....

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
  • New Member
More
7 years 6 months ago #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 to join the conversation.

  • sdf
  • Topic Author
  • New Member
  • New Member
More
7 years 6 months ago #130136 by sdf

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

More
7 years 6 months ago #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 to join the conversation.

Time to create page: 0.177 seconds
Powered by Kunena Forum