suppose to we have a box component that orbited 45 degree in Z , so his X and Y axis is not match in world coordinate and this make mistake when i scaled X axis by this code :
sele = Sketchup.active_model.selection[0]
origin = sele.transformation.origin
scal = Geom::Transformation.scaling(origin, 2, 1, 1)
sele.transform!(scal)
how can i solve this?