Glass
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- adrianinsaval
- Veteran
- Posts: 5553
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Glass
Yes, this the forum topic: https://forum.freecadweb.org/viewtopic.php?f=34&t=45349
Re: Glass
Ok, thanks! I'll wait it out then
If anyone knows how to completely "disable" the whole Glass dock background in GlassGui.py - that would be amazing. I tried some hours but failed (my first ever try in python)
If anyone knows how to completely "disable" the whole Glass dock background in GlassGui.py - that would be amazing. I tried some hours but failed (my first ever try in python)
Re: Glass
I have the same problem: when trying to rename nodes in the tree the text is blurred between the new and the old.Kunda1 wrote: ↑Sat Jan 23, 2021 1:43 pm@triplus has been 'off the radar' for a while now. I'll talk to yorik and we'll clone his repos so issues can be addressedfarahats9 wrote: ↑Sat Jan 23, 2021 2:02 am I just made a pull request fixing the issue of text transparency when renaming a node. I hope triplus would merge it.
https://github.com/triplus/Glass/pull/6
Re: Glass
Hi guys,
After the Glass add-on installation, around the application tree, there is some white small frame. Anyone had that issue before, and how it can be solved? It's not effecting work at all, just annoying..
After the Glass add-on installation, around the application tree, there is some white small frame. Anyone had that issue before, and how it can be solved? It's not effecting work at all, just annoying..
- Attachments
-
- Screenshot 2023-04-19 at 12.39.42.png (88.9 KiB) Viewed 3083 times
Re: Glass
Hi, anyone know how to resize (expand) the Tree window? It cuts the names if the Tree hierarchy is big ...
Code: Select all
OS: Linux Mint 21.1 (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.21.
Build type: Release
Branch: unknown
Hash: 1faf86c3da12c1712e1d5ec015721d9aa02f8672
Python 3.10.4, Qt 5.15.3, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: English/United States (en_US)
Installed mods:
* Manipulator 1.5.0
* Dracula 0.0.4
* ExtremeProDark 2.8.0
* ProDarkThemePreferencePack 1.0.0
* Glass
* Render 2023.2.5
Re: Glass
It is supposed to resize automatically but if not change around line 191 of Mod/Glass/GlassGui.py from:
Code: Select all
w = mdi.geometry().width() / 100 * 20
to
Code: Select all
w = mdi.geometry().width() / 100 * 40
Code: Select all
OS: Windows 7 build 7601
Word size of FreeCAD: 64-bit
Version: 0.21.0.33321 (Git)
Build type: Release
Branch: master
Hash: 1d61ed187c9633702818c6cc5d7a1f07dd052ca8
Python 3.8.16, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods:
* A2plus 0.4.60f
* Alternate_OpenSCAD 1.0.0
* Assembly3 0.11.4
* Assembly4 0.12.6
* CfdOF 1.20.4
* Curves 0.6.6
* fasteners 0.4.54
* fcgear 1.0.0
* freecad.xray 2022.4.17
* FreeCAD_Turning_Addon 0.1.0
* Glass
* Help 1.0.3
* Manipulator 1.5.0
* PitchedRoof
* Plot 2022.4.17
* Render 2023.2.2
* sheetmetal 0.2.63
* Silk 1.0.0
* timber
* workfeature
Re: Glass
Sorry, another question. I got an issue using FreeCAD Std Alignment having Glass Addon installed:
viewtopic.php?p=684857#p684857
viewtopic.php?p=684857#p684857
Re: Glass
Very nice addon, although I have run into a snag. The area used for the overlay is off limits to the mouse. You can't drag anything into that area, you can't centre-click to rotate or pan. It's like there is an invisible panel overlaid on the viewport. You can click on the items in the tree, but not anything in the main viewport.
Re: Glass
That is correct, it is the main flaw with the addon. It just takes the treeview panel and makes the background transparent but doesn't pass mouse interactions through the transparency to whatever is underneath. I've tried several approaches to modify the python for for this to add that functionality but have had no luck.mrwolfe wrote: ↑Fri Sep 22, 2023 12:50 am Very nice addon, although I have run into a snag. The area used for the overlay is off limits to the mouse. You can't drag anything into that area, you can't centre-click to rotate or pan. It's like there is an invisible panel overlaid on the viewport. You can click on the items in the tree, but not anything in the main viewport.
Re: Glass
Obviously you could select the most "external surface" so if a surface is hidden by another surface it is complicated to tell the Selection mechanism to ignore this.
I've used sometimes in FreeCAD a trick "make a line" and check which solids it intersects.
But I don't know how this approach could be done in Coin, as probably it has to be done when hovering the mouse over the 3d view.
Maybe @wmayer could help on some extent.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/