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