place_count
Count scale-free items like thresholds, stair nosings, floor boxes, and entrance mats by placing point markers. Each marker records one EA count, batch-committed as a single undo step, no scale required.
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 like a detect_rooms sweep. 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.
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 |