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

[Problem] Sketcher: Dimensions get unreadable (small) if a 2nd sketch is visible #7860

Closed
2 tasks done
purehunter1 opened this issue Nov 22, 2022 · 3 comments
Closed
2 tasks done
Labels
Bug This issue or PR is related to a bug WB Sketcher Related to the Sketcher Workbench

Comments

@purehunter1
Copy link

purehunter1 commented Nov 22, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Forums discussion

https://forum.freecadweb.org/viewtopic.php?f=13&t=43670

Version

0.20 (Release)

Full version info

[code]
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods: 
  * CurvedShapes
  * Curves
  * fasteners
  * Lithophane
  * sheetmetal
[/code]

Subproject(s) affected?

Sketcher

Issue description

If you have 2 sketches in your project e.g. a profile (1st) and a path (2nd), perpendicular to the profile, the dimensions of the opened sketch (1st, profile) can get unreadable small if you zoom into your sketch.

I made 4 important observations:

  1. only the dimensions are affected. Other symbols for constraints are not.
  2. It is independent of the chosen font size for the sketcher.
  3. The problem only occurs, if the 2nd sketch is "visible". If you toggle the visibility of the 2nd sketch in the model path while working on the 1st sketch, you can switch on and off the problem (dimensions readable or not)
  4. It is obvious, that the severity of the shrinking of the dimensioning depends on the geometry of the 2nd sketch. If there is a point in the 2nd sketch which is virtually behind the viewer, the severity of the shrinking is highest. If the path is very long, e.g. 5000mm, one point of it is always behind the viewer and working on the profile with the path visible is impossible.

Anything else?

This problem already existed in FC 0.18.1 or even earlier. May be it is related to issue #7082.

2 images: path visible or not (top left corner)
Screenshot Sketch18px_ohneExtGeomOk
Screenshot Sketch18px_mitExtGeomNotOk

Image: font size 100px
Screenshot Detail-Ansicht_100px

Code of Conduct

  • I agree to follow this project's Code of Conduct
@purehunter1 purehunter1 changed the title Sketcher: Dimensions get unreadable (small) if a 2nd sketch is visible [Problem] Sketcher: Dimensions get unreadable (small) if a 2nd sketch is visible Nov 22, 2022
@luzpaz
Copy link
Contributor

luzpaz commented Nov 23, 2022

Please add an example file

@purehunter1
Copy link
Author

purehunter1 commented Nov 23, 2022

ZoomTest.zip
I zipped it, as FC files are not accepted

open the "sketch" and toggle the visibility of the "Path"

@luzpaz luzpaz added Bug This issue or PR is related to a bug WB Sketcher Related to the Sketcher Workbench labels Nov 23, 2022
@adrianinsaval
Copy link
Member

This is a duplicate of #7082 for me having the other sketch visible or not makes no difference, but changing between perspective and parallel view does. To work around the issue go to sketcher settings and enable the option to force parallel view when entering sketcher edit mode

wwmayer added a commit that referenced this issue Nov 24, 2022
…r SoDatumLabel

This fixes #7860: Dimensions get unreadable (small) if a 2nd sketch is visible
and fixes #7082: Dimension size on perspective view scales "backwards"
chennes pushed a commit to chennes/FreeCAD that referenced this issue Dec 3, 2022
…r SoDatumLabel

This fixes FreeCAD#7860: Dimensions get unreadable (small) if a 2nd sketch is visible
and fixes FreeCAD#7082: Dimension size on perspective view scales "backwards"
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 Sketcher Related to the Sketcher Workbench
Projects
None yet
Development

No branches or pull requests

3 participants