News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Rotating a View

Started by mr.chocice, September 03, 2010, 11:32:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mr.chocice

I'm new to version 18, having clung desperately to version 6.2 for longer than I care to think.  For some reason I can't find a command that will rotate a 2D view in v.18.  Sure I can select the whole screen and rotate it, but that's not what I want.  This command was in v.6.2 and exists in programs like VectorWorks and Adobe Acrobat, I find it hard to believe that it is not in v.18.  What am I missing here?

Thanks.

DrollTroll

Nope. there's no special command to rotate the view in 2D.

You can specify a custom workplane, but it's not interactive, and you'll want to be sure to restore the workplane when you're done.

View/Working Plane/Set Working Plane (set three points -- base, new "x" axis direction, new "y" axis direction)

Just out of curiosity, why're you wanting to rotate the view in 2D?
25 years with DesignCAD

Rick V.

mr. chocice,

Thanks for bringing up the rotation thing. It's a feature I've wanted to request for some time, but I haven't taken the time to decide how I'd like it to work. I'm currently using v20 and the working plane properties are setup: Left, Rear, Right, Front in my border templates. I can't remember if I set them that way or DesignCAD did.

DT,

Please take a look at the attached DesignCAD drawing (partial). I've been folding my Elevations, Section drawings, etc. out like this for years. Maybe others do this too. It allows me to align everything easily and all I have to do is rotate the working plane to have the view I want (it's better than turning the monitor around or standing on my head).

In the old DOS versions, I think the rotation command rotated the entire drawing, which was easier (if I remember correctly). This drawing method allows you to use the Mirror command effectively. Also, I created my own window and door symbols so that they load into the floor plans and elevations at the same time with a single symbol, already aligned with each other (although, I do have to align the elevation portion of the door or window vertically, but that's quick).

If I'm the only one doing things this way, no feature request, but if others are also, maybe some sort of rotation button with arrows pointing to each direction would be good?

Just a thought.

DrollTroll

Hmmm. OK, thanks for the context, Rick. Shouldn't be too hard to do, I would think -- maybe we can do this for V21. Might as well go ahead and make it a feature request, along with any details about how you'd like it to work (or specific cases of how it should NOT work).
25 years with DesignCAD

Rick V.

Thanks DT,

I'll do that over the weekend.

mr.chocice

Many thanks to everyone for the interest.  Why do I want to rotate my drawings?  Good question, I do it all the time in DC6.2, but I had to think about that.  My work is architectural, primarily in 2D, and I will often project elevations up directly from the plan.  I project the front view, rotate the drawing 90 degrees, then project up the side view, etc.  I keep it this way until I've done all I need, then I select the individual elevations, and rotate them individually so that everything is the right way up.  I use it at other times, too, but darned if I can think of them right now.  Oh, yes, I also do it when I want to align text vertically with a wall.

I would really like to see this facility brought back, as I said, it is available in other CAD programs.  I'd like it to work just the same as it does in DC6.2.  If you can't remember that far back, you hit R on the keyboard, a window comes up and you enter the angle, hit enter and the whole drawings rotates the required amount.  Shouldn't be too difficult to incorporate.   What do you think?

Dr PR

I have a question about how this should work. Exactly what is being rotated?

Is it just elements in the drawing? The existing rotate command will do that. The drawing axes do not change. The left/right arrow keys still move the cursor left/right along the X axis (2D drawing).

Or are the drawing axes being rotated along with the elements? If so, will the left/right cursor keys still move the cursor left/right ON THE SCREEN or will they move the cursor ALONG THE ROTATED AXIS?

This is a constant source of confusion in 3D work. The arrow keys do not always move the cursor along the same axis. As the view is rotated about the object being created a particular arrow key switches unpredictably from axis to axis.

Will the rotation be in 90 degree increments, or at any angle?
DesignCAD user since 1987

Lar

#7
Doc, I think the desire is to be able to rotate the view but the x-axis is still horizontal and the y-axis is still vertical.

Imagine creating a floor plan (with the front at the bottom of the plan in 2d) then drawing the front elevation below it (oriented normally), the right elevation to the right of the plan but turned sideways so the ground is at the right, the rear elevation above the plan but turned upside down and the left elevation at the left of the plan but turned sideways so the ground is at the left. This way you can align all the corners, the roof sections and the windows and doors directly from the plan so mistakes are minimized. The problem with this method is that when working on everything other than the plan and the front elevation you have to orient your internal understanding sideways or upside down. When done drawing you have to rotate stuff so that they are "top-side-up".

I use this method myself sometimes but I actually don't have a problem with my internal orientation so I don't normally need the drawing rotated. If I should want the drawing rotated I use the regular rotate command or change the working plane.

The problem with rotating the drawing is that I tend to forget the things on the layers that are off and later I have to realign stuff.

The slight problem with working plane is that the new origin (located at the first point the user sets) always positions itself at the bottom left of the active window so you have to pan the drawing, which becomes tedious after a while. The tendency is that the user expects the origin to center itself in the active window. It takes a while - and some practice - to get use to setting each origin so that when the working plane rotates the floor plan is centered in the window.

The good thing about the working plane command is a certain number of planes are saved so you can name them and select them by clicking the right-most button in the status bar.

Lar

Rick V.


Rick V.

Lar,

That was a really good explanation of the rotation request.

Quote from: Lar on September 04, 2010, 06:12:03 AM
actually don't have a problem with my internal orientation so I don't normally need the drawing rotated.

Wish I could do that, but I'm usually a little disoriented to start with and after all those years in construction I'm just used to the building being right side up.

Dr PR

Lar,

Like you I do this all the time - it is the standard engineering orthographic views. Like you, I make the necessary adjustments mentally.

I understand that the purpose is to rotate the view, and I see why this is useful (as opposed to rotating objects). However, I don't see how the X axis can remain horizontal.

In a single 2D drawing there is only one X axis and one Y axis - this is the root of the problem. The entire drawing is created relative to these two axes. In the examples shown assume the X axis is horizontal for the central view. This means that both of the rotated side drawings have been created with the "ground" on the Y axis. Just rotating the view to see one of the side drawings "right side up" does not prevent editing other parts of the drawing, including the central view, where the "ground" is parallel to the X axis.

When the view is rotated, if the axes are rotated so X remains horizontal, the entire drawing is changed - all coordinates must be recalculated (with inherent round-off errors, etc.) This sounds like asking for trouble to me - there is a precision limit for all calculations. This becomes a significant problem if the rotation angle is an irrational calculated value - there is no way to return to the original coordinates of all objects in the drawing. The same is true if axis rotation is controlled by dragging the cursor through a range of angles. Every point in the drawing will be recalculated with roundoff errors.

If rotations are restricted to just +/- 90 degrees all X/Y relationships in the drawing will still be changed. This is asking for trouble!

If axis rotation is implemented when the view is rotated, there MUST be an option to prevent it!

****

It seems to me that what is needed are separate working "frames" within a single 2D drawing, something like the different views in paperspace. Each frame would have it's own relative axis system. Clicking within a frame would automatically rotate the view so the local X axis was horizontal. Click on a different frame and the view would rotate so that local X axis was horizontal. The program would automatically maintain the proper relationships between the relative frame axes and the absolute drawing axes. This way the absolute coordinates of what we draw would not have to be recalculated.

Note: It would be necessary to be able to draw a line (any object) starting in one frame and continue it into other frames, just as you can now draw a line between different parts of a drawing to align the images.

A "Zoom Frame to Window" function would be useful to zoom in quickly on the elements in a particular frame. "Fit to Window"  would work as it does now to zoom out and show all parts of the drawing, including all frames.

Frames could also have other useful properties, such as scale. This would allow frames to be used to create large scale details in a single 2D drawing, a very common engineering practice.

This is something like paperspace, but it is a real-time working solution instead of a post processing display solution.



DesignCAD user since 1987

Rick V.

Dr PR,

I apologize, but I guess I'm not seeing the problem. The request is for a new feature that works almost identically to the Set Working Plane command (see the feature request post). I've been using the Set Working Plane command now for a while and haven't noticed any problems other than the fact that it is cumbersome for simple 2D (mostly 90 deg.) working plane rotations.

The differences with the proposed Rotate Working Plane are:
1. It would use buttons instead of point sets (and therefore be quicker).
2. It would restrict working plane rotation (setting) to an axis perpendicular to the current working plane.

No points to set, just a couple of clicks or a click and a degree entry. Quick and easy.

If there is a problem with the existing Set Working Plane command messing things up, it would be good to know because I use it all the time. Cumbersome, but for what I want to do it's the only game in town at this point.

I'm not advocating eliminating the existing Set Working Plane command. I'd like an additional command that is simpler and quicker for those of us spinners, who frequently rotate the working plane.

Dr PR

Rick,

I looked at your feature request and it is an excellent way to implement the function. No problem there!

My concern also applies to the "Set Working Plane" function. It would be useful to have a similar feature for 2D - which would be "Set Working View." I suspect the Set Working Plane function works pretty much as I described the "frames" idea. I hope that there is no actual change to the drawing file X, Y and Z coordinates, but that a new set of "relative" working coordinates are created.

If all the coordinates were recalculated the program could be hung for quite a while with a large drawing while the entire drawing was being recalculated. This doesn't seem to happen (but I haven't rotated the working plane with a really large drawing).

It would be much simpler, quicker and safer to just recalculate the display coordinates for the items being viewed, and recalculate only the cursor movement functions to generate a local relative XY coordinate system. Real drawing coordinates would remain the same regardless of view rotation, and there would be no change to the drawing axes.

This could be implemented as you describe the rotate view operation without using frames.

But it seems to me that the frames idea should also be considered. It has other advantages, and would work with a single click after the frames are created. To create a frame you would select the command, then drag and drop a selection rectangle. Then just click on the edge that should be "up" (Y axis). Any time you click in a frame area the view and relative coordinate system (scale, etc.) would automatically be adjusted. The frame could be created in an empty part of the drawing or around existing parts.

Note: the view would not change when you just move the cursor over a frame. This way you could start drawing in frame A and continue into frame B with no view change until you clicked to set the point.

Some people would have to use this with care. Sudden rapid reorientations of the view might cause motion sickness. I say this with perfect seriousness - I am susceptible to motion sickness. Three years at sea gave me ample opportunity to study its subtleties!


DesignCAD user since 1987

Lar

Doc,

I agree with Rick that working planes has been very reliable over the years but I like your idea of "real time paperspace".

I emulate this sometimes by creating blocks from the floor plan and then arranging them side by side and rotating them so that each elevation can be drawn top-side-up (ie, oriented normally). This way the all the elevation heights can be aligned. I would put each set on different layers so I can focus on any one set, if necessary, by turning the others off. Any change of the floor plan would require redefining the block. You would also have to turn on 'snapping inside blocks' (Options menu> Preferences...).

You can actually do the 'view-rotational' thing in 3d mode right now: set up the plan with the four elevations around it then open 4 view-windows and use the 'rotate viewer clockwise' and '...counter clockwise' commands (viewer toolbox) to rotate each view appropriately. Keeping up with where is x and y should be sort of easy using the 'display cs' option in the Grid options dialog box (in v20, at least) but in some views the axis letters don't display properly. The other issue is that some things aren't available in 3d mode, such as doublelines.

Lar

mr.chocice

Sorry, I've not been able to get back into this discusson, but I really appreciate all the deep thought given to it.  Rick and Lar seem to have it pretty well pinned down, and I agree that the x axis should stay horizontal during the rotation process.  Like Lar, I will often project my elevations from a plan in four different directions, so quick rotates and returns are very useful.  I would also want to rotate all layers, whether or not they are visible.   With a multiple rotate, I wouldn't want to leave something behind!   I only use the 2D component in DC18, so, from my perspective, the rotate function could remain a 2D only command.

I look forward to seeing this function in my next upgrade!