View Issue Details

IDProjectCategoryView StatusLast Update
0004688FreeCADBugpublic2021-06-23 17:48
Reporterhgraminho Assigned To 
Status newResolutionopen 
Product Version0.19 
Summary0004688: Recomputing after unchanged task/sketch
DescriptionThere are certain feature types for which opening their respective task panels for edit, followed by leaving them unchanged (either by pressing cancel or esc), causes them to become marked to recompute. This causes unnecessary delays, especially for larger models.

Comparing to version 0.18, this behavior was fixed for many of the tools, but also appeared on others, including the sketcher.

As far as I tested (mostly PartDesign workbench), leaving or cancelling tool task pannel...
...generates an undesired "mark to recompute" for:
FC 0.18: additive and subtractive pipes, mirrored feature, linear pattern and polar pattern
FC 0.19: sketches, additive and subtractive pipes

...does not generate "mark to recompute" (which is fine*) for:
FC 0.18: sketches, pad, pocket, lofts, grooves, chanfers, fillets, thickness
FC 0.19: pad, pocket, lofts, grooves, chanfers, fillets, thickness, mirrored feature, linear pattern and polar pattern

*however, I noticed that if there is some editable field that gets changed, then even if you change the value back and/or cancel the tool, "mark to recompute" will be generated as well. This seems to be happening for Part WB too.

Could be happening for other workbenches as well.
Steps To ReproduceCreate partdesign body.
Create 2 simple sketches, a closed one and a path (e.g. straight line).
Create additive pipe.
Activate "Skip recomputes"
Open pipe task panel (double click on it in the tree)
Press cancel or esc.
Note the mark for recompute icon.
Press F5 (update)
Enter and leave either sketch without changing it.
Note the mark for recompute icon.
Press F5 (update)

Now, just for comparison, try creating a pad or any of the other features I mentioned were ok.
Hit F5
Open feature task panel, then cancel. Notice that mark for recompute is NOT generated.
Now do the same but try editing something within the panel before cancel. Recompute IS generated.
Additional InformationForum discussion (behavior confirmed by other):

Since this fix possibly requires changes to multiple tools and workbenches, I suggest fixing the Sketcher first, since it plays a central role for most of the users.
TagsNo tags attached.
FreeCAD InformationOS: Windows 10 Version 2004
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Portuguese/Brazil (pt_BR)



2022-03-03 13:55

administrator   ~0017064

This ticket has been migrated to GitHub as issue 6233.

Issue History

Date Modified Username Field Change
2021-06-23 17:48 hgraminho New Issue