곡선 부드럽게 — float polyline 매끄럽게 #2

Open
opened 2026-05-08 15:27:36 +09:00 by HYUNJUNGLEE · 0 comments
Owner

사용자 피드백 #2: 곡선은 float 형태이므로, 매끄럽지 않게 보일 수 밖에 없으니, 매끄럽고 우수한 품질을 위한 고민 필요.

현재 상태

  • 설계: CURVE_SMOOTHING_PLAN.md (commit e9cc6bf, 200줄)
  • 구현 미적용

1차 패치 대상 (P1)

  • gate_3d_builder.py:78 _build_spillway_body ogee 프로파일 → scipy.interpolate.CubicSpline arc-length 매개화 4× densify.
  • 함수 추가: _densify_profile(profile_2d, n_factor=4, n_min=4) — PLAN §3 코드 그대로.

후속 (P2/P3)

  • Radial gate skin n_circ 16→32 (gate_3d_builder.py:428)
  • Cylinder resolution 16→32 (intake_tower, valve_chamber, retaining_wall)
  • 메시 사후 mesh.smooth_taubin(n_iter=10, pass_band=0.1)
**사용자 피드백 #2**: 곡선은 float 형태이므로, 매끄럽지 않게 보일 수 밖에 없으니, 매끄럽고 우수한 품질을 위한 고민 필요. ## 현재 상태 - ✅ 설계: `CURVE_SMOOTHING_PLAN.md` (commit `e9cc6bf`, 200줄) - ❌ 구현 미적용 ## 1차 패치 대상 (P1) - `gate_3d_builder.py:78` `_build_spillway_body` ogee 프로파일 → `scipy.interpolate.CubicSpline` arc-length 매개화 4× densify. - 함수 추가: `_densify_profile(profile_2d, n_factor=4, n_min=4)` — PLAN §3 코드 그대로. ## 후속 (P2/P3) - Radial gate skin `n_circ` 16→32 (gate_3d_builder.py:428) - Cylinder resolution 16→32 (intake_tower, valve_chamber, retaining_wall) - 메시 사후 `mesh.smooth_taubin(n_iter=10, pass_band=0.1)`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: HYUNJUNGLEE/s-canvas#2