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: label distance needs to be dynamic depending on model scale #13808

Open
2 tasks done
furgo16 opened this issue May 3, 2024 · 1 comment
Open
2 tasks done
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Feature FR for improvements or new features UI/UX

Comments

@furgo16
Copy link
Contributor

furgo16 commented May 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

The distance between the measured element and the measurement label appears to be fixed to ca. 15-20mm: i.e. it does not adapt to the scale of the model. As such, the default works well for mm-scale models (Part, Part Design, etc.), but the label appears right next to the measured element for m-scale models (Arch).

When the cube's edges are 10 mm the label appears at a reasonable distance to the edges or faces:
image

When the cube's edges are 1000 mm the label appears stuck to the edges or faces (it's not, it just appears so as the element to label distance is small in comparison to the model):
image

Reportedly, the labels can be dragged around. That did not work for me, the labels are not draggable. For what is worth, I'm using the Gesture navigation scheme.

Full version info

OS: Ubuntu Core 22 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37085 (Git) Snap 1005
Build type: Release
Branch: main
Hash: c7c07f28c639e82a6d2c58f4aaef5b42cddcc83c
Python 3.10.12, Qt 5.15.10, Coin 4.0.0, Vtk 7.1.1, OCC 7.7.1
Installed mods: 
  * OpenTheme 2024.4.20
  * BIM 2021.12.0
  * Curves 0.6.35
  * ezydxf
  * ExplodedAssembly
  * BillOfMaterials 0.0.8.2
  * Ondsel-Lens 2024.4.16.01
  * Assembly4 0.50.12

Subproject(s) affected?

Measurement

Anything else?

Files to reproduce:

  1. Measure - cube 10mm.zip
  2. Measure - cube 1000mm.zip

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz
Copy link
Collaborator

maxwxyz commented May 3, 2024

the labels should be able to be dragged closer to the model. Each time I try to move it closer, it goes further away.

@maxwxyz maxwxyz added Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD UI/UX Feature FR for improvements or new features labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Feature FR for improvements or new features UI/UX
Projects
None yet
Development

No branches or pull requests

2 participants