From 0fc4ab3e0d3af6acac69ef15e72bb68f65533bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sun, 15 Mar 2026 11:03:14 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[fire-shutter]=20=EC=83=81=EB=B6=80=20?= =?UTF-8?q?=EC=BB=A4=EB=B2=84=20=EC=9C=84=EC=B9=98=20=EC=8B=A4=EC=A0=9C=20?= =?UTF-8?q?=EC=A0=9C=EC=9E=91=20=ED=98=95=EC=83=81=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - SVG: 커버를 전면판 립 안쪽 10mm 위치에 올려놓기 (D-20mm) - SVG: 기존 전체깊이 상판+코너리턴 제거 → 절곡 없는 평판 커버 - 3D: 구조 상판 제거, 커버 Y위치를 케이스 상단에 밀착 - 3D: 양쪽 10mm 축소, 중앙 정렬 유지 --- .../rd/fire-shutter-drawing/index.blade.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/resources/views/rd/fire-shutter-drawing/index.blade.php b/resources/views/rd/fire-shutter-drawing/index.blade.php index 6d2cda9e..3688c6aa 100644 --- a/resources/views/rd/fire-shutter-drawing/index.blade.php +++ b/resources/views/rd/fire-shutter-drawing/index.blade.php @@ -1302,10 +1302,9 @@ function renderSbSide() { `; })()} - - - - + + + 상부 커버 (${D-20}mm) @@ -1876,9 +1875,7 @@ function addPlate(w, h, d, x, y, z, mat, eMat) { // Seg1: 17mm ← (Seg2 상단에서 전면 방향으로 복귀) addPlate(W1, pt, fpSeg[0], 0, fpSeg[1] - pt / 2, frontZ - fpSeg[2] + fpSeg[0] / 2); - // ── ② 상판 (전체 깊이 고정) ── - addPlate(W1, pt, b.depth, 0, b.height - pt / 2, 0); - addPlate(W1, retCorner, pt, 0, b.height - retCorner / 2, -b.depth / 2 + pt / 2); // 코너 리턴 + // ── ② 상부 커버는 케이스 공통으로 아래에서 렌더링 ── // ── ③ 후면 상부 고정부 ── addPlate(W1, rTopH, pt, 0, b.height - rTopH / 2, -b.depth / 2 + pt / 2); @@ -1971,9 +1968,10 @@ function addScrew(sx, sy, sz, rotAxis) { if (backLipD > 0) addPlate(W1, pt, backLipD, 0, pt / 2, -b.depth / 2 + backLipD / 2); } - // ── 상판/덮개 (Cover — 양쪽 10mm 축소) ── - const coverY = b.height + pt; - addPlate(W1 - 20, pt, b.depth - 20, 0, coverY + pt / 2, 0); + // ── 상부 커버 (절곡 없는 평판, 전면판 립 안쪽 10mm에 올라감) ── + // 폭: W1 - 20 (양쪽 10mm 축소), 깊이: depth - 20 (양쪽 10mm 축소) + // 중앙 정렬 → 전면에서 10mm, 후면에서 10mm 들어간 위치 + addPlate(W1 - 20, pt, b.depth - 20, 0, b.height + pt / 2, 0); scene.add(meshes.case);