Skip to content

Latest commit

 

History

History
201 lines (131 loc) · 6.06 KB

Draft_SetStyle.md

File metadata and controls

201 lines (131 loc) · 6.06 KB
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 5 column 19
---
 GuiCommand:
   Name: Draft SetStyle
   MenuLocation: Utilities , Set style
   Workbenches: Draft_Workbench, BIM_Workbench
   Shortcut: Draft: **S** **S**
   Version: 0.19
   SeeAlso: Draft_AnnotationStyleEditor, Draft_ApplyStyle
---

Draft SetStyle

Description

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


The two tabs ((v1.0) of 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.
    • Draft: Select the Utilities → Set style option from the menu, or from the Tree view or 3D view context menu.
    • Draft: 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

  • From the dropdown list at the top of the task panel an exiting style preset can be selected.

  • Press the button to save the current style settings as a preset.

  • On the Shape tab the following settings can be specified:

    **Shape appearance**
    
    -   
        **Shape color**
        
        .
    
    -   
        **Ambient shape color**
        
        . <small>(v1.0)</small> 
    
    -   
        **Emissive shape color**
        
        . <small>(v1.0)</small> 
    
    -   
        **Specular shape color**
        
        . <small>(v1.0)</small> 
    
    -   
        **Shape transparency**
        
        .
    
    -   
        **Shape shininess**
        
        . <small>(v1.0)</small> 
    
    • Other

      • Line color

        .

      • Line width

        .

      • Point color

        . (v1.0)

      • Point size

        . (v1.0)

      • Draw style

        .

      • Display mode

        .

  • The settings on the Annotation tab apply to Draft Texts, Draft Dimensions and Draft Labels. The following settings can be specified (see Draft Text and Draft Dimension for details):

    **Texts**
    
    -   
        **Font name**
        
        .
    
    -   
        **Font size**
        
        . This is in fact the default line height, the letters are smaller.
    
    -   
        **Line spacing factor**
        
        . Not used for dimensions.
    
    -   
        **Scale multiplier**
        
        . This is the inverse of the scale set in the [Draft annotation scale widget](Draft_annotation_scale_widget.md). If the scale is {{value|1:100}} the multiplier is {{Value|100}}. <small>(v1.0)</small> 
    
    -   
        **Text color**
        
        .
    
    • Lines and arrows

      • Line width

        . (v1.0)

      • Arrow type

        .

      • Arrow size

        .

      • Line and arrow color

        . (v1.0)

    • Dimensions

      • Show unit

        .

      • Unit override

        .

      • Dim line overshoot

        . (v0.21)

      • Ext line length

        . (v0.21)

      • Ext line overshoot

        . (v0.21)

      • Text spacing

        .

  • Press the Selected button to apply the settings to selected objects or groups. Objects can be selected while the task panel is open.

  • Press the Annotations button to apply the settings to all Draft Texts, Draft Dimensions and Draft Labels in the current document. (v0.21)

  • Press the Cancel button to finish the command without saving the settings.

Notes

  • The settings on the Shape tab, 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//.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//Library/Preferences/FreeCAD/Draft/.

documentation index > Draft > Draft SetStyle