diff --git a/src/Formplot/FileFormat/FormplotConverter.cs b/src/Formplot/FileFormat/FormplotConverter.cs index e220f72..6a3329b 100644 --- a/src/Formplot/FileFormat/FormplotConverter.cs +++ b/src/Formplot/FileFormat/FormplotConverter.cs @@ -366,7 +366,9 @@ private static CurveProfilePlot ConvertToCurveProfile( CylindricityPlot source ) var y = Math.Sin( point.Angle ) * source.Actual.Radius; var curvePoint = new CurvePoint( - new Vector( x, y, point.Height * source.Actual.Height ), + segment.SegmentType == SegmentTypes.Axis + ? new Vector( 0, 0, point.Height * source.Actual.Height ) + : new Vector( x, y, point.Height * source.Actual.Height ), new Vector( x, y ).Normalized(), point.Deviation );