![]() |
|
#1
|
|||
|
|||
Hey,
is there really no possibility to solve my problem? Isn't it possible to readout the angle of the first line and the z-axis and afterthat to rotate the line with the arrow about this value around the y-axis? ![]() ![]() ![]() |
#2
|
|||
|
|||
Hey,
I've got another idea, to solve my problem. But therefore I should know, how to get the euler of my line. So I draw a line like this: Code:
begin = [0,0,0] end = [2,1,2] viz.startlayer(viz.LINES) viz.linewidth(2) viz.vertexcolor(viz.RED) viz.vertex(begin) viz.vertex(end) viz.startlayer(viz.POINTS) viz.pointsize(3) viz.vertex(begin) viz.vertex(end) dr = viz.endlayer() But If I make Code:
print dr.getEuler() Is it possible to get the euler of a drawn line? Or the angles between the axes and my line. Thanks a lot for all your help! |
#3
|
|||
|
|||
How can I get the euler of my line???
|
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Draw line with a triangle at the end | Chrissy2009 | Vizard | 9 | 08-24-2009 11:12 AM |