- GuiCommand: Name:Draft SetStyle MenuLocation:Utilities → Set style Workbenches:Draft, Arch Shortcut:S S Version:0.19 SeeAlso:Draft AnnotationStyleEditor, Draft ApplyStyle
The Draft SetStyle command sets the default style for new objects.
Note that several features do not work in the V0.19 version of this command.
- 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. (v0.20)
- Press the
- The Style settings task panel opens. See Options for more information.
- Optionally change one or more settings.
- Press the OK button.
- The button in the Draft Tray is updated.
-
From the dropdown list at the top of the task panel an exiting style can be selected. (v0.20)
-
Press the
Save style button to save the style settings. (v0.20)
-
**Line color** . This is also used for [Draft Labels](Draft_Label.md) and for the **Point Color** of objects.-
Line width
. This is also used for Draft Labels.
-
Draw style
.
-
Display mode
.
-
Shape color
.
-
Transparency
.
-
-
**Text font** .-
Text size
. This is in fact the line height, the letters are smaller.
-
Text spacing
. This is used for Draft Dimensions. It is the distance between the text and the dimension line. (v0.20)
-
Text color
. This is also used for the Line Color of Draft Dimensions, which defines the color of the whole dimension including the text.
-
Line spacing
. This scale factor is applied to the line height. (v0.20)
-
Arrow style
.
-
Arrow size
.
-
Show units
.
-
Unit override
.
-
-
Press the
Selected button to apply the settings to selected objects or groups. (v0.20)
-
Press the
Texts/dims button to apply the settings to all Draft Texts and Draft Dimensions. (v0.20)
-
Press the Cancel button to abort the command.
- The Line color, Line width and Shape color settings are not only used for Draft objects, but also for objects created with other workbenches.
- 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//.local/share/FreeCAD/Draft/ ((v0.20) ) or /home//.FreeCAD/Draft/ ({{VersionMinus|0.19}}).
- On Windows it is **%APPDATA%\FreeCAD\Draft*, which is usually **C:\Users<username>\Appdata\Roaming\FreeCAD\Draft*.
- On macOS it is usually /Users//Library/Preferences/FreeCAD/Draft/.
See also: Preferences Editor and Draft Preferences.
The following preferences are involved:
- Line color: Edit → Preferences... → Part design → Shape appearance → Default Shape view properties → Line color.
- Line width: Edit → Preferences... → Part design → Shape appearance → Default Shape view properties → Line width.
- Draw style: Tools → Edit parameters... → BaseApp → Preferences → Mod → Draft → DefaultDrawStyle.
- Display mode: Tools → Edit parameters... → BaseApp → Preferences → Mod → Draft → DefaultDisplayMode.
- Shape color: Edit → Preferences... → Part design → Shape appearance → Default Shape view properties → Shape color.
- Transparency: Tools → Edit parameters... → BaseApp → Preferences → Mod → Draft → DefaultTransparency.
- Text font: Edit → Preferences... → Draft → Texts and dimensions → Text settings → Font family.
- Text size: Edit → Preferences... → Draft → Texts and dimensions → Text settings → Font size.
- Text spacing: Edit → Preferences... → Draft → Texts and dimensions → Dimension settings → Text spacing.
- Text color: Tools → Edit parameters... → BaseApp → Preferences → Mod → Draft → DefaultTextColor.
- Line spacing: Tools → Edit parameters... → BaseApp → Preferences → Mod → Draft → LineSpacing.
- Arrow style: Edit → Preferences... → Draft → Texts and dimensions → Dimension settings → Arrow style.
- Arrow size: Edit → Preferences... → Draft → Texts and dimensions → Dimension settings → Arrow size.
- Show units: Edit → Preferences... → Draft → Texts and dimensions → Dimension settings → Show the unit suffix in dimensions.
- Unit override: Edit → Preferences... → Draft → Texts and dimensions → Dimension settings → Override unit.
documentation index > Draft > Draft SetStyle/pt-br
