Problem with scaling of BREP: keeping the upper part

This is related to geometry setting. I am defining a shading device that is detached from the building facade and the size of the device is subject to the amount of insolation that falls on facade. Therefore, I am defining the size by using the scaling function but the scaling function keeps the bottom part of the surface instead of the upper part. I would be much appreciated if someone could help me on keeping the upper part of the surface instead of the lower part after scaling.

This is the file I am using for scaling.
Sample (for scaling).gh (34.9 KB)

Many thanks.

Without a file or at least some high quality screenshots, I don’t fancy your chances of getting much help

1 Like

Thanks. I have uploaded the algorithm to increase the chance.