FreeCAD/FreeCAD

TechDraw: Hatch and GeometericHatch don't save the last used settings

Open

#21,115 opened on 2025年5月3日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)C++ (5,550 forks)batch import
Good first issueMod: TechDrawStatus: Needs confirmationType: Feature

Repository metrics

Stars
 (30,913 stars)
PR merge metrics
 (平均マージ 24d 7h) (30d で 217 merged PRs)

説明

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

コントリビューターガイド