Centerpoint Correction

centerpointCorrectionSet

centerpointCorrectionSet(on:= bool)

Activates the centerpoint correction for circles. The centerpoint correction will be used for circles that are defined using centerpoint programming, see G2 and G3. Due to inaccuracies (e.g. rounding errors by the CAD program), the radius of the starting-point and endpoint with respect to the centerpoint may differ. If centerpoint correction is active, the center will be moved in such a way that the starting-radius and endradius are equal to their former average.

A limit for centerpoint correction can be configured with centerpointCorrectionLimitSet(…). If this limit is exceeded, a runtime error will be reported.

centerpointCorrectionLimitSet

centerpointCorrectionLimitSet(limit:= LREAL)

Sets the precision limit for the centerpoint of circles. If the given limit is exceeded, a runtime error is reported. The default limit value is 0.1 mm.