Stop cut plane from taking over control of scroll wheel
So whenever you turn on cut plane, the scroll wheel gets mapped to adjust the position of the cut plane. This is absurdly annoying.
Even worse, after you turn the cut plane off, it is still mapped to the cut plane depth control. This even interferes with my SpaceMouse too, so I can't use it for anything. How do I stop this? |
I have been working with ICEM for more than a decade and never found a solution. Just be very carefully with the scroll wheel when you create a cut plane.
Nevertheless, when I turn it off, it is really off. But I only use a three-button-mouse. |
lol. Glad to know I'm not the only one.
I personally don't even see how it's even that useful personally. If you're dealing with a tiny mesh, sure. But anything I deal with (1+ million element) just makes it super laggy. |
What helps (a bit) is to turn off: "show only whole elements", and use a "wireframe view" instead of "solid view".
My all time high is 200 M elements. Then I even don't try to view any element. |
Hi Gert-Jan,
probably, i have a solution for this particular struggle. ICEM's GUI is written in Tcl/Tk which is an interpretated language (not compiled). Therefore it is possible to tinker with the GUI a bit. E.g., I have added an custom menu to group some features i often use. After searching for Mouse wheel bindings in the GUI, i have found two locations in the code corresponding to cutplanes. When you comment out the following lines of code, binding to the mouse wheel in cutplanes will be prevented. To comment out a line, put a # symbol at the beginning. For example: Code:
# this is a comment in tcl/tk Then search for the following lines in those files and comment them out. <ansys_installdir>\<installed_version>\icemcfd\<yo ur_system>\lib\ai_env\scritps\aie_cutplane.tcl Code:
if ![info exists cut_info(mouse_wheel)] { Code:
foreach m [list . $w] { Best regards, Sebastian Engel |
Thanks a lot. I will try it asap.
This is something to save in my knowledge base. Because I think I have to change it again for each new version, not? |
Yes, of course.
Each new versions has their own files which would need to be adapted. |
I found a good way to solve it. you can click the "Refresh" button after dismissing the cut plane.
|
Quote:
|
Quote:
|
A quick, easy, weird solution that works fine for me:
After closing the cut plane tab, click on the geometry tab and choose anything, for example the create point button using the default (Screen select) option, as if you wanted to create a point anywhere. This will trigger the point selection. Next, click with the mouse right button. This will dismiss everything and you will be able to use the scroll button again to zoom in/out on the geometry.
|
All times are GMT -4. The time now is 12:25. |