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

TechDraw: Area dimension doesn't work the first time it's applied #14038

Open
2 tasks done
FEA-eng opened this issue May 15, 2024 · 1 comment
Open
2 tasks done

TechDraw: Area dimension doesn't work the first time it's applied #14038

FEA-eng opened this issue May 15, 2024 · 1 comment
Labels
Bug This issue or PR is related to a bug WB TechDraw Related to the TechDraw Workbench

Comments

@FEA-eng
Copy link
Contributor

FEA-eng commented May 15, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

#13525 introduced the great new smart dimension tool but also the individual area dimension tool. The former works perfectly but the latter fails the first time it's applied. Steps to reproduce:

  1. Add Part Cube.
  2. Add TechDraw view of the cube.
  3. Select the face and apply the Area Dimension (not the old Area Annotation).

It shows 0 mm^2 and the following error message:

<Exception> getGeomTypeFromName - empty geometry name

Just retrying should make it work then.

Btw. do we still need the area annotation? If yes, these 2 tools should have different icons:

icons

Full version info

OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37302 (Git)
Build type: Release
Branch: main
Hash: 0e24e121eb3e5708c380596e0a9fd583befac977
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Polish/Poland (pl_PL)

Subproject(s) affected?

Techdraw

Anything else?

No response

Code of Conduct

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

maxwxyz commented May 15, 2024

@PaddleStroke FYI

@maxwxyz maxwxyz added Bug This issue or PR is related to a bug WB TechDraw Related to the TechDraw Workbench labels May 15, 2024
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 WB TechDraw Related to the TechDraw Workbench
Projects
None yet
Development

No branches or pull requests

2 participants