Spr analyze drawing
spr_analyze_drawingAnalyze sprinkler or water-spray piping drawings to recognize pipe networks, extract sizes and labels, and return candidate runs, open ends, and ambiguities for import.
Instructions
Read a sprinkler / water-spray piping drawing (.dxf, .dwg, .pdf, .zip of drawings, .png/.jpg) and recognise a candidate pipe network. Isometric (ISO) drawings: scale from DIMENSION entities, pipe linetype, bends, flange/valve gaps bridged, nozzle stems, line-number / reducer / valve labels, 3D reconstruction (X,Y horizontal, Z up, inlet = origin), nominal sizes from labels and flange rings. Plan drawings: pipe layers + head symbols at one height. Returns a summary with candidateId, open ends (drain candidates), reference (dashed, other-system) labels, exclusion hints, runs and ambiguities to ask the user about. Attached chat files arrive as "[첨부 도면] name path=… candidateId=…". PDFs with outlined text set needsVision (read the page image instead). show=segments|nodes|runs|tags|components lists details (ids, offset, limit, component). Then call spr_import_network. [bulc-mcp rules] DRW-006 — bulc_knowledge_search ""
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | show: only these segment / node / run ids | |
| show | No | What to return (default summary) | |
| entry | No | zip only: entry name (or part of it) to show | |
| limit | No | show: rows (default 60, max 200) | |
| offset | No | ||
| options | No | Re-analysis options: projection (isometric|plan), pipeLinetypes / referenceLinetypes / detailLinetypes (DXF linetype names), layers / excludeLayers, scaleMmPerUnit (drawing unit → mm when the drawing has no DIMENSION), lineNoPattern (regex), rootHint [x,y] (drawing coords near the inlet), plan view: pipeLayers, headBlocks, headLayers, planHeightM; PDF: pages [1,2]. | |
| filePath | No | Absolute path of the drawing file | |
| component | No | show: only this connected component (0 = main network) | |
| candidateId | No | Id from an earlier analysis or the chat attachment (re-use without re-reading) |