V19 formula editor not showing constraints

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Cryptonym
Posts: 8
Joined: Tue Dec 08, 2020 3:10 am

V19 formula editor not showing constraints

Postby Cryptonym » Thu Dec 17, 2020 5:10 pm

In my project I have a master sketch with my dimensions defined. I reference the constraints values in other sketches. Works great in v18.

In 19, the names come up listed in <<>> brackets, and if I then suffix with .constraints, I don't get any values, or if I start typing it filters to unrelated items. If I type the full correct name, ok enables and it allows the value.

Am I missing some design change in how to properly use expressions???

Master Version 0.19 rev 23323 git on windows 10.
Bance
Posts: 2052
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: V19 formula editor not showing constraints

Postby Bance » Thu Dec 17, 2020 5:30 pm

Auto complete is broken, you have to enter the formula manually.

Should be fixed when 0.19 is released.
akovar
Posts: 3
Joined: Tue Jan 29, 2019 7:31 pm

Re: V19 formula editor not showing constraints

Postby akovar » Mon Jun 14, 2021 9:28 pm

Does anyone know an update on this? I just tried it in 0.19.2 (current windows download) and the formula editor auto-complete still appears to be broken as @Cryptonym describes.

For reference:
OS: Windows 10 Version 2009
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: English/United States (en_US)
Bance
Posts: 2052
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: V19 formula editor not showing constraints

Postby Bance » Mon Jun 14, 2021 10:09 pm

Unfortunately because of the nature of FLOSS things can't always be predicted.

Unless you can review the new RT code to help with it's merge to main, it's done when its done.
jonasb
Posts: 51
Joined: Tue Dec 22, 2020 7:57 pm

Re: V19 formula editor not showing constraints

Postby jonasb » Tue Jun 15, 2021 7:41 pm

Regarding the auto-completion, there is a dedicated PR, IIRC separated from "the Big Merge" introducing Link. https://forum.freecadweb.org/viewtopic.php?f=17&t=43412