# StairCase class

Namespace: [Grasshopper2.Types.Shapes](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.shapes.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class StairCase
```

A staircase consisting of a sequence of [StairStep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep.md)s.

## Constructors

- [StairCase](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/ctor.md): Constructor. Unless you know how to make a valid staircase, I suggest using one of the static CreateXXXX() methods instead.

## Properties

- [Depth](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/depth.md): Target depth of steps.
- [Footprint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/footprint.md): Get a polyline describing the footprint of the entire staircase.
- [Height](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/height.md): Height of staircase.
- [LeftFootprint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/leftfootprint.md): Get a polyline describing the left side of the footprint.
- [LeftWalls](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/leftwalls.md): Enumerate over the wall outlines alog the left side of the staircase.
- [RightFootprint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/rightfootprint.md): Get a polyline describing the right side of the footprint.
- [RightWalls](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/rightwalls.md): Enumerate over the wall outlines alog the right side of the staircase.
- [Rise](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/rise.md): The rise between steps.
- [Steps](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/steps.md): All consecutive steps.
- [Width](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/width.md): Width of steps.

## Methods

- [BackWallAsBrep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/backwallasbrep.md): Create the trailing drop or back wall of the staircase.
- [CreateFromPolyline](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/createfrompolyline.md): (static) Create a new staircase based on a polyline edge.
- [FootprintAsBrep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/footprintasbrep.md): Create a brep of the footprint surface as projected onto Z=0.
- [FrontWallAsBrep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/frontwallasbrep.md): Create the leading rise or front wall of the staircase.
- [LeftWallsAsBrep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/leftwallsasbrep.md): Create a brep containing all the walls along the right side of the staircase.
- [RightWallsAsBrep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/rightwallsasbrep.md): Create a brep containing all the walls along the right side of the staircase.
- [StepsAsBrep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/stepsasbrep.md): Create a brep containing all the steps, rises and platforms making up the top surface of the staircase.
- [ToBrep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase/tobrep.md): (3 overloads) Convert the entire staircase to a brep.
