Stairs And Railings Plugin [better] Page
Balusters are spaced uniformly along the horizontal projection (except sloped sections use true 3D length). Spacing ≤ 4″ (IBC). Count:
Host Application (Revit/Rhino) ↓ Plugin UI (WPF/Windows or webview) ↓ Input Validator (riser/tread limits, path continuity) ↓ Stair Core Engine (geometry solver) ↓ Railing Engine (path extrusion + baluster distribution) ↓ Code Checker (alerts for violations) ↓ BIM Object Generator (creates native stair/railing elements) stairs and railings plugin
public class StairGenerator public List<Flight> CreateStraightStair(Point3d start, double rise, double run, double width) int risers = (int)Math.Round(rise / 7.0); // 7" target double h = rise / risers; double tread = run / (risers - 1); Flight flight = new Flight(); for (int i = 0; i <= risers; i++) Point3d p = new Point3d(start.X + i * tread, start.Y, start.Z + i * h); flight.AddPoint(p); Flight flight = new Flight()
