Is there a way make perspective view (aka being able to rotate) without depth distortion?
For example in onshape in perspective view a box from the top looks like this:
and with perspective view turned off same box looks like this:
Thank you.
Is there a way make perspective view (aka being able to rotate) without depth distortion?
For example in onshape in perspective view a box from the top looks like this:
and with perspective view turned off same box looks like this:
Thank you.
Unfortunately, parallel doesn’t allow to rotate.
I’m trying find an angle where 3 non-planar curves would intersect at the same point. Unless I center it perfectly at the screen, parallel view moves everything away. So, I need a way view as in parallel and still be able to rotate in all axes.
Yes Parallel projection allows you to rotate the view.
Thanks! I had to hold CTRL+SHIFT to able rotate it with space mouse…not sure what’s the purpose for this “feature”, why restrict the rotation if you are in perspective view?
What are you talking about?
Hi vano -
Perhaps turning off the Always pan parallel views option in Rhino Options -> View -> Pan works better for you?
-wim
Thank you, that’s it, works perfectly now!
Is there a way create a hotkey to toggle between perspective/parallel projection?
I come up with this python script that works well, but maybe there is a better way?
import scriptcontext as sc
import Rhino
def toggle_projection():
view = sc.doc.Views.ActiveView if sc.doc else None
if not view:
return
viewport = view.ActiveViewport
if viewport.IsPerspectiveProjection:
viewport.ChangeToParallelProjection(True)
mode = "Parallel"
else:
# RhinoCommon overload may require lens length as the second argument
viewport.ChangeToPerspectiveProjection(True, 50.0)
mode = "Perspective"
view.Redraw()
Rhino.RhinoApp.WriteLine("Projection: {0}".format(mode))
toggle_projection()
You should be able to run this macro:
-ViewportProperties Projection Toggle Enter Enter
You can make that run from an Fkey or create an alias or put it on a button.
Perfect!
Thank you!