Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measurement: Annotation is fixed and not moved with the referenced object #13718

Open
2 tasks done
maxwxyz opened this issue Apr 29, 2024 · 2 comments
Open
2 tasks done
Labels
Bug This issue or PR is related to a bug Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD UI/UX

Comments

@maxwxyz
Copy link
Collaborator

maxwxyz commented Apr 29, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

When a measurement (#9750) is saved as annotation the location of the displayed position in the 3D view is fixed and won't update if the referenced object / geometry is moved.
The issue also persists if the underlying geometry is modified, e.g. change the side length of the cube or the depth of a pad: the dimension value is updated, but not the position of the dimension (Elements not rendered correctly if source object changes).

image

The expected behavior would be, that the measurement needs an update/recompute and will be displayed at the new location of the reference points.

Maybe this is an issue, as the annotation label has no attachment support:

Full version info

0.22

Subproject(s) affected?

Core

Anything else?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz maxwxyz added Bug This issue or PR is related to a bug Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD UI/UX labels Apr 29, 2024
@hlorus
Copy link
Contributor

hlorus commented May 3, 2024

This seems to be a missing recompute. For me it updates if i trigger it manually. That being said it seems to work in simple cases e.g. a measurement on a part Box.

@hlorus
Copy link
Contributor

hlorus commented May 3, 2024

The problem seems to be that we only get signals of our subject but not from it's container (e.g. PD Body). @WandererFan maybe you have an idea how we could solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This issue or PR is related to a bug Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD UI/UX
Projects
None yet
Development

No branches or pull requests

2 participants