View Issue Details

IDProjectCategoryView StatusLast Update
0004813ExpressionsBugpublic2022-01-22 22:28
ReporterSedatKrn Assigned Tochrisb  
Status closedResolutionfixed 
Product Version0.20 
Summary0004813: Sketch.Constraints.XX expression not working. İ cant carry the Sketch.Constraints data to other sketch.
DescriptionOS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.26761 (Git)
Build type: Release
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: Turkish/Turkey (tr_TR)

1 i opened partdesign wb
2 create e body and enter the sketch.
3 draw a stair section and add to Constraints
4 i attached a Optional name to Constraints for example "L1"
5 i Closed sketch
6 i gone to other future and open expression dialog box
7 i entered Sketch.Constraints.XX but not call that constraints.
8 it is not worked

9 That is working probably on FreeCad 019

FreeCAD Information<!--ATTENTION:
Help > About FreeCAD > Copy to clipboard
NOTE: just the snippet alone will do without anything else included.
The ticket will not be submitted without it.



2021-12-25 21:11



2021-12-28 16:44

reporter   ~0016132

@item 9

The problem occured in FreeCAD 0.20 built 26761 - I recognized it today.
ExpressionEngine works perfect in built 26375 and earlier versions. 26375 is the latest version I used and defined expressions for resizing PartDesign-Objects driven by SpreadSheet-Tables.
In built 26761 all expressions are removed and replaced by latest calculated value when opening the file
Defining new expressions doesn't work, as described by SedatKrn. Self-defined constraints are shown in ComboView, but not found for calculation in an expression.

Maybe a sideeffect with new features in built 26761 - no need to go back to 0.19 !!
Hope this info is helpfull


2022-01-03 11:03

developer   ~0016186

@SedatKrn : please address issues/proposals according our reporting guidelinesby opening a new thread in our forum.
There has been a known regression since build 26720 in expressions that has been fixed recently.
Please wait a new Windows build then try again and report here if not fixed.


2022-01-22 21:45

administrator   ~0016239

Forum thread:


2022-01-22 22:24

reporter   ~0016247

This is the AutoComplete for sketcher constraints not working from the attached images. If the correct constraint name is typed by hand everything works.

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.20.27157 (Git)
Build type: Release
Branch: master
Hash: 48f07429a2483e7825c6bb9daefa77abec5740b9
Python version: 3.8.8
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: Bulgarian/Bulgaria (bg_BG)


2022-01-22 22:28

developer   ~0016248

Fixed in 0.20.27078

Issue History

Date Modified Username Field Change
2021-12-25 21:11 SedatKrn New Issue
2021-12-25 21:11 SedatKrn File Added: Ekran görüntüsü 2021-12-26 000403.png
2021-12-25 21:11 SedatKrn File Added: Ekran görüntüsü 2021-12-26 000415.png
2021-12-28 16:44 rmn_hr_freecad Note Added: 0016132
2022-01-03 11:03 openBrain Note Added: 0016186
2022-01-03 11:03 openBrain Status new => feedback
2022-01-22 21:45 Kunda1 Note Added: 0016239
2022-01-22 21:46 Kunda1 Tag Attached: #pending-forum
2022-01-22 22:24 kisolre Note Added: 0016247
2022-01-22 22:28 chrisb Assigned To => chrisb
2022-01-22 22:28 chrisb Status feedback => closed
2022-01-22 22:28 chrisb Resolution open => fixed
2022-01-22 22:28 chrisb Note Added: 0016248