Wish: Could you please implement rotated 2D views

Here you can see how it’s done in Vectorworks:

In rhino there is Viewport - Camera - Rotation angle. So that angle can be “picked” to follow some geometry. Right now, it has to be set manually. Should be easy to implement. And it’s a small thing that can make a big difference in workflow.

Thanks!

Hi Bogdan,

Are you aware of the Plan command. Here a video I’ve recorded to explain the process.

[https://www.dropbox.com/s/ctt8uyh8exwb22b/Rhino%20Layout%20Plan%20command.mov?dl=0]

Don’t know why but seems like discourse will not load the video I uploaded to Dropbox. If you right click on the video and select Open video in new tab you should be able to watch it.

EDIT: I think I solved the problem, seems like dropbox doesn’t like embedded videos…

you can also use this macro, or the button for it called Set C-Plane by X-Axis.
it lets you define the center then the rotation angle.

'_CPlane _3Point
_Pause _Pause _Enter

to get back simply use _CPlane _Previous.
or save them as named views/cplanes as @jespizua described.

Hi, @RichardZ

I want to rotate the camera not the Cplane, so I can see things on the screen oriented as I want them to be.
Please try changing the Rotation in Viewport Properties - Camera - Rotation angle, in a Top View to understand what I want.

i guess you did not try the suggestion. or it works differently in your version. here the view aligns with the cplane doing exactly what you wished. at least when i do it from the top view.

when you only rotate the camera you will not have the ability to use orthos as in normal to the expected behaviour, so what would be the sense of it? better rotate the cplane temporarily.

1 Like

Note that if your are doing this via CPlane, if are using Universal CPlanes, the camera will default to Plan after setting the CPlane, if you are using Standard CPlanes, you will have to use the Plan command to set the camera. In a detail, the camera will not set to plan after setting a new CPlane regardless of Universal or Standard CPlane setting, so you will always need to use Plan to set the camera in a detail.

Sam

1 Like

That’s why I used details in the video, but I don’t understand why this isn’t a solution for @Bogdan_Chipara.

You might enjoy the TiltView command. View -> Set Camera -> Tilt View.

1 Like

Hi @brian,

Yes, that’s the thing that I want! Only it takes too much time to measure the angle of rotation for each time i want to switch the camera. In most cases in architecture there is a True North and a “Project North” used for working. So the camera switches between those two.

What i want is better functionality by adding a Pick… button similar to Place… button. Please see the screenshot:

Its a small thing, but it would improve the workflow a lot.

Thanks!

Thanks, I logged it as RH-43121.

1 Like

In the meantime you can try this small script to rotate the camera by reference points/angle:
RotateCameraByReferencePoints.rvb (336 Bytes)

1 Like

Nice script @Jarek

I translated to pythonscript:

import rhinoscriptsyntax as rs

angle = rs.GetAngle()*(-1)
if angle:
    camera = rs.ViewCamera()
    target = rs.ViewTarget()
    cameraUp= rs.ViewCameraUp()

    u = rs.VectorTransform(cameraUp, rs.XformRotation2(angle, rs.VectorCreate(target, camera), camera))

    view = rs.CurrentView()
    rs.ViewCameraUp(view,u)
1 Like

Looks like python rhinoscriptsyntax is missing the GetAngleEx method so the angle pick doesn’t work that well in the translated version.
@piac - I guess this is another one to add to the pile of RhinoScriptSyntax discrepencies.
I’m sure it can be done with python via RhinoCommon, somehow…

V6 has a Location setting in DocumentProperties, it seems like we ought to be able to use the North setting there in this proposed tool. @Bogdan_Chipara , is the goal to be able to easily set the view vertical to line up to North?

-Pascal

Hi @pascal,

It’s rather the opposite in common practice.

I get CAD data, topo, etc, already oriented to True North, and is best not to rotate it. Instead is good to choose a main axis for the building and rotate the camera and the Cplane according to that main axis. So the world coordinates remain the same.

A Pick Angle button next to Rotation and maybe another button in the View Toolbar would be nice.

Hi @Bogdan_Chipara
I really can’t understand why you don’t use _plan command. As an architect I’m in the same exact situation as you, and the _plan command is the solution to this problem. Did you watch the video? What can be faster than typing _plan in order to align the view? AutoCAD uses the same command to solve this problem.

It seems if this is the case what you are looking for is CPlane Rotate Z

Plan command doesn’t do anything for me on Windows. maybe on IOS it’s different.

Plan command does work exactly the same way in Windows. You just have to make active the cplane you want the view to be aligned to, and then run _plan.
As has been pointed out by others, there is a difference between Universal vs standard, but if you are using standard Cplane or working inside details views you have to use _plan command after setting your Cplane.
Really, the solution is already in Rhino, and it works.

1 Like