Polyline rendering problem
scosta
11/5/2021 9:10 AM


Hello, Thank you, 
Wout
11/5/2021 11:10 AM


Hi, You can modify the spline rendering precision by setting GraphicsConfig.ShapeFlattenEpsilon, for example: C# Code: // Negative value means relative precision.
graphicsConfig.ShapeFlattenEpsilon = 0.01d;  Wout 
scosta
11/5/2021 3:23 PM


Thank you so much for your help, with this workaround we can move forward. By lowering the parameter as you suggested, we get a polyline that approximates the spline a little bit better. Lowering the parameter further (eg 0.005) we obtain an acceptable approximation, but the other parts have very small segments. It seems that the approximation is not relative to the curvature of the entity. Thanks for the support, 
Wout
11/5/2021 3:57 PM


Unfortunately it's the best the current rendering pipeline can do at the moment. The relative epsilon is with respect to the size of the entity.  Wout 
scosta
11/8/2021 9:02 AM


Wout thank you for your help. 