Print at Dec 18, 2025, 4:36:33 PM

Posted by macfrog at Jul 2, 2011, 9:28:22 PM
Re: Differnt configured staircases
Hans,

there might be a little misunderstanding about "complex" seen from a developers pov compared to the users experience smile.

the calculation of a possible (or even impossible) staircase is from the architectural side, lets say math, quite easy. the trick is to provide an easy dialog to tell the user "those stairs are not compliant to building rules" or "there is no space for that" and so on.

i donot know how the basic object are handled in sh3d, but, if a "staircase room" would be one of it, you could "simply" mark it red for "improper".
as for a plugin developer, you only have to get the room the stairs are going to be in and the height of the surrounding walls. therefore you have a e.g. 3x3x3m cubicle. the rest is to the user: home or public building, tight space -> need turns and so on.

whatever, i for now use the simple calculation (really a few steps only) to determine the needed number of steps and the resulting height of them steps to build a simple staircase out of blocks:


btw, of course i'm only common to german DIN rules, so please don't bother me with others wink
macfrog