dev #768

Merged
ysCha merged 2 commits from dev into dev-deploy 2026-04-08 17:43:32 +09:00
Showing only changes of commit 471093eb8a - Show all commits

View File

@ -167,9 +167,13 @@ export const useTrestle = () => {
})
if (isEaveBar) {
// 처마력바설치 true인 경우 설치
// exposedBottomModules는 아래가 노출된 최하단 모듈이므로 level 체크 없이 항상 설치
// 처마커버 설치: cvrLmtRow 값에 따라 설치 단 수 제한
// - cvrLmtRow=1: 최하단(level 1)만 설치
// - cvrLmtRow=2: 최하단과 그 위 1단(level 1~2) 설치
// - cvrLmtRow=9999: 모든 단에 설치
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], {