Glass

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

Re: Glass

Post by OficineRobotica »

Roribez wrote: Wed Jul 01, 2020 7:19 pm
Above there was a comment about a Glass++ to come, so maybe all this is already going to be developed another way. Otherwise, if there is any interest in having this modified version, let me know.
Realthundr's code for the overlay interface is really cool and has allot of features but I guess it will be long till we will see it in master. In my humble opinion Glass will be relevant still for some time so any improvement to the code is really welcomed. Just a simple user here. Thank you devs for your work
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
Roribez
Posts: 9
Joined: Thu Jun 25, 2020 5:17 pm

Re: Glass

Post by Roribez »

I edited the previous post and attached the modified version of GlassGui.py.

link to previous post with files: https://forum.freecadweb.org/viewtopic. ... 60#p413236
Last edited by Roribez on Sun Jul 26, 2020 6:42 pm, edited 1 time in total.
User avatar
<Charlie_root>
Posts: 53
Joined: Mon Aug 12, 2019 8:01 pm
Contact:

Re: Glass

Post by <Charlie_root> »

wait, would it also be possible to make FreeCAD's viewport itself transparent (and the other properties/task windows too ) ? that way you can see your blurred desktop in the background. Basically like glasscord https://i.redd.it/5ac4ngqf67r41.png
I mean it's all the rage these days lol. Is it practical ? Who cares it looks awesome, amirite ?
Last edited by <Charlie_root> on Fri Jul 10, 2020 11:50 pm, edited 1 time in total.
RETRIBUTION IS AT HAND
Roribez
Posts: 9
Joined: Thu Jun 25, 2020 5:17 pm

Re: Glass

Post by Roribez »

<Charlie_root> wrote: Thu Jul 02, 2020 1:45 pm wait, would it also be possible to make FreeCAD's viewport itself transparent (and the other properties/taska windows too ) ? that way you can see your blurred desktop in the background. Basically like glasscord https://i.redd.it/5ac4ngqf67r41.png
I mean it's all the rage these days lol. Is it practical ? Who cares it looks awesome, amirite ?
Right now that's too much for me, I'm just starting with programming. But maybe sometime in the future I could try to do that, but probably someone will have it done before :D
Roribez
Posts: 9
Joined: Thu Jun 25, 2020 5:17 pm

Re: Glass

Post by Roribez »

Roribez wrote: Thu Jul 02, 2020 11:59 am I edited the previous post and attached the modified version of GlassGui.py.
I edited the post again and updated the attached to GlassGui-modified_v2.py.
Fixed some bugs.

link to previous post with files: https://forum.freecadweb.org/viewtopic. ... 60#p413236
Last edited by Roribez on Sun Jul 26, 2020 6:43 pm, edited 1 time in total.
User avatar
Vincent B
Veteran
Posts: 4731
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Glass

Post by Vincent B »

:roll: mmm... nobody have asked how to start glass yet with a laptop that doesn't have a numeric keyboard?
Which key is it? help. :roll: this is 2 years i'm trying ctrl+1. Or maybe it's because I have a french keyboard?
-> why not add it out in view menu now?
User avatar
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

Re: Glass

Post by OficineRobotica »

GlouGlou wrote: Mon Jul 13, 2020 9:10 pm :roll: mmm... nobody have asked how to start glass yet with a laptop that doesn't have a numeric keyboard?
Which key is it? help. :roll: this is 2 years i'm trying ctrl+1. Or maybe it's because I have a french keyboard?
-> why not add it out in view menu now?
Am I missing something? Wasn't Q+1 keyboard shortcut to start Glass? Anyway...it can be set in the Glass.py file.
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
tonilupi
Posts: 16
Joined: Fri May 08, 2020 11:14 pm

Re: Glass

Post by tonilupi »

Roribez wrote: Fri Jul 03, 2020 12:58 am
Roribez wrote: Thu Jul 02, 2020 11:59 am I edited the previous post and attached the modified version of GlassGui.py.
I edited the post again and updated the attached to GlassGui-modified_v2.py.
Had forgot one line to a stop timer.
Thanks you so much.

I tried the crystal mode but as I am starting in scripting with Python I was very bothered by the tree overlaping over the text on FCmacro-Editor, now I can use it as is expected.
Roribez
Posts: 9
Joined: Thu Jun 25, 2020 5:17 pm

Re: Glass

Post by Roribez »

tonilupi wrote: Fri Jul 17, 2020 9:23 pm
Roribez wrote: Fri Jul 03, 2020 12:58 am
Roribez wrote: Thu Jul 02, 2020 11:59 am I edited the previous post and attached the modified version of GlassGui.py.
I edited the post again and updated the attached to GlassGui-modified_v2.py.
Had forgot one line to a stop timer.
Thanks you so much.

I tried the crystal mode but as I am starting in scripting with Python I was very bothered by the tree overlaping over the text on FCmacro-Editor, now I can use it as is expected.
After that, I made some minor improvements to it, so maybe you want to update it again. Fixed some small bugs.
In pararel, I also made a version which includes a transparent Report View on the bottom of the Tree view. I prefer it this way, so the Report view won't bother me poping up all the time and it won't take so much space on the screen. Maybe you want to try this one also. There is a print screen on the original post, and both v3 updated files.

link to original post with files: ( https://forum.freecadweb.org/viewtopic. ... 60#p413236 )
opossumax
Posts: 1
Joined: Wed Sep 23, 2020 5:10 pm

Re: Glass

Post by opossumax »

I am having an issue with the tree autohiding unless I put the mouse directly over it. Also, the tree is very short and I have to scroll through it.
I installed Glass through the addon manager.

I would attach an image but I don't have time right now to jump through those hoops.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22474 (Git)
Build type: Release
Branch: master
Hash: a44f8ffd427fa9b23b1f00dbf62d66cd152cd774
Python version: 3.8.5
Qt version: 5.12.6
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Post Reply