Surface Texture Symbol (ISO 21920-1)
surface_textureDraw a 60° ISO surface finish vee at X,Y with Ra/Rz, lay, machining, and standard annotations; reject invalid ISO values before creating geometry.
Instructions
Draw the 60° surface-texture vee with its annotation in the standard positions.
Refusals, all before the first entity reaches the drawing: a text height
outside the seven ISO 1302 rows (2.5/3.5/5/7/10/14/20 mm — never
interpolated), a lay that is not one of the seven ISO 1302 directions of
lay, a machining outside any/required/prohibited, and a standard other
than ISO 21920-1 or ISO 1302.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Symbol apex X (WCS) — the point the leader attaches to. | |
| y | Yes | Symbol apex Y (WCS). | |
| ra | No | Ra value in µm, written as 'Ra 3.2'. | |
| rz | No | Rz value in µm, written as 'Rz 12.5'. | |
| lay | No | Direction of lay: parallel, perpendicular, crossed, multidirectional, circular, radial, particulate. | |
| layer | No | Override the role layers (DIM for geometry, TEXT for text). | |
| height | No | Text height (mm). ISO 1302 tabulates 2.5, 3.5, 5, 7, 10, 14, 20. | |
| process | No | Manufacturing method, treatment or coating, e.g. 'milled'. | |
| rotation | No | Rotate the whole symbol about its apex (degrees CCW). | |
| standard | No | ISO 21920-1 (default) or ISO 1302 for drawings issued under the older designation. | ISO 21920-1 |
| allowance | No | Machining allowance in mm, written below the extension line. | |
| leader_to | No | [x, y] on the surface; draws a leader with an arrowhead there. | |
| machining | No | any (basic vee) | required (bar across the vee, material removal required) | prohibited (circle in the vee, material removal not allowed). | any |
| all_around | No | Circle at the kink: the requirement applies all around. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||