Still learning Blender so sorry if the answer is obvious but I seem to have hit a mental block on this.
How do I scale a parallelogram (a plane) to give the result of halving its vertical (Z) height?
In the image:
- Left: The starting plane
- Centre: The result of scaling using: S Z 0.5
- Right: The result I want.
I can get the result I'm after in Edit mode by just moving the lower vertices upwards (the rightmost shape above), but I want to do be able to do this from a script in Object mode.
I've tried moving the center of rotation and origin to the center of the top edge before scaling, but it makes no difference.