def Scale(shape, sx, sy, sz, align=True): T = v.scale_matrix(sx, sy, sz) SHAPE = Transform(shape, T) if align: SHAPE = Round(SHAPE) return SHAPE
def Scale(shape, s): T = vec.scale_matrix(s, s, s) SHAPE = Transform(shape, T) return SHAPE
def s2S(s): S = vectors.scale_matrix(t[0], t[1], t[2]) return S