MoI discussion forum
MoI discussion forum

Full Version: Searching for a tip (or script)

From: Phiro
4 May   [#1]
Hello,

I'm looking for a way to zoom in on the screen so that objects are displayed at their exact size.

For example, if an object is 30mm in size, I'd like it to appear 30mm wide on the screen.

This would apply to a selected object.

I know it depends on the screen resolution and size, but if it were possible to configure this, everyone could have it for their own screen.

Adjusting the zoom using the mouse isn't always easy or precise.

Is this possible?
From: Frenchy Pilou (PILOU)
4 May   [#2] In reply to [#1]
Seems not so simple! :)

https://gemini.google.com/share/bcae0c3bd7fa (VF but easy to translate with any tool)

So then https://www.piliapp.com/actual-size/
From: Michael Gibson
4 May   [#3] In reply to [#1]
Hi Phiro, some previous discussion here:
https://moi3d.com/forum/index.php?webtag=MOI&msg=10158.1

- Michael
From: Phiro
4 May   [#4]
Thanks Michael !
No need to have an automatic calibration.

This script, you gave in the forum, did the job and I had tuned the fieldOfViewAngle for my monitor resolution and size.

script: /* set top view zoom factor */ moi.ui.mainWindow.viewpanel.getViewport( 'Top' ).fieldOfViewAngle = 30.0;

I will test it for all views and perhaps adapt for another usage.