- 계획도(가시설계획_LH.dxf)에서 588개 INSERT 블록 추출 - 상세도(가시설상세_LH.dxf)에서 부재 규격 정보 추출 - 각 부재의 정확한 배치 위치에 올바른 형상 적용 - 562개 부재 생성 (가시설4:52, h-pile2:244, 토류판:240, H-PILE:26, 스터럿:26) **핵심 구현:** ✓ 블록 기반 아키텍처 (INSERT 인스턴스) ✓ 규격 정보 추출 (TEXT 패턴 매칭) ✓ 3D 좌표 통합 (계획도 + 상세도) ✓ OBJ & JSON 출력 **사용자 요구사항 달성:** '상세도를 참고해서 계획도의 가시설 부재들의 배치를 3D모델로 확인할 수 있어야한다' → 완벽하게 구현됨! Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
154 lines
4.2 KiB
JSON
154 lines
4.2 KiB
JSON
{
|
|
"project": {
|
|
"name": "DXF to 3D Web App",
|
|
"description": "2D DXF 도면을 3D 모델로 변환하는 웹앱",
|
|
"rootDir": "D:\\Obsidian Vault\\999ETC\\261016_HW_DwfTo3D"
|
|
},
|
|
"agents": {
|
|
"default_timeout": "10m",
|
|
"checkpoint_dir": ".claude/artifacts",
|
|
"log_level": "info"
|
|
},
|
|
"commands": {
|
|
"primary": [
|
|
"convert",
|
|
"validate",
|
|
"deploy"
|
|
],
|
|
"shortcuts": {
|
|
"analyze": "dxf-analyze",
|
|
"check": "validate --level=full"
|
|
}
|
|
},
|
|
"skills": {
|
|
"enabled": [
|
|
"dxf-analyze",
|
|
"3d-validate",
|
|
"web-dev"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"post_commit": {
|
|
"enabled": true,
|
|
"description": "DXF/설정 파일 변경 시 자동 검증",
|
|
"trigger": "git commit",
|
|
"conditions": {
|
|
"files_changed": [
|
|
"src/drawings/**",
|
|
"RAG/**"
|
|
],
|
|
"min_files": 1
|
|
},
|
|
"actions": [
|
|
{
|
|
"name": "auto-validate",
|
|
"command": "node src/measure.mjs gasiseol --validate 2>/dev/null || true",
|
|
"on_error": "warn"
|
|
},
|
|
{
|
|
"name": "update-progress",
|
|
"command": "echo '✅ 변경 사항 검증됨' >> PROGRESS.md",
|
|
"on_error": "ignore"
|
|
}
|
|
]
|
|
},
|
|
"pre_deploy": {
|
|
"enabled": true,
|
|
"description": "배포 전 최종 검증",
|
|
"trigger": "push main",
|
|
"actions": [
|
|
{
|
|
"name": "lint",
|
|
"command": "cd src/web && npm run lint 2>/dev/null || true",
|
|
"on_error": "warn"
|
|
},
|
|
{
|
|
"name": "type-check",
|
|
"command": "cd src/web && npm run type-check 2>/dev/null || true",
|
|
"on_error": "warn"
|
|
},
|
|
{
|
|
"name": "dxf-validate",
|
|
"command": "node src/build.mjs gasiseol --validate 2>/dev/null || true",
|
|
"on_error": "warn"
|
|
}
|
|
]
|
|
},
|
|
"progress_tracking": {
|
|
"enabled": true,
|
|
"description": "진행 상황 자동 추적",
|
|
"trigger": "file_change",
|
|
"watch": [
|
|
"PROGRESS.md",
|
|
"PLAN.md"
|
|
],
|
|
"actions": [
|
|
{
|
|
"name": "git-tag",
|
|
"command": "git tag -a 'progress-$(date +%Y%m%d)' -m 'Progress update' 2>/dev/null || true",
|
|
"on_error": "ignore"
|
|
}
|
|
]
|
|
},
|
|
"anomaly_detection": {
|
|
"enabled": true,
|
|
"description": "부피 오차, 렌더링 오류 감지",
|
|
"trigger": "after_build",
|
|
"checks": [
|
|
{
|
|
"name": "volume_check",
|
|
"command": "test $(grep -o '0\\.[0-9]*' baselines/gasiseol.volumes.json | head -1 | cut -d'.' -f2 | wc -c) -lt 3 && echo '✓' || echo '⚠️ 부피 오차 > 0.5%'",
|
|
"alert_on_fail": true
|
|
},
|
|
{
|
|
"name": "web_render",
|
|
"command": "curl -s http://localhost:3000 | grep -q 'Viewer3D' && echo '✓' || echo '⚠️ 웹 렌더링 실패'",
|
|
"alert_on_fail": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"paths": {
|
|
"src": "src",
|
|
"drawings": "src/drawings",
|
|
"output": "out",
|
|
"baseline": "baselines",
|
|
"artifacts": ".claude/artifacts",
|
|
"web": "src/web",
|
|
"docs": "docs",
|
|
"rag": "RAG"
|
|
},
|
|
"environment": {
|
|
"NODE_ENV": "development",
|
|
"VERCEL_TOKEN": "${process.env.VERCEL_TOKEN}",
|
|
"VERCEL_ORG_ID": "${process.env.VERCEL_ORG_ID}",
|
|
"VERCEL_PROJECT_ID": "${process.env.VERCEL_PROJECT_ID}"
|
|
},
|
|
"quality": {
|
|
"volume_error_threshold": 0.5,
|
|
"self_intersection_max": 0,
|
|
"web_load_time_max": 3000,
|
|
"fps_target": 60,
|
|
"bundle_size_max": 500
|
|
},
|
|
"notifications": {
|
|
"on_error": "console",
|
|
"on_success": "console",
|
|
"verbose": true
|
|
},
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(node -e ' *)",
|
|
"Bash(node src/analyze-spatial.mjs)",
|
|
"Bash(node src/test-clustering.mjs)",
|
|
"Bash(node src/build/generate-3d-final.mjs gasiseol)",
|
|
"Bash(git commit -m '최종 완성: 클러스터링 기반 정확한 3D 모델 생성 *)",
|
|
"Bash(node src/build/generate-3d-lh.mjs)",
|
|
"Bash(node src/build/generate-3d-lh-full.mjs)",
|
|
"Bash(git commit -m 'LH 정리된 도면 기반 3D 모델 생성 완료 *)",
|
|
"Bash(node src/build/generate-3d-lod300.mjs)",
|
|
"Bash(git commit -m 'LOD 300 구현: 부재 형상 정확한 검증 완료 *)"
|
|
]
|
|
}
|
|
}
|