pub fn sketch_profile_display_payload(
profile: &SketchProfile,
) -> DisplaySolidPayloadExpand description
Native display payload for a solved sketch PROFILE — the SHEET-SOLID view of a
committed sketch: a planar FACE mesh + its named boundary EDGES + corner
VERTICES, so a sketch is pickable / selectable / measurable through the exact
same display path as a real solid. NO solid is registered — the payload is
synthesized directly from the profile, so it owns no scene handle (the display
carries source_handle = 0).
The FACE triangulates each region (outer boundary minus holes) via the
watertight planar path, mapped to world through the profile’s frame; each
triangle rides face id 0 (one logical sheet face). EDGES are each boundary
curve sampled to a world polyline, named from the profile’s {sketchId}:G{gid}
edge names; VERTICES are the loop corners. An empty profile (no closed region)
yields an empty payload (no face, no edges) — an open/underconstrained sketch
has no sheet.