I noticed random behavior when trimming arcs in a sketch and think this is a bug.
When trimming 2 intersecting arcs the trimming fails when the endpoint of one arc is coincident with the second arc. Moreover the trimming cannot be undone.
To reproduce open the attached file:
and trim the upper ends of the arcs so that only one arc segment would be left. The interesting thing is that the result cannot be foreseen and that in all cases the trimming cannot be undone.
Here is one try:
but sometimes I end up with 2 arc segments not intersecting each other but being connected in one point.
So am I doing something wrong or is it a bug?
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at upstream/releases/FreeCAD-0-18)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
[fixed] Ticket #4001 - Sketcher trimming issue with arcs
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
[fixed] Ticket #4001 - Sketcher trimming issue with arcs
Last edited by uwestoehr on Sat Oct 24, 2020 10:14 pm, edited 2 times in total.
Re: Sketcher trimming issue with arcs
Abdullah wrote:ping
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Sketcher trimming issue with arcs
Of course, it is a bug. I confirm the repeatability.
Please make a ticket in the tracker with a link to the thread so that the file does not get lost.
Trimming relies on a buggy OCCT function. It has been reported to OCCT, but not fixed yet.
There is some code in FreeCAD that tries to compensate for this OCCT bug. Maybe it can be improved to handle this case.
Re: Sketcher trimming issue with arcs
I created now issue #4001.
Many thanks for having a look. Let's cross fingers that the next OCCT release comes soon.
Re: Ticket #4001 - Sketcher trimming issue with arcs
From my point of view we could well wait for OCC, but it would be great if FreeCAD can handle the undo.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Ticket #4001 - Sketcher trimming issue with arcs
Many thanks abdullah. I can confirm that undo works now fine.
Re: Ticket #4001 - Sketcher trimming issue with arcs
This issue seems to be fixed in OCC 7.4. At least I cannot reproduce the bug anymore.