place_count
Count markers such as thresholds, stair nosings, floor boxes, and entrance mats by placing scale-free EA points on a sheet, committing one count per point under a finish tag in a single undo step.
Instructions
Count markers — EA (#146): one point, one each. Thresholds, stair nosings, floor boxes, entrance mats — the scale-free quantity family. Commits one count shape per point (computed {count: 1}, exactly the canvas's Count tool), NO scale required, and the whole call is ONE undo step. takeoff_summary reports them as ea; the marked set draws each marker. Coordinates are image px at render scale 2.0: PDF pt × 2, origin top-left, y down (the browser canvas's native space). Sheet payloads carry dims in both px and pt.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sheet": "<sheet>",
"points": "<points>",
"condition": "<condition>"
},
"name": "place_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | Yes | ||
| points | Yes | Marker positions (image px), one committed count shape each | |
| condition | Yes | Finish tag to commit under (minted on first use), e.g. 'TR-1' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ea_total | Yes | The condition's total EA after this call | |
| committed | Yes | Count shapes committed by this call — one per point | |
| condition | Yes | ||
| shape_ids | Yes |