Script for Straightening Plans

Hi,

When I need to straighten plans like this:

I use the following workflow:

Result:


I’m sure there’s a faster and more elegant way to do this. Does anyone have suggestions for a better solution?

Best regards,
Mike

“Planes”, not “plans”?

3. Attach minimal versions of all the relevant files

from your images looks like for “straightening” you mean to delete the Z-axis component of each plane normal:

any of these A, B, C should equally work:

delete_normal_z_component.gh (19 KB)

Thank you, @inno!

A is the perfect solution for me. :blush:

Best regards,
Mike

1 Like