fix(rebar): 꺾인 다주형 코핑의 철근표를 다주형 규칙으로 낸다
꺾인 코핑이면 기둥 수와 관계없이 T형(기둥 1개) 코핑 행을 내어 산외교 P11(3주형)의 전단철근 등 수량이 틀렸다. 기둥이 1개일 때만 T형 행, 2개 이상이면 꺾여도 다주형 행(편 좌표 계산)을 쓴다. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0b3087e752
commit
51209cccf9
2 files changed
+17
-2
No files matched your search
@@ -237,7 +237,8 @@ export function rebarSummary(
|
||||
// Coping (코핑철근.md §5–§8)
|
||||
const colS = model.columns.map((c) => c.s * 1000);
|
||||
const nCol = Math.max(1, colS.length);
|
||||
if (nCol <= 1 || model.kink !== null) {
|
||||
// A bent multi-column coping keeps the multi-column rules (2026-11-10); only one column uses the T형 rows.
|
||||
if (nCol <= 1) {
|
||||
const width = widthLayout(B, model.copingRebar);
|
||||
const perRow = width.count / 2; // cycle split, 12 per row
|
||||
// CP04 (승인 2026-10-26): the cycle split needs an even count (n + 3), so n must be odd. Warning only; the input is kept.
|
||||
@@ -400,7 +401,7 @@ export function rebarSummary(
|
||||
} else {
|
||||
warnings.push({ code: 'RB-F00', message: '현장타설말뚝은 확대기초가 없어 확대기초 철근을 만들지 않습니다.', target: 'footing' });
|
||||
}
|
||||
if (nCol > 1 && model.kink === null) {
|
||||
if (nCol > 1) {
|
||||
const info = multicolCopingInfo(model, mCoping);
|
||||
const grouped = new Map<string, typeof info.bars>();
|
||||
for (const b of info.bars) {
|
||||
|
||||
Reference in new issue
Block a user