Centre Marks (ISO 128-23)
centre_marksCreate centre marks for circles and arcs on the CENTER layer per ISO 128-23. Reads real radii from drawing handles to avoid manual entry errors.
Instructions
Centre marks on the CENTER layer, whose linetype carries ISO 128-23's dash pattern.
Pass handles and the radii are read back with entity_get rather than
restated — a radius from memory is the classic silent wrong number.
Refusals, all before the first entity is written: neither handles nor
centers given (or both), a handle that is not a CIRCLE or ARC, a circle
in a plane tilted out of WCS XY (capability ocs_tilted_plane, so it has
no radius in this frame), a style outside mark/lines, a non-positive
extension, and style='lines' on a centre given without a radius.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Override the CENTER role layer. | |
| style | No | mark (short cross at the centre) | lines (full centre lines). | mark |
| centers | No | Explicit centres as [x, y] or [x, y, radius]; style='lines' needs the radius. | |
| handles | No | Handles of CIRCLEs/ARCs; their real centre and radius are read from the drawing. | |
| extension | No | Arm length (mark) or overrun past the outline (lines), mm. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||