Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Convert Vector to Polar Angle (Python)

$
0
0

@beezerlm wrote:

I am trying to write a Python script that converts a vector to a polar angle on my current Cplane. For example:

[1,0,0] = 0°
[0,1,0] = 90°
[-1,0,0] = 180°
[0,-1,0] = 270° (or -90° would work too)

what would be the easiest way to accomplish this with a known vector?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles