Scale surfaces in one direction

hi

I’m trying to scale (stretch) my surfaces in one direction in a random scale. know a way of doing that?

I tried to find the end point of one of the surfaces’ edges ---- find it’s closest point on the other parallel edge ---- create a line between two points ---- trim the srf by that line.

first, I want to determine all my surfaces’ edges to start and end in the same direction and i get some distortion when some of the start points are in the opposite direction of the rest…

thanks!11_12_17.gh (97.1 KB)
Screenshot_3

Code like this is untouchable as far as I’m concerned. Nearly incomprehensible. Doesn’t sound like a difficult problem but the organization of this model makes it very tedious to know what to do. Too much redundant code, geometry results scattered seemingly at random. All yours.

4 Likes