Login  Register

Re: Draw Chord

Posted by LordOfBikes on Aug 04, 2023; 7:15am
URL: https://forum.librecad.org/Draw-Chord-tp5723152p5723158.html

This is just an inaccuracy from drawing the big diameter circle and is only visible in high zoom levels.
The snap point is correct if you look at the numbers.
This drove me crazy too and I investigated this once upon a time.
See https://forum.librecad.org/Bug-with-Line-and-Circle-Intersection-mismatch-on-snap-Intersection-tp5717031p5717032.html

In the quadrant points at 0°, 90°, 180° and 270° everything is fine, and it's worst at 45°, 135°, 225° and 315°.
It is nothing we can control from LibreCAD code. My assumption is, that the underlying graphics library uses some sine/cosine tables for performance reasons, which brings in the inaccuracy.
investing less than half an hour into Search function can save hours or days of waiting for a solution