algorithmic modeling for Rhino
Hi guys I'm trying to right a script for a basic staircase so that you can draw a line from the the top floor where the staircase starts and draw a vertical line to the floor underneath. Then script a way to create a new line at a ratio of 280mm:180mm (dimensions of a regular step) from the top of the vertical line and diagonally away from it towards the bottom floor slab. I then want to subdivide that diagonal line and add steps to each division.
Tags:
I believe this (StairCase_20150812a) is part of what you asked for:
But based on prior experience with stairs, I believe this is what you need (StairCase_20150812b):
The idea is that you define stairs in terms of "Rise" (180) and "Run" (280), and you must first determine the number of steps by dividing the total rise (the length of your vertical line) by the run and rounding it up (the 'C (Ceiling)' output of 'Round'). Then I use a 'Series' (1..N) to move a copy of the top step (the 'PlaneSrf') in both 'Z' (rise) and 'X' (run).
OOPS!!! I still made a mistake typical for amateur stair builders - I forgot to compute the _actual_ rise, based on the total rise divided by the number of steps - the component in green in the image below:
Builders have no control over the height difference between floors; the "Rise" input in this case means "maximum rise", which determines the number of steps, which in turn determines the actual rise of each step - so all are evenly spaced.
No thank you, thats really helpful Ive been stuck on this for a while. On building regulations, a flight of steps (max 16) is followed by a landing, the landing is usually as long as it is wide, essentially a square. Is there a way to add that this into your program. Would you have to use the CullPattern option or a list of some kind?
Oh, and when you write a "Landing" feature for conventional stairs, there are at least two parameters that are imperative (and obvious?):
And post it here! :)
Thanks for you help, I'll have a crack at that now :)
And just before you take a crack at it. :) Don't forget to include International or local Building Code Requirements. For example The NBC does not allow treads less then a min tread width value, which means in a spiral stair the center supporting column will have to be at least the min tread width diameter.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by