sketch undo corrupts expressions

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
Post Reply
steve123
Posts: 149
Joined: Fri Sep 04, 2015 8:58 pm

sketch undo corrupts expressions

Post by steve123 »

If I create a sketch and set some constraints where the constraints use expressions (for instance, a spreadsheet), if I execute an Undo at some point, the expressions are corrupted.
steve123
Posts: 149
Joined: Fri Sep 04, 2015 8:58 pm

Re: sketch undo corrupts expressions

Post by steve123 »

OS: macOS Mojave (10.14)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19443 (Git)
Build type: Release
Branch: master
Hash: 74680b8a15ad37e53eee0d341e95cd32631d88a3
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
iyd2019
Posts: 108
Joined: Tue Oct 15, 2019 9:19 am

Re: sketch undo corrupts expressions

Post by iyd2019 »

Couldn't reproduce in my system...

Code: Select all

OS: Ubuntu 20.04 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21049 (Git)
Build type: Release
Branch: master
Hash: 9c27f1078e5ec516fe882aac1a27f5c6c6174554
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United Kingdom (en_GB)
A more detailed step by step use case would help...

Did you try the last update?

Regards!
Attachments
expressions-corruption.FCStd
(4.22 KiB) Downloaded 28 times
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: sketch undo corrupts expressions

Post by chrisb »

Werner has very recently improved the undo function following faulty behaviour with a sketch and corrupted expressions. You may search the forum or just wait a few days.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: sketch undo corrupts expressions

Post by chrisb »

Moved from PartDesign development. Please not: Sketcher is not PartDesign!
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply