It looks like you're new here. If you want to get involved, click one of these buttons!
am I doing something wrong, when calling
from pya import *
Which produces a transformation object, but with displacement vector (0,0) on Windows with python 3.7
same in Ruby
Make sure you use floats.
trans1 = DTrans(50.0, 50.0)
The problem is some ambiguity here and a match with this constructor:
DTrans(int rot, bool mirr = false, const DVector u = 0,0)
The safest way is to be explicit using a Vector:
trans1 = DTrans(DVector(50, 50))
thank you. For clarifying.