- Code\rebar_pipeline, review_pipeline, pier-program을 정션에서 실제 폴더로 전환 - Code\rhino_mcp 및 CLAUDE_rhino배경.md 추가, .mcp.json은 PYTHONPATH로 새 위치 사용 - pier-program 내부 .git 제거(이력은 backup\pier-program_20261028.bundle에 보관) - worktree 가이드 반영(CLAUDE.local.md, HANDOFF.md) - D:\Rhino-MCP 경로 참조를 새 위치로 치환 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
28 lines
1.9 KiB
HTML
28 lines
1.9 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}문자 검색 · {{ p.name }}{% endblock %}
|
|
{% block body %}
|
|
<h1>도면 문자 검색</h1>
|
|
{% if not audit %}<p class="fail">도면이 없습니다. 교각 화면에서 DWG를 먼저 올리세요.</p>{% endif %}
|
|
<form>
|
|
<input type="text" name="q" value="{{ q }}" size="40" placeholder="예: EL. 26.208, 9.350, @250">
|
|
<label><input type="checkbox" name="regex" value="1" {% if regex %}checked{% endif %}> 정규식</label>
|
|
<button>검색</button>
|
|
</form>
|
|
{% if err %}<p class="fail">{{ err }}</p>{% endif %}
|
|
{% if q %}<p>{{ hits|length }}건{% if hits|length >= 200 %} (최대 200건만 표시){% endif %}</p>
|
|
<div class="wrap"><table>
|
|
<tr><th>도면</th><th>레이어</th><th>X</th><th>Y</th><th>글자 높이</th><th>문자</th></tr>
|
|
{% for t in hits %}<tr><td>{{ t.dwg }}</td><td>{{ t.layer }}</td><td>{{ t.x }}</td><td>{{ t.y }}</td><td>{{ t.h }}</td><td>{{ t.text }}</td></tr>{% endfor %}
|
|
</table></div>{% endif %}
|
|
<h2>핸들 조회</h2>
|
|
<p class="muted">CAD에서 확인한 객체 핸들(예: 21A76)로 선·폴리선·호·원·문자·블록의 좌표·길이·반지름을 봅니다. 값은 자동 반영하지 않습니다.</p>
|
|
<form>
|
|
<select name="dwg">{% for a in audit %}<option value="{{ a.label }}" {% if a.label == hdwg %}selected{% endif %}>{{ a.label }} · {{ a.source }}</option>{% endfor %}</select>
|
|
<input type="text" name="h" value="{{ h }}" size="10" placeholder="핸들">
|
|
<button>조회</button>
|
|
</form>
|
|
{% if ent %}<p>{{ hdwg }} · <code>{{ ent.handle }}</code> · {{ ent.type }} · 레이어 {{ ent.layer }}</p>
|
|
<div class="wrap"><table>{% for k, v in ent['values'].items() %}<tr><th>{{ k }}</th><td><code>{{ dumps(v) }}</code></td></tr>{% endfor %}</table></div>{% endif %}
|
|
<p class="muted">좌표는 도면(DXF) 좌표이며 모델 좌표가 아닙니다. 이 도면 세트에서는 치수가 치수 객체가 아니라 문자로 그려져 있어 문자 검색으로 찾습니다.</p>
|
|
{% endblock %}
|