Forgive me if you already aware of this, but generally architects would work with a floor to floor dimension and then divide that by the ‘rise’ required to meet building codes / regulations for the class of stair to get the number of ‘rises’ required.
Then the ‘going’ would also be set dependent on building codes for the class of stair. ie residential, commercial, fire escape etc. I’m not suggesting that building code compliance needs to be included that would be overboard but as the script stands without the floor to floor value I still need my calculator.
Would it be possible to have the script do that calculation based on a users floor to floor dimension, then a tweak / overide on the stair ‘rise’ to end up with the number of steps needed rather than entering the number of steps first as per the script.
Also would it be possible to set a dimension for the ‘waist’ ie the diagonal distance between back of a going and under side of flight. Generally 150 -200mm.
And finally the possibility to have a sloping rise where the nosing is forward of the vertical for example 25mm. So in affect the going is extended by 25mm.
nice script. nice result after 3 days learning python.
A good candidate to be a part of cad/arch toolkit script.
keep it going. (dobry poczatek)
waiting for optimized version. normals need better control.
migius
liek in the physical world usually you begin by determining the space or the area available or the whole for the stairs this could be round or rectangular space
then you have the height between top of floor and the ceiling _height of the ceiling
from this you can determine the number of steps and the last step might need some adjustment to fit the stairs in
and with this you can design almost anytype of stairs
also there are some constraint for the min max height of steps
alos on the depth of steps
and for wood steps there is a mini max for the thickness of the step
anyway theses are ideas that would be great to implement for a more complete stair script
hey wish you good luck and hopefully you can come back soon with a better version