Draft SetStyle: Difference between revisions

From FreeCAD Documentation
(Notes)
No edit summary
(3 intermediate revisions by the same user not shown)
Line 49: Line 49:
<!--T:10-->
<!--T:10-->
* From the dropdown list at the top of the task panel an exiting style preset can be selected.
* From the dropdown list at the top of the task panel an exiting style preset can be selected.
* Press the {{Button|[[Image:Document-save.svg|16px]]}} button to save the style settings as a preset.
* Press the {{Button|[[Image:Document-save.svg|16px]]}} button to save the current style settings as a preset.
* In the {{MenuCommand|Shapes}} section the following settings can be specified:
* In the {{MenuCommand|Shapes}} section the following settings can be specified:
** {{MenuCommand|Shape color}}.
** {{MenuCommand|Shape color}}.
Line 64: Line 64:
** {{MenuCommand|Font size}}. This is in fact the default line height, the letters are smaller.
** {{MenuCommand|Font size}}. This is in fact the default line height, the letters are smaller.
** {{MenuCommand|Line spacing}}. Not used for dimensions.
** {{MenuCommand|Line spacing}}. Not used for dimensions.
** {{MenuCommand|Scale multiplier}}. This is the inverse of the scale set in the [[Draft_annotation_scale_widget|Draft annotation scale widget]]. If the scale is {{value|1:100}} the multiplier is {{Value|100}}. {{Version|0.22}}
* In the {{MenuCommand|Dimensions}} section the following settings can be specified (see [[Draft_Dimension#View|Draft Dimension]] for details):
* In the {{MenuCommand|Dimensions}} section the following settings can be specified (see [[Draft_Dimension#View|Draft Dimension]] for details):
** {{MenuCommand|Line and arrow color}}. {{Version|0.22}}
** {{MenuCommand|Line and arrow color}}. {{Version|0.22}}

Revision as of 19:11, 9 December 2023

Draft SetStyle

Menu location
Utilities → Set style
Workbenches
Draft, Arch
Default shortcut
S S
Introduced in version
0.19
See also
Draft AnnotationStyleEditor, Draft ApplyStyle

Description

The Draft SetStyle command sets the default style for new objects.

The Style settings task panel

Usage

  1. There are several ways to invoke the command:
    • Press the button in the Draft Tray. Depending on the current style settings this button can look different.
    • Select the Utilities → Set style option from the menu.
    • Use the keyboard shortcut: S then S.
  2. The Style settings task panel opens. See Options for more information.
  3. Optionally change one or more settings.
  4. Press the OK button to save the settings.
  5. The button in the Draft Tray is updated.

Options

Notes

  • The settings in the Shapes section, except Draw style and Display mode, are not only used for Draft objects, but also for objects created with other workbenches.
  • All settings, except Draw style and Display mode, can also be changed in the preferences. See PartDesign Preferences and Draft Preferences.
  • Styles are saved in a file with a fixed name: StylePresets.json which is stored in FreeCAD's user Draft folder:
    • On Linux it is usually /home/<username>/.local/share/FreeCAD/Draft/.
    • On Windows it is %APPDATA%\FreeCAD\Draft\, which is usually C:\Users\<username>\Appdata\Roaming\FreeCAD\Draft\.
    • On macOS it is usually /Users/<username>/Library/Preferences/FreeCAD/Draft/.