Login  Register

Re: LibreCAD unexpected behavior

Posted by dxli on Aug 31, 2024; 8:14pm
URL: https://forum.librecad.org/LibreCAD-unexpected-behavior-tp5725111p5725310.html

If so, I will review the circle trimming first on angles.

If needed, I will probably create new entity API for trimming. The current trimming API separates the information of trimming input, making trimming implementation complex at geometry level.

Some details:

We should handle trimming at geometry level with the following information:

1, the closest point on entity to the mouse pointer, when clicking to trim;
2, the intersection points to the limiting entity.

Currently, the API first takens info 1, then, create a new trim point concept, and trimming based on that trimming point.

Consider trimming a full ellipse with another, the complexity is clear.
sand1024 wrote
Trim behavior for circle is definitely a bug, depending on selection point on circle trim points are defined incorrectly.

Could you please report issue on GitLab (one for trim and one for lengthen)?
The link is here - https://github.com/LibreCAD/LibreCAD/issues