From 2cf82b248a10e0c71565418c362ef77597372db0 Mon Sep 17 00:00:00 2001 From: ypshim Date: Tue, 27 Oct 2026 12:35:11 +0900 Subject: [PATCH] =?UTF-8?q?docs(rebar):=20B9=20=ED=96=89=20=EC=97=87?= =?UTF-8?q?=EA=B0=88=EB=A6=BC=20=EB=B0=A9=ED=96=A5=EC=9D=84=20L=20?= =?UTF-8?q?=EB=B0=A9=ED=96=A5=EC=9C=BC=EB=A1=9C=20=EB=AA=85=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 삽도(9,350 기초)의 상면 200과 중앙 450 여유 차이 250 = 2s가 L 방향 엇갈림을 보여 줌. 계산은 그대로. Co-Authored-By: Claude Haiku 5.5 --- CLAUDE.md | 22 ++++++++++++++++++++++ src/core/rebar/footing.ts | 1 + 2 files changed, 23 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..16df498 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,22 @@ +# CLAUDE.md — Code/3d-drawing 작업 규칙 + +> 근거: `RAG/Task: Pierzainer 개발.yaml` ("유의미한 코드 생성 및 수정시 git log 자동 수행", "생성 코드 작업 위치(git 포함): Code\3d-drawing"). +> 전역 지침은 `.claude/taskexecutionagent.md`이며, 커밋 규칙은 여기에만 있다. + +## 커밋 자동 수행 + +**대상 변경:** `src/`, `tests/`, `scripts/`, `verify/`, `index.html`, `package.json`, `package-lock.json`, `tsconfig.json`, `public/`. +**커밋하지 않는 것:** `dist/`, `node_modules/`, 저장소 밖의 `RAG/`, `DOC/`, `context-migration/`, `prompt/`. + +**순서** +1. 대상 변경을 끝낸 뒤 `npx vitest run`을 실행한다. +2. 모두 통과할 때만 커밋한다. 실패하면 커밋하지 않고 실패 내용을 보고한다. +3. 경로를 지정해 스테이징한다. `git add -A`는 쓰지 않는다. +4. 작업과 무관한 변경이 남아 있으면 멈추고 확인한다. +5. 한 커밋에는 한 가지 변경만 담는다. 커밋 해시를 보고한다. + +**메시지** +- 형식: `type(scope): summary` (예: `feat(rebar): ...`, `fix(view): ...`). 요약에 한국어를 써도 된다. +- 끝에 `Co-Authored-By: Claude Haiku 5.5 `을 붙인다. + +**push 금지:** 커밋만 한다. `origin`(gitea)으로 push하지 않는다. push는 별도 확인을 받는다. diff --git a/src/core/rebar/footing.ts b/src/core/rebar/footing.ts index 82a851f..3f80e45 100644 --- a/src/core/rebar/footing.ts +++ b/src/core/rebar/footing.ts @@ -212,6 +212,7 @@ export function b9Bars(L: number, W: number, columnX: number[], columnD: number const halfBar = NOMINAL_DIAMETER.H16 / 2; const bars: B9Bar[] = []; const perRow = rowIndices.map((iW, r) => { + // Staggered by 2 steps along L between neighbouring rows (엇갈림 2s, L 방향; 삽도 상면 200 · 중앙 450). const start = r % 2 === 0 ? 1 : 3; let kept = 0; for (let iL = start; iL < xs.length; iL += 4) {