Reference·JavaScript · @bimworks/viewer3dJavaScript

CapStyle

Type alias in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Type alias

TypeScript#
type CapStyle = "generic" | "plain" | "concrete" | "brick" | "block" | "insulation" | "wood" | "metal" | "gypsum" | "glass" | "stone" | "earth" | "membrane" | "services";

A section cap style (docs/section-cap-patterns.md): the pattern a cut object's cap gets with SectionPlanes.capStyles. "plain" draws no strokes over a neutral fill (the object's colour with SectionPlanes.objectEndcaps); "services" always the object's colour