Skip to content

CrossSection (public types)

Cross-section behavior is provided by CrossSectionPlugin (documented separately). The only type re-exported from the SDK surface is SectionCapStyle, used to configure how cut faces are filled.

ts
import type { SectionCapStyle } from "@optellix/xviewr-sdk";

type SectionCapStyle = "solid" | "hatched";
  • "solid" — flat color fill on the cap surface.
  • "hatched" — repeating screen-space hatch lines over the cap.

Pass this through CrossSectionPlugin configuration; see the cross-section plugin docs for usage.

XViewr SDK and xConvert CLI documentation.