Open
Description
Hi friends,
Arc (and others) curved geometry discretization seams to have been screwed up recently.
Many entities use "CSMath.Geometry.CurveExtensions" to perform this task, and there is something weird in the code :
Calculation of points is made in entity coordinates system :
startPoint
is local X axis
prep
is local Y axis
But the start angle is kept equal to Arc.StartAngle
, leading to an angular offset in the result.
Solution :
Either keep Arc.StartAngle
& Arc.StartAngle
and calculate inside CSMath.XYZ.AxisX / CSMath.XYZ.AxisY
coordinates.
Or set endAngle -= startAngle
& startAngle = 0