TechDraw: Hatch and GeometericHatch don't save the last used settings
#21,115 创建于 2025年5月3日
仓库指标
- Star
- (30,913 star)
- PR 合并指标
- (平均合并 24天 7小时) (30 天内合并 217 个 PR)
描述
Is there an existing issue for this?
- I have searched the existing issues
Problem description
Feature
Problem description
When user invokes TechDraw_Hatch or TechDraw_GemotericHatch repeatedly, he/she needs to do the whole setup (set pattern file, set scale, color line, rotation, etc.) all over with each start of the tool.
Proposed solution
Save last used settings of TechDraw_Hatch or TechDraw_GemotericHatch so that when user invokes the tool second time, the last used settings are loaded automatically.
It is more probable, that user will utilize the last used setting than the default one. Saving hatch settings would save user a lot of time, because the user would not need to set up the hatch each time it us used.
Full version info
OS: Windows 10 build 19045
Architecture: x86_64
Version: 1.1.0dev.41365 (Git)
Build date: 2025/04/22 11:42:50
Build type: Release
Branch: main
Hash: 84b57d67b50ac64be2246418fb4b49406904f3a9
Python 3.11.12, Qt 6.7.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide
shiboken , xerces-c 3.2.5, IfcOpenShell 0.8.1, OCC 7.8.1
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: FreeCAD Light.qss/FreeCAD Light/
Logical DPI/Physical DPI/Pixel Ratio: 96/126.557/1.25
Installed mods:
* BIM021 2021.12.0
* Reporting
* Telemetry 1.0.1
Subproject(s) affected?
TechDraw
Anything else?
Draft_Hatch remembers hatch settings. Draft_Hatch remembers hatch settings even after FreeCAD is restarted. I think it would be better to re-set these setting after FreeCAD is restarted. But on the other hand it would be nice for both Draft and TechDraw hatches to behave in the same way, for the sake of user interface consistency.
Code of Conduct
- I agree to follow this project's Code of Conduct