pcb-tools
pcb-tools copied to clipboard
Fail to find arc center point if start point, end point and offset is given
Please find the Stackoverflow question https://stackoverflow.com/questions/63858792/find-arc-center-point-if-start-point-end-point-and-offset-is-given?noredirect=1#comment112929686_63858792 I got problem to find center point in https://github.com/curtacircuitos/pcb-tools/blob/master/gerber/rs274x.py in def _find_center(self, start, end, offsets) method "is_valid_sweep_angle = sweep_angle >= 0 and sweep_angle <= math.pi / 2.0 + 1e-6" at line 775 Where "sweepAngle" =1.5708064868152167 and Value of "Math.PI / 2.0 + 1e-6" = 1.5707973267948965 For this minor difference, Its become isValidSweepAngle = false.