Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geometry tool: iolet planes disappear after interaction and don't come back #767

Open
dhardma2 opened this issue Oct 27, 2021 · 4 comments
Assignees
Labels
gmytool Geometry generation tool

Comments

@dhardma2
Copy link

dhardma2 commented Oct 27, 2021

HemeLB geometry tool does not allow the radius of inlets/outlets to be selected.
(Please see error message below. Attached are lists of Conda and pip packages)
Ubuntu version: 20.04.2

Called from the command line with:

hlb-gmy-gui --stl ~/Desktop/HLBGeometries/BifurcationSingle3/bifurcation_clipped.stl

error message:

/home/dhardma2/anaconda3/envs/gmyHLB/lib/python3.6/site-packages/HlbGmyTool/Util/Observer.py:299: UserWarning: Attempting to remove observer from [] key DefaultIoletRadius
warnings.warn(f"Attempting to remove observer from {self} key {attr}")
/home/dhardma2/anaconda3/envs/gmyHLB/lib/python3.6/site-packages/HlbGmyTool/Util/Observer.py:299: UserWarning: Attempting to remove observer from <HlbGmyTool.Controller.PlacedIoletController.PlacedIoletListController object at 0x7f33e6d19eb8> key SelectedIndex
warnings.warn(f"Attemptin
warnings.warn(f"Attempting to remove observer from {self} key {attr}")
09:38:42: Debug: Unsupported OpenGL attribute 2016311160
09:38:42: Debug: Unsupported OpenGL attribute 1800815215
09:38:42: Debug: Unsupported OpenGL attribute 1999521652
09:38:42: Debug: Unsupported OpenGL attribute 1768842351
09:38:42: Debug: Unsupported OpenGL attribute 1198811991
09:38:42: Debug: Unsupported OpenGL attribute 1768842240
09:38:42: Debug: Unsupported OpenGL attribute 1198811991

(hlb-gmy-gui:3097): Gdk-WARNING **: 09:38:42.386: ../../../../../gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window

(hlb-gmy-gui:3097): Gdk-WARNING **: 09:38:43.718: ../../../../../gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window

(hlb-gmy-gui:3097): Gdk-WARNING **: 09:38:43.720: ../../../../../gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window

When adding an outlet it gives the additional error message:

/home/dhardma2/anaconda3/envs/gmyHLB/lib/python3.6/site-packages/HlbGmyTool/Util/Observer.py:299: UserWarning: Attempting to remove observer from <HlbGmyTool.Model.PlacedIolet.PlacedInlet object at 0x7f33e57233c8> key Radius
warnings.warn(f"Attempting to remove observer from {self} key {attr}")
/home/dhardma2/anaconda3/envs/gmyHLB/lib/python3.6/site-packages/HlbGmyTool/Util/Observer.py:299: UserWarning: Attempting to remove observer from <HlbGmyTool.Model.PlacedIolet.PlacedInlet object at 0x7f33e57233c8> key Centre
warnings.warn(f"Attempting to remove observer from {self} key {attr}")
/home/dhardma2/anaconda3/envs/gmyHLB/lib/python3.6/site-packages/HlbGmyTool/Util/Observer.py:299: UserWarning: Attempting to remove observer from <HlbGmyTool.Model.PlacedIolet.PlacedInlet object at 0x7f33e57233c8> key Normal
warnings.warn(f"Attempting to remove observer from {self} key {attr}"
conda_list.txt
pip_list.txt
)

@rupertnash rupertnash self-assigned this Oct 27, 2021
@rupertnash
Copy link
Member

Right I think I've reproduced that; I have many meetings tomorrow so this may have to wait until Monday.

@rupertnash
Copy link
Member

Hi @dhardma2 - I think this is fixed in main. Can you check this please? The "disappearing iolet planes" is a known problem, sadly. I recommend trying to avoid resizing them via the 3D controls, instead use the text box to alter the value. Sorry.

@dhardma2
Copy link
Author

dhardma2 commented Nov 1, 2021

Thanks for checking this Rupert. To clarify, it was not letting changing radii even in the text box (I realise I could have been clearer in the initial issue!). I'm planning to reinstall the geometry tool later this week so I'll let you know how it goes.

@rupertnash
Copy link
Member

No, I understand the issue.

I'm just letting you know there is a long standing problem with the UI if you manipulate an iolet "wrong" (and I can't define this sadly) it will just disappear permanently

@rupertnash rupertnash added the gmytool Geometry generation tool label Jun 8, 2022
@rupertnash rupertnash changed the title No in/outlet radius in HemeLB geometry tool Geometry tool: iolet planes disappear after interaction and don't come back Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gmytool Geometry generation tool
Projects
None yet
Development

No branches or pull requests

2 participants