View Issue Details

IDProjectCategoryView StatusLast Update
0004001SketcherBugpublic2020-05-31 01:42
Reporteruwestoehr Assigned To 
Status newResolutionopen 
Product Version0.18 
Target Version0.19 
Summary0004001: Sketcher trimming issue with arcs
DescriptionWhen 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.
Additional InformationForum thread:

Confirmed by @abdullah

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
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)
Tagssketcher, undo
FreeCAD Information



2019-06-05 23:02



2019-06-05 23:03


Trimming-Bug1.gif (519,486 bytes)   
Trimming-Bug1.gif (519,486 bytes)   


2019-06-06 22:53

developer   ~0013154

As stated in the forum thread the missing undo is a FreeCAD bug independent of OCCT and should be fixed in any case.


2019-06-25 23:24

developer   ~0013312

@abdullah, should I open a separate bug for the undo issue?


2019-08-23 02:50

administrator   ~0013460

@uwestoehr did you ever get a response from abdullah on this ?
When you do please link said ticket to this one. Thanks!


2020-05-26 15:30

manager   ~0014427

PR for the undo part:

The special handling I leave it for when OCCT fixes their routine, as the work-around code is already convoluted enough.


2020-05-31 01:42

developer   ~0014449

Many thanks. I can confirm that undo works now fine.

Issue History

Date Modified Username Field Change
2019-06-05 23:02 uwestoehr New Issue
2019-06-05 23:02 uwestoehr Tag Attached: sketcher
2019-06-05 23:02 uwestoehr File Added: Sketch-cut-problem.FCStd
2019-06-05 23:03 uwestoehr File Added: Trimming-Bug1.gif
2019-06-05 23:04 uwestoehr Description Updated View Revisions
2019-06-06 22:53 uwestoehr Note Added: 0013154
2019-06-06 22:54 uwestoehr Tag Attached: undo
2019-06-17 10:06 uwestoehr Additional Information Updated View Revisions
2019-06-25 23:24 uwestoehr Note Added: 0013312
2019-08-23 02:50 Kunda1 Note Added: 0013460
2019-08-23 02:51 Kunda1 Target Version => 0.19
2020-05-26 15:30 abdullah Note Added: 0014427
2020-05-31 01:42 uwestoehr Note Added: 0014449