Stair Outline Routine (AutoCAD .net + Code attached)

An example of the type of stairs we draw. We do a lot of stairs. Both AS 1428 and AS 1657 compliant stairs.
An example of the type of stairs we draw. We do a lot of stairs. Both AS 1428 and AS 1657 compliant stairs.

 

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:

A Stair AutoCAD Plugin
A plugin I wrote for AutoCAD. Written using c#.

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?


Comments

One response to “Stair Outline Routine (AutoCAD .net + Code attached)”

Leave a Reply

Your email address will not be published. Required fields are marked *