Commit Graph

19 Commits

Author SHA1 Message Date
Roy-043
f7fa76b975 Draft: minor improvement to prefs layouts 2023-12-10 15:22:43 +01:00
Roy-043
79eaa01032 Draft: Introduce DefaultAnnoScaleMultiplier parameter
This parameter replaces DraftAnnotationScale.

The parameter can be changed in the preferences and with the Draft_SetStyle command.
2023-12-09 19:17:36 +01:00
Roy-043
c82d50200d Draft: Revised preference ui files
* Removed DefaultAnnoDisplayMode. This will become a fine-tuning preference.
* Removed HatchPatternResolution as it was not used.
* Added DefaultAnnoLineColor and DefaultAnnoLineWidth. These will be implemented in other parts of the Draft code in later PRs.
2023-11-29 15:05:16 +01:00
Roy-043
a462e8e616 Draft: improve handling of anno DisplayMode and LineSpacing
* DisplayMode controlled by new pref DefaultAnnoDisplayMode. This replaces the old dimstyle pref.
* LineSpacing pref is now used when creating annotations. Will be added to prefs ui later.
* format_object no longer changes FontSize as this conflicted with the height parameter in the make_text function.
* make_text function updated.
2023-11-27 15:45:56 +01:00
Roy-043
8944c79ebe Draft: make default anno style non-global
Additionally:
* Added the DimShowLine preference. Layout of the tab will be updated later.
* Improved handling of DraftAnnotationScale preference: catch division by zero and use it for the default anno style.
2023-11-23 09:45:12 +01:00
Roy-043
bbc53afc37 Draft: more file extensions also in caps 2023-11-13 23:12:18 +01:00
Roy-043
220bf83222 Draft: remove unused dimorientation and saveonexit prefs 2023-11-12 20:54:25 +01:00
Roy-043
809a84e48d Draft: ShapeString: add font file filter (#10777)
Forum topic:
https://forum.freecad.org/viewtopic.php?t=81280
2023-09-22 21:23:56 +02:00
Yorik van Havre
b371058864 Draft: Allow to set a custom feet separator for dimensions (#10481) 2023-09-11 14:05:26 +02:00
Roy-043
d3955711c5 Draft: Fix inconsistent properties of Draft annotations 2022-12-23 16:49:56 +01:00
David Osterberg
c1b3fba031 Beautify xml step 1: These changes do not affect the uic output 2021-03-02 16:29:11 +01:00
Yorik van Havre
84692f95e1 Draft: Added pref option to set default dimension unit 2020-10-14 17:21:27 +02:00
luz.paz
a463c94796 Crowdin: fix in different WBs 2018-05-02 00:50:06 -04:00
Alexander Pravdin
c12d2dd48c Draft: dimension and extension lines overshoots 2018-04-10 19:28:40 +02:00
Alexander Pravdin
aecc0998de Draft: New dimension arrow tick (Tick-2) 2018-03-05 16:32:42 -03:00
wmayer
95bb1d69d7 fixes #0003347: No 'Tick' arrow style among other styles in Draft preferences 2018-02-12 21:53:17 +01:00
Yorik van Havre
1f116170d7 Draft: Moved dimension decimals preference setting to the dimension preferences tab - issue #2832 2017-01-07 14:20:58 -02:00
Jonathan Wiedemann
ae78037ae7 Allow negative value in Draft's pref : Ext Line size 2015-12-16 13:03:46 +01:00
Yorik van Havre
ac5efd335d Arch / Draft: reorganized preferences files 2015-05-07 17:06:56 -03:00