Hello, I’m trying to scale an object which I do manually with Scale tool on a specific point, dragging from Green Scale about Opposite Point, like on the screen:
And dragging from Green Scale about Center, when pressing ‘CTRL’:
I didn’t found in documentation how to scale from that points, but I found this point:
I drew a line between that point and the center of object, and this is the point where “Green Scale about Opposite Point” is situated, I named it in code ‘point_to_scale’.
So I tried to use this method but the result is not what I expected:
value_to_scale = 1.1 scale_transform = Geom::Transformation.scaling(point_to_scale, value_to_scale) instance.transformation *= scale_transform
Could you help me with an advice how it can be done like with scale tool from SketchUp?