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);