parametric object does not use linked values

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!
flavios
Posts: 3
Joined: Sun May 22, 2022 5:40 pm

parametric object does not use linked values

Post by flavios »

In the process of learning how to use FreeCad I created a "Part" and a "Spreadsheet" where I wrote some of the key "measures" I wanted to use as constraints. When I change the value in the spreadsheet the corresponding constraint does not change... unless I enter again to change its value and call on the expression (without change). When I press enter the new value appears. Obviously there is no point in making a parametric oject if the values do not update automatically when changed. So I suspect I did something wrong or unwillingly changed some critic preference. (I also pressed UPDATE on the sketch and recalculated the object).

My Part+Body is relatively complex with about a dozen Sketches and the spreadsheet contains 2/3 dozen values. I thought I could have reached a limit but it is unlikely and there is no error message.
Flavio
User avatar
thomas-neemann
Veteran
Posts: 11890
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: parametric object does not use linked values

Post by thomas-neemann »

flavios wrote: Sun May 22, 2022 5:58 pm ..
can you upload the file somewhere?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
chrisb
Veteran
Posts: 54147
Joined: Tue Mar 17, 2015 9:14 am

Re: parametric object does not use linked values

Post by chrisb »

flavios wrote: Sun May 22, 2022 5:58 pm When I press enter the new value appears.
Sometimes the recompute is delayed due to performance reasons. You can always trigger it manually with the recompute icon.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
flavios
Posts: 3
Joined: Sun May 22, 2022 5:40 pm

Re: parametric object does not use linked values

Post by flavios »

Thomas, here is the file https://drive.google.com/file/d/1pHnGrk ... sp=sharing

I made it a "general issue" picking a single constraint but as you can see the "recalculation" motor appear to be stopped for all the rest of the constraints. My ambition :roll: was to have a parametric polygon that could be "zoomed" as I have no idea of the final components that can fit inside it... the second part is the other half of the case.

The two following images show the specific constraint I was pin-pointing.
FCadForum1.png
FCadForum1.png (41.1 KiB) Viewed 704 times
FCadForum2.png
FCadForum2.png (13.8 KiB) Viewed 704 times
I am an absolute beginner, sorry.
Tks.
Flavio
User avatar
Shalmeneser
Veteran
Posts: 9545
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: parametric object does not use linked values

Post by Shalmeneser »

Green_ButtonStep_PAD is broken (sketch not closed) so any further computation is stopped.
https://wiki.freecadweb.org/Tree_view/en#Overlay_icons
User avatar
thomas-neemann
Veteran
Posts: 11890
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: parametric object does not use linked values

Post by thomas-neemann »

flavios wrote: Mon May 23, 2022 6:06 am ...
when i open it in realthunder this message

e.png
e.png (56.67 KiB) Viewed 696 times

says that a contour is not closed. I would check that if I were you



edit

Shalmeneser was faster
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11890
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: parametric object does not use linked values

Post by thomas-neemann »

flavios wrote: Sun May 22, 2022 5:58 pm ...
this message comes from the master
e2.png
e2.png (48.61 KiB) Viewed 692 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
flavios
Posts: 3
Joined: Sun May 22, 2022 5:40 pm

Re: parametric object does not use linked values

Post by flavios »

Thanks. It works. This is a very basic information I overlooked. Fundamental.

I was not aware because the sketch was fully constrained when I left it. The new issue appears to be that giving a parameter lenght there is no fixed versus and no addtional costraints are allowed... I mean (see following image) that the 3mm segment can go either side of the "wall". You cannot move it when fully constrained but apparently it was relocated. The sketch you pointed to had the 8mm segment reversed and disconnected. Given that it is a simple rectangle and that it happens twice I suspect a bug. To correct it I had to delete the segment and create it again in the right spot.

Giving a negative lenght would mean nothing. Is there a costraint that could avoid a perfectly legitimate mirror?
F
User avatar
thomas-neemann
Veteran
Posts: 11890
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: parametric object does not use linked values

Post by thomas-neemann »

flavios wrote: Mon May 23, 2022 6:49 am ....

if a reference is to be reliable, i create it in draft. like here from min 0:27


https://www.youtube.com/watch?v=YV5TUqdZO20

phpBB [video]
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
bambuko
Veteran
Posts: 2185
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: parametric object does not use linked values

Post by bambuko »

thomas-neemann wrote: Mon May 23, 2022 7:05 am ...if a reference is to be reliable, i create it in draft...
Your advice should come with a warning :lol:
the author is biased and prejudiced against anything that is not created in Draft workbench
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
Post Reply