Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Fail to find arc center point if start point, end point and offset is given #174

Open
dev22Intellial opened this issue Sep 15, 2020 · 0 comments

Comments

@dev22Intellial
Copy link

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.

@dev22Intellial dev22Intellial changed the title Find arc center point if start point, end point and offset is given Fail to find arc center point if start point, end point and offset is given Sep 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant