From 020a4e60fe67b3bc51d37dd5633165a69d54e9bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Mon, 9 Mar 2026 10:17:22 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[rd]=20=EC=85=94=ED=84=B0=EB=B0=95?= =?UTF-8?q?=EC=8A=A4=20Z=20=EC=98=A4=ED=94=84=EC=85=8B=EC=9D=84=20?= =?UTF-8?q?=EC=83=A4=ED=94=84=ED=8A=B8=20=EA=B8=B0=EB=B0=98=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 샤프트 앞면이 가이드레일(Z=0) 바로 뒤에 위치하도록 계산 - 철재: boxZOffset=-65mm (기존 -195mm), 스크린: -45mm (기존 -125mm) - frontRatio 방식 제거, 샤프트 직경 기반 계산 --- resources/views/rd/fire-shutter-drawing/index.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/rd/fire-shutter-drawing/index.blade.php b/resources/views/rd/fire-shutter-drawing/index.blade.php index b34ec654..5edb44d5 100644 --- a/resources/views/rd/fire-shutter-drawing/index.blade.php +++ b/resources/views/rd/fire-shutter-drawing/index.blade.php @@ -1129,9 +1129,9 @@ function fs3dBuild() { // Center: opening center at 0,H/2,0 const hw = W / 2; - // 셔터박스 비대칭 Z 오프셋 (가이드레일 Z=0 기준, 뒤쪽으로 더 돌출) - const frontRatio = p.sb ? p.sb.frontRatio : 0.5; - const boxZOffset = b.depth * (frontRatio - 0.5); // 음수 = 뒤쪽으로 이동 + // 셔터박스 비대칭 Z 오프셋: 샤프트 앞면이 가이드레일(Z=0) 근처에 위치 + // 샤프트 중심 Z = -(반지름 + 여유), 박스는 샤프트를 감싸도록 배치 + const boxZOffset = -(b.shaftDia / 2 + 5); // 샤프트 앞면이 Z≈-5 (가이드레일 바로 뒤) // === SHUTTER BOX (CASE) === const boxGeo = new THREE.BoxGeometry(W1, b.height, b.depth);