auto: 2026-08-29 09:04 (EOMSANGDON-HOME)
This commit is contained in:
@@ -61,6 +61,8 @@ export interface StructurePanelContext {
|
||||
appliedD: () => Map<RevetKey, number>;
|
||||
pipeLengthM: () => number | null;
|
||||
inletIsBasin: () => boolean;
|
||||
/** 기준벽이 독립 기슭막이(관 없는 숨김 세트)인가 — 조정창 걸음 분류에 쓴다. */
|
||||
hiddenPipe: () => boolean;
|
||||
inletOptions: () => { revetAllowed: boolean; basinLUAllowed: boolean };
|
||||
extraState: () => { canAdd: boolean; count: number };
|
||||
basinExtraState: () => { canAdd: boolean; count: number };
|
||||
@@ -134,6 +136,10 @@ export function structurePanelDeps(ctx: StructurePanelContext): StructurePanelDe
|
||||
resetBasin: () => ctx.inletStructure?.resetAdjust(ctx.adjustChainage()),
|
||||
// 집수정은 자리 고정 — 유입이 집수정이면 ◀/▶/↺를 숨긴다(추가 벽은 항상 이동).
|
||||
canNudge: (key) => key !== "inlet" || !ctx.inletIsBasin(),
|
||||
// 걸음 분류(2026-08-29 사용자): **배관 기준벽만 1m**, 나머지(독립 기슭막이 기준벽·
|
||||
// 배관/독립 종속 추가 벽·옛 D경로 독립 벽)는 0.1m.
|
||||
fineMove: (key) =>
|
||||
(key !== "inlet" && key !== "outlet") || ctx.hiddenPipe(),
|
||||
optionsFor: () => ctx.inletOptions(),
|
||||
extraState: () => ctx.extraState(),
|
||||
basinExtraState: () => ctx.basinExtraState(),
|
||||
|
||||
Reference in New Issue
Block a user