StairCase

References
public sealed class StairCase
A staircase consisting of a sequence of StairSteps.

Constructors

StairCase

#
Constructor. Unless you know how to make a valid staircase, I suggest using one of the static CreateXXXX() methods instead.
public StairCase(
width,
height,
depth,
rise,
steps
)

Properties

Depth

#
Target depth of steps.
public double Depth { get; }

Footprint

#
Get a polyline describing the footprint of the entire staircase.
public Polyline Footprint { get; }

Height

#
Height of staircase.
public double Height { get; }

LeftFootprint

#
Get a polyline describing the left side of the footprint.
public Polyline LeftFootprint { get; }

LeftWalls

#
Enumerate over the wall outlines alog the left side of the staircase.
public IEnumerable<Polyline> LeftWalls { get; }

RightFootprint

#
Get a polyline describing the right side of the footprint.
public Polyline RightFootprint { get; }

RightWalls

#
Enumerate over the wall outlines alog the right side of the staircase.
public IEnumerable<Polyline> RightWalls { get; }

Rise

#
The rise between steps.
public double Rise { get; }

Steps

#
All consecutive steps.
public StairStep[] Steps { get; }

Width

#
Width of steps.
public double Width { get; }

Methods

BackWallAsBrep

#
Create the trailing drop or back wall of the staircase.
public Brep BackWallAsBrep()

CreateFromPolyline

#
Create a new staircase based on a polyline edge.
public static StairCase CreateFromPolyline(
polyline,
Edge of staircase.
width,
Width of staircase. Positive values create a staircase on the left of the polyline.
height,
Height of staircase.
depth,
Ideal depth of steps. Final depth will depend on the exact shape.
flightFill,
Flight shaping method.
landingFill
Landing shaping method.
)

FootprintAsBrep

#
Create a brep of the footprint surface as projected onto Z=0.
public Brep FootprintAsBrep()

FrontWallAsBrep

#
Create the leading rise or front wall of the staircase.
public Brep FrontWallAsBrep()

LeftWallsAsBrep

#
Create a brep containing all the walls along the right side of the staircase.
public Brep LeftWallsAsBrep()

RightWallsAsBrep

#
Create a brep containing all the walls along the right side of the staircase.
public Brep RightWallsAsBrep()

StepsAsBrep

#
Create a brep containing all the steps, rises and platforms making up the top surface of the staircase.
public Brep StepsAsBrep()

ToBrep

#
Convert the entire staircase to a brep.
public Brep ToBrep(
footprint,
steps,
walls
)

ToBrep

#
public Brep ToBrep(
thickness,
cutBelowGround
)

ToBrep

#
Create a staircase with a particular slab thickness.
public Brep ToBrep(
thickness
)