From 20b2deeddd376ba04c3103001a693f8b5981a1ac Mon Sep 17 00:00:00 2001 From: umsangdon Date: Thu, 15 Oct 2026 12:50:43 +0900 Subject: [PATCH] =?UTF-8?q?fix(B05=EC=B6=94=EC=B2=9C):=20328-2=20=ED=81=B0?= =?UTF-8?q?=20R=20=E2=80=94=20=EB=8B=A8=EC=88=9C=ED=99=94=EA=B0=80=20?= =?UTF-8?q?=EA=B8=B0=EC=9A=B8=EA=B8=B0=20=EC=9C=84=EB=B0=98=EC=9D=84=20?= =?UTF-8?q?=EB=8A=98=EB=A6=AC=EB=8A=94=20=EA=B8=89=ED=95=9C=20=EC=A7=80?= =?UTF-8?q?=ED=98=95(=EA=B2=80=EC=A6=9D=5Fsub8)=EC=97=90=EC=84=9C=202?= =?UTF-8?q?=EB=8B=A8=EC=9D=84=20=EC=B5=9C=EC=86=8C=20R=20=ED=8C=90=20?= =?UTF-8?q?=EB=85=B8=EB=93=9C=EC=97=90=20=EB=B0=94=EB=A1=9C=20=EA=B1=B4=20?= =?UTF-8?q?=ED=8C=90=EC=9D=84=201=EB=8B=A8=EB=B3=B4=EB=8B=A4=20=EB=A8=BC?= =?UTF-8?q?=EC=A0=80=20=C2=B7=20=EC=8B=A4=EC=B8=A1=20=EB=84=A4=20=EA=B0=88?= =?UTF-8?q?=EB=9E=98=20R=2012=20=E2=86=92=2018/29/147?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Se7ytqbohmBQnfYpwYFnYf --- B05_Profile/B05_Profile_Engine_RouteInitial_Pool.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/B05_Profile/B05_Profile_Engine_RouteInitial_Pool.py b/B05_Profile/B05_Profile_Engine_RouteInitial_Pool.py index 1f7e2d3df..999230c66 100644 --- a/B05_Profile/B05_Profile_Engine_RouteInitial_Pool.py +++ b/B05_Profile/B05_Profile_Engine_RouteInitial_Pool.py @@ -107,9 +107,10 @@ def _trace( traced: dict[tuple, Route], **kw: Any, ) -> Route: - # 큰 R(PLAN 328) — 2단 판(허용 이탈 안 가장 큰 R · `..._Radius.widen`) → 1단 판(탐색 경로를 - # 예정노선 규칙으로 단순화 · 묶음 · R 맞춤) 차례로, 위반이 최소 R 판(노드마다 곡선 · 옛 규칙) - # 보다 많지 않은 첫 판. 셋 다 화면이 [확인] 때 같은 선으로 다시 짜는 꼴. + # 큰 R(PLAN 328) — 2단 판(허용 이탈 안 가장 큰 R · `..._Radius.widen`) → 2단을 최소 R 판 + # 노드에 바로 건 판(단순화가 기울기 위반을 늘리는 급한 지형 · 검증_sub8 실측) → 1단 판(탐색 + # 경로를 예정노선 규칙으로 단순화 · 묶음 · R 맞춤) 차례로, 위반이 최소 R 판(노드마다 곡선 · + # 옛 규칙)보다 많지 않은 첫 판. 모두 화면이 [확인] 때 같은 선으로 다시 짜는 꼴. # 같은 노드 · 같은 잼이면 다시 재지 않음(쓸기는 이웃 비중이 같은 길을 자주 냄 · 묶음마다 따로). key = (tuple(nodes), tuple(sorted(kw.items()))) if key not in traced: @@ -119,7 +120,7 @@ def _trace( least = (floor, measure(floor, **kw)) path = densify_route(nodes, TRACE_DENSIFY_M) fitted = build_planned_polyline(path, min_radius_m=min_radius_m) - larger = (widen(fitted, path, min_radius_m), fitted) + larger = (widen(fitted, path, min_radius_m), widen(floor, path, min_radius_m), fitted) traced[key] = next( ( route