From: mk (MARKY)
Hi Michael,
Is to possible to have this function in MoI?
Like Ctrl+Z but for views.
Marek
From: 大道刀 (SUIYAN)
hi mk
是像这样吗(is like this?)
请设置快捷键(Please set shortcut keys)
script:if ( moi.ui.mainWindow.viewpanel.mode != 'split' ) { moi.ui.mainWindow.viewpanel.mode = 'split' } else { var viewport = moi.ui.getViewportUnderMouse(); if ( viewport ) { viewport.viewPanel.mode = viewport.name } }
Image Attachments:
GIF 2024-6-9 17-51-01.gif
From: mk (MARKY)
No, not at all, I meant view of a specific zoomed area.
Your example shows the one I use for years, it's just maximizing/minimizing one of the viewports.
Marek
From: 大道刀 (SUIYAN)
是这样吗?(like this ?)类似于autocad的区域缩放(Region scaling similar to AutoCAD)
Image Attachments:
GIF 2024-6-9 21-42-31.gif
From: mk (MARKY)
In Autocad and some other CADs it's one of several options after entering Zoom command:
- Zooms to display the previous view. You can restore up to 10 previous views.
From: 大道刀 (SUIYAN)
好吧,我了解了,我想您一定是非常需要这个功能,希望能有一个脚本,让使用者可以选择是否拥有这个功能。抱歉没能提供帮助(Okay, I understand. I believe you really need this feature and would like to have a script that allows users to choose whether or not they have it. Sorry for not being able to provide assistance)
From: Michael Gibson
Hi Marek, it could be possible eventually but not just by writing a script in the current version because the system doesn't store previous views right now.
- Michael
From: pressure (PEER)
Hi Marky,
Here's a script for saving and restoring views:
http://moi3d.com/forum/index.php?webtag=MOI&msg=11036.1
Does that do what you want?
- Peer
From: mk (MARKY)
Hi Peer,
Not really, I know this, but it's not about saving and restoring specific views but built in feature which zooms to display the previous or more views up to say, 10 or so.
They are stored in a buffer not in application.
Marek
From: 大道刀 (SUIYAN)
如果马上就要用到,那么你需要一个能使用快速截图(快捷键触发)自动储存到指定文件夹的的截图软件。虽然这无法实现实时回退。moi不大可能立刻增加这个功能,因为这对实时渲染的能力要求较高(我用过一些增加很多插件、更改配置的moi版本,它们的基础功能非常卡顿和丢失)。而没有这个功能可以通过鼠标滚轮等方式满足操作要求。(If you are about to use it, you need a screenshot software that can automatically save quick screenshots (triggered by shortcut keys) to a specified folder. Although this cannot achieve real-time rollback. It is unlikely that Moi will immediately add this feature because it requires high real-time rendering capabilities (I have used some versions of Moi that have added many plugins and changed configurations, and their basic functions are very sluggish and missing). However, without this feature, the operation requirements can be met through methods such as mouse scrolling.)
From: pressure (PEER)
Hi Marek,
Is this what you're talking about in AutoCad?
https://www.youtube.com/watch?v=b5QsYuKUY6M
That makes sense if zooming is done in discrete steps by running a command like in the video. But, how would that work with the smooth, continuous panning and zooming in MoI? What would the "previous" view be?
Or do you want something just like in the video where navigation is all in discrete steps?
- Peer
From: 大道刀 (SUIYAN)
HI MK 看看这两个插件(Take a look at these two scripts)View Manager:https://moi3d.com/forum/messages.php?webtag=MOI&msg=10028.1
named view:http://moi3d.com/forum/messages.php?webtag=MOI&msg=11036.1
应该是你想要的。(It should be what you want.)
From: mk (MARKY)
"..It should be what you want."
But it's not, you're still not getting it.
It's not about naming and saving a specific view but returning to the previous ones in reverse order.