Section Line (ISO 128-40)
section_lineDraw a cutting-plane line and return the plane a section view consumes, ensuring plan and view labels match.
Instructions
Draw the cutting-plane line and hand back the plane a section view consumes.
Wide segments at the ends on GEOMETRY, the thin long-dash-dot middle on
CENTER, an arrow at each end whose head sits on the line end and points the
way the section is viewed, and the same letter beyond both arrows.
payload["plane"] is exactly {p1, p2, label, direction, style} — feed it
to the section view so the label on the plan and the label on the view
cannot disagree. Refusals, before any entity is written: p1 == p2, a zero
or parallel viewing direction, an empty label, a style outside
full/half/offset/revolved, and a non-positive height.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Cutting plane start X (WCS). | |
| x2 | Yes | Cutting plane end X (WCS). | |
| y1 | Yes | Cutting plane start Y (WCS). | |
| y2 | Yes | Cutting plane end Y (WCS). | |
| label | No | Capital letter drawn at both ends, e.g. 'A'. | A |
| layer | No | Override the role layers (GEOMETRY/CENTER/TEXT). | |
| style | No | full | half | offset | revolved — carried into the returned plane. | full |
| height | No | Label height (mm). | |
| direction | No | Viewing direction as [dx, dy]; must not be parallel to the cutting plane. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||