Draft: Implement Dim Auto Flip Text

Fixes #19993.

* To determine the `FlipText` value the normal (either the working plane Z axis or its reverse) and the working plane X axis are used.
* A new fine-tuning parameter `DimAutoFlipText` can be used to disable the functionality. Its default value is `True`.
* The `FlipText` property did not work for angular dimensions and the `TextSpacing` property of angular dimensions was not multiplied by `ScaleMultiplier`. This has been corrected.
This commit is contained in:
Roy-043
2025-03-08 15:30:31 +01:00
parent 50e80f4a03
commit 5f7f9cb7ba
3 changed files with 96 additions and 40 deletions

View File

@@ -388,6 +388,7 @@ def _get_param_dictionary():
"DefaultDisplayMode": ("int", 0),
"DefaultDrawStyle": ("int", 0),
"DefaultPrintColor": ("unsigned", 255),
"DimAutoFlipText": ("bool", True),
"Draft_array_fuse": ("bool", False),
"Draft_array_Link": ("bool", True),
"FilletRadius": ("float", 100.0),