From 18083f89132666225c57ca5ffdc1bb989ea539a8 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Fri, 20 Mar 2026 10:19:00 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B2=98=EB=A7=88=EC=BB=A4=EB=B2=84=20?= =?UTF-8?q?=EC=84=A4=EC=B9=98=EC=9D=B4=EC=83=81=20=ED=98=84=EC=83=81=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/module/useTrestle.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/hooks/module/useTrestle.js b/src/hooks/module/useTrestle.js index 0ff486dc..173a5cd2 100644 --- a/src/hooks/module/useTrestle.js +++ b/src/hooks/module/useTrestle.js @@ -106,6 +106,7 @@ export const useTrestle = () => { console.log('모듈이 없거나 계산 실패:', surface.modules?.length || 0) return } + const centerPoints = result.centerPoints const exposedBottomModules = [] // 아래 두면이 모두 노출 되어있는 경우 @@ -164,11 +165,8 @@ export const useTrestle = () => { if (isEaveBar) { // 처마력바설치 true인 경우 설치 + // exposedBottomModules는 아래가 노출된 최하단 모듈이므로 level 체크 없이 항상 설치 exposedBottomModules.forEach((module) => { - const level = module.level - if (level > cvrLmtRow) { - return - } const bottomPoints = findTopTwoPoints([...module.getCurrentPoints()], direction) if (!bottomPoints) return const eaveBar = new fabric.Line([bottomPoints[0].x, bottomPoints[0].y, bottomPoints[1].x, bottomPoints[1].y], {