I’m having some issues with a simple staircase that I’m trying to create. I’ve made it in such a way that from a single starting point I can control all of the key dimensions of the staircase up to the next floor, while also cutting a hole equivalent to the staircase footprint out of the floor above. When done in isolation the stairs work as I’d like, but when I put them into the context of a building it works less successfully.
I want to be able to select the starting point from an offset of the boundary edge, so that in theory I could rotate the stairs around to any edge. However, the stairs are done relative to the world XYZ, and I would like them to be perpendicular to the curve so that at any point they are facing in towards the centre of the plan. I can create a
Rotate Axis component (green stairs in image) with a slider to achieve this manually, but know there must be a more efficient solution to have the X and Y values that I put in at the beginning of the script relative to the curve.
Rotate Stairs.gh (30.7 KB)