We continue delving into our discussion of stairs. The boss hates it when I do things like this – releasing code to the public. But it’s too good not to share. Below is a routine you might find useful. We use it to model stairs – it’s super fast, and efficient. It allows us to try different things out and to discard what doesn’t work with ease. I’ve gone to the effort of drawing up an entire flight of stairs and then realised that I’m missing a tread. Then I’d have to redo the whole thing from the beginning. Once you have this outline done, the a good chunk of the work is finished.
One of our many, many versatile routines:
Here is a gif of the project:
And here is the code for the benefit of study.
I suppose I should refactor it, but I don’t think I’ll be changing it any time soon. So why worry?
Leave a Reply