# StairStep 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 StairStep
```

A single step within a [StairCase](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.staircase.md). A step is a planar, horizontal surface.

## Constructors

- [StairStep](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/ctor.md): Constructor without any checks. You'd better be sure the values are correct if you want to use this.

## Properties

- [Index](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/index.md): The index of this element within the staircase. This index determines the elevation of this step given a specific rise constant.
- [SideL](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/sidel.md): Gets the points making up the left side of the step. This array contains at least two points.
- [SideR](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/sider.md): Gets the points making up the right side of the step. This array contains at least two points.

## Methods

- [Edge0](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/edge0.md): Gets the leading edge of the step from left to right.
- [Edge1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/edge1.md): Gets the trailing edge of the step from left to right.
- [Face](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/face.md): Create the outline of the step top face. The polyline is always ordered anti-clockwise, starting from the left end of the leading edge.
- [Rise0](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/rise0.md): Create the outline of the front face (i.e. the rise) leading up to this step.
- [Rise1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/rise1.md): Create the outline of the back face (i.e. the rise) trailing after this step.
- [SideLeft3D](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/sideleft3d.md): Gets an array of points describing the left edge of the step.
- [SideRight3D](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/sideright3d.md): Gets an array of points describing the right edge of the step.
- [Vertex0](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/vertex0.md): Gets the front, left point of this step.
- [Vertex1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/vertex1.md): Gets the front, right point of this step.
- [Vertex2](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/vertex2.md): Gets the back, right point of this step.
- [Vertex3](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/vertex3.md): Gets the back, left point of this step.
- [Z](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.shapes.stairstep/z.md): Gets the elevation of this step given a specific rise.
