Hi Steve
I have the below Python file saved with name matr.py
import rhinoscriptsyntax as rs
def a():
matrot=rs.XformRotation2(360/(10*40),(0,0,1),(0,0,0))
print matrot
if __name__=="__main__":
a()
if i run the script the the matrot is:
R0=(0.999876632481661,-0.0157073173118207,0,0), R1=(0.0157073173118207,0.999876632481661,0,0), R2=(0,0,1,0), R3=(0,0,0,1)
If i create a new below script that called matr , matrot is:
R0=(1,0,0,0), R1=(0,1,0,0), R2=(0,0,1,0), R3=(0,0,0,1)
import rhinoscriptsyntax as rs
import matr
matr.a()
this is a bug or my mistake?
Ciao Vittorio