curveloop专题

Revit API 中 offset 外轮廓 CurveLoop

public static CurveLoop GetOffsetResult(CurveLoop clp,double offsetDis){var dir=clp.GetPlane()?.Normal;if (dir == null) return null;return CurveLoop.CreateViaOffset(clp,offsetDis,dir);} 此算法有bug: