Skip to main content
14-Alexandrite
June 12, 2015
Solved

How to set certain perspective

  • June 12, 2015
  • 12 replies
  • 4032 views

Hi,

I need to create a view in a part, to be shown in a drawing, and it has to have certain pespective. It has to match an AutoCad drawing's perspective. I have measured the angles between the lines of the drawing, and these are the angles:

angulos_transformacion.jpg

"138º, 116º, 106º"

But if I try to create a view rotating the part using thes angles, or any transformation (X-90º, 180º-X, ...) of these angles, I can't reach this perspective.

Anyone can help me with this?

Thank you very much!


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by dschenken

The uppercase formula is suitable for Excel; just omit the part ahead of the "=" sign. The turns are based on the original X axis to the right and the original Z axis pointing straight up; for me that is typically a Front view. It results in the Z axis foreshortened, but still projected vertical on the screen and the X axis above the horizon by alpha degrees and pointing back into the screen.

alpha and beta are the positive dihedral angles for the right and left sides. I used named cells for alpha and beta on the spreadsheet. You will see that if alpha = beta (both sides tilt the same, the vertical angle turn is always 45 degrees. I think it is alpha = /, right slope in drawing coordinates, and beta = \, left slope in coordinates. Any vertical line will remain vertical.

If you use some other method you may not need to use the Excel RADIANS and DEGREES conversion functions, but I did because I wanted to measure the angles in degrees and Excel only does trig functions in radians.

vertical angle = DEGREES(ATAN(SQRT(TAN(RADIANS(alpha))/TAN(RADIANS(beta)))))

horizontal angle = DEGREES(ASIN(SQRT(TAN(RADIANS(alpha))*TAN(RADIANS(beta)))))

12 replies

1-Visitor
June 12, 2015

If I ever need a custom view, I create datums until I get a datum plane that can be selected as the front of my desired view.  Are you allowed to add features to this model?  If yes, then you can create datums with precise angle orientation.  Create as many datums as you need to until you can create this custom view.

1-Visitor
June 12, 2015

I don't have the equations with me, but it's not too hard to derive them. Just imagine that there is a one unit line in the x and y directions and that there are two rotations, one about the vertical axis in the drawing and then the second along the horizontal axis. The trig will show how much each of those has to be to result in two of the angles shown. The third angle, by definition, is 360 minus the sum of the first two.

Tonight I'll look up the calc and post it if you don't have time.

avillena14-AlexandriteAuthor
14-Alexandrite
June 12, 2015

@ jstanczyk I can create additional features, datums, etc, but I don't see clearly which ones and how to create...

@dschenken I tried to rotate on 3 axis, but I don't get any good result. The hint I have is that on the target perspective, the edges are vertical, so I guess that I should start with the FRONT view (for example), the first rotate around the vertical axis, and then a second rotation around the horizontal axis of the screen. This way edges will stay vertical. The problem is that I don't know which angles to rotate...

Thank you for your help, I'll keep looking at it...

New ideas are welcome!

1-Visitor
June 12, 2015

Yes - the vertical and horizontal rotation is the correct order. It's easy enough to figure out by drawing a front view and top view of 1 unit length lines rotated as you want to see them and then it's high school trigonometry to figure out the amount of rotation to get the model 1 unit length lines to have the same apparent angles as on the drawing.

It's good to work through the thought process, but I can send the answer later.

1-Visitor
June 12, 2015

Just to point out this is an isometric view and not a perspective. A perspective has lines that angle to a vanishing point.