Option to mirror or not

Hi,
In my script I’d like to have the option to mirror the generated geometry or not.
The geometry is a spiral staircase and depending on the needs it is clockwise or counterclockwise.
In my script I can set the start angle from 0 to 360 degrees so a simple mirror in the YZ plane is sufficient as I can align the staircase later.
How would you do this?
Spiral stairs 02.gh (26.0 KB)


Hi @Gerard ,

How about a stream filter node with a value selection?

Giving you the opportunity for left, right, or both?

Model Space:
Left:

Right:

Both:

Graph Space:

20230719_Spiral stairs 02_Response_01a.gh (25.0 KB)

2 Likes

That’s a nice one!
Thank you Michael.

1 Like

You’re welcome!