From 0ee85bba4073585e4f50cedca3de86badd8a571b Mon Sep 17 00:00:00 2001 From: tian <11429339@qq.com> Date: Thu, 29 Jan 2026 14:35:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=E7=A9=BA=E8=BD=A8?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E7=9A=84=E5=9E=82=E7=9B=B4=E5=81=8F=E7=A7=BB?= =?UTF-8?q?=E9=80=BB=E8=BE=91=EF=BC=8C=E4=BB=A5=E7=A1=AE=E4=BF=9D=E9=80=9A?= =?UTF-8?q?=E8=A1=8C=E7=A9=BA=E9=97=B4=E9=A1=B6=E9=9D=A2=E5=AF=B9=E9=BD=90?= =?UTF-8?q?=E8=BD=A8=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Core/PathPointRenderPlugin.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Core/PathPointRenderPlugin.cs b/src/Core/PathPointRenderPlugin.cs index f87aa89..4076174 100644 --- a/src/Core/PathPointRenderPlugin.cs +++ b/src/Core/PathPointRenderPlugin.cs @@ -1402,6 +1402,11 @@ namespace NavisworksTransport // 地面路径:路径点是地面位置,通行空间底面在地面,中心需要向下偏移半个高度 verticalOffset = -heightInModelUnits / 2.0; } + else if (visualization.PathRoute.PathType == NavisworksTransport.PathType.Rail) + { + // 空轨路径:路径点是轨道中心线位置,通行空间顶面对齐轨道,中心需要向上偏移半个高度 + verticalOffset = heightInModelUnits / 2.0; + } else if (visualization.PathRoute.PathType == NavisworksTransport.PathType.Hoisting) { if (isVerticalSegment)