TechDraw Preferences

Introduction
The preferences of the TechDraw Workbench are found in the Preferences Editor,.

All preferences settings with italic labels are default values for new drawing objects. They have no effect on existing objects.

Drawing Update

 * Update With 3D: Whether or not pages are updated every time the 3D model is changed. This is a global policy setting.
 * Allow Page Override: Whether or not a page's Keep Update property can override the global Update With 3D parameter. This is a global policy setting.
 * Keep Page Up To Date: Keeps drawing pages in sync with changes of the 3D model in real time. This can slow down the response time.
 * Auto-distribute Secondary Views: Automatically distributes secondary views for projection groups.

Colors
Setup of the default colors for new pages:

Labels

 * Label Font: The name of the default font for labels.
 * Label Size: Default size for label text.

Files

 * Default Template: Default template file for new pages.
 * Template Directory: Starting directory for toolbar button.
 * Hatch Pattern File: Default SVG or bitmap file for hatches.
 * Line Group File: Alternate file for personal line group definitions.
 * Welding Directory: Default directory for toolbar button.
 * PAT File: Default PAT pattern definition file for geometric hatches.
 * Pattern Name: Name of the default PAT pattern.

Scale

 * Page Scale: Default scale for new pages.
 * View Scale Type: Default scale for new views.
 * View Custom Scale: Default scale for views if View Scale Type is Custom.

Selection

 * Edge Fuzz: Size of selection area around edges. ??unit??
 * Mark Fuzz: Selection area around center marks. ??unit??
 * Overlap Radius: Area to be inspected for overlap object selection. (not implemented yet)

Size Adjustments

 * Vertex Scale: Scale of vertex dots. Multiplier of line width.
 * Center Mark Scale: Size of center marks. Multiplier of vertex size.
 * Tolerance Text Scale: Tolerance font size adjustment. Multiplier of dimension Font Size.
 * Template Edit Mark: Size of template field click handles in mm (green dots).

Dimensions

 * Standard and Style: The standard to be used for dimensional values. The difference between the standards are shown in the image: TechDraw_Dimension_standardization.png
 * Use Global Decimals: Use number of decimals from the general preferences.
 * Show Units: Appends the unit (mm, in, etc.) to dimension values.
 * Alternate Decimals: Number of decimals if Use Global Decimals is not used.
 * Default Format: Custom format for dimension text. Uses the printf format specifier.
 * Font Size: Font size for dimension text.
 * Diameter Symbol: Character used to indicate diameter dimensions.
 * Arrow Style: Arrowhead style for dimensions.
 * Arrow Size: Arrowhead size of dimensions.

Annotation

 * Section Line Standard: Standard to be used to draw section lines in section views.
 * Section Line Style: Style for section lines.
 * Line Group Name: Name of the default line group specification.
 * Detail View Outline Shape: Outline shape for detail views.
 * Center Line Style: Default style for centerlines.
 * Balloon Shape: Shape of balloon annotations.
 * Balloon Leader End: Default style for balloon leader line ends.
 * Balloon Leader Kink Length: Length of balloon leader line kink.
 * Balloon Orthogonal Triangle: If Balloon Leader End is Filled Triangle, the triangle can only get a vertical or horizontal direction when the balloon is moved.
 * Leader Line Auto Horizontal: Forces last leader line segment to be horizontal.
 * Show Center Marks: Show arc center marks in views.
 * Print Center Marks: Show arc centers in printed output.

Conventions

 * Projection Group Angle: If projection groups will use either first- or third-angle projection. See multiview projection for an explanation.
 * Hidden Line Style: The style to be used for hidden lines.

HLR Parameters


HLR stands for hidden line removal.


 * Use Polygon Approximation: Uses an approximation to find hidden lines. This is fast, but the result is a collection of short straight lines.
 * Show Hard Lines: Shows hard and outline edges (visible lines always shown)
 * Show Smooth Lines: Shows smooth lines. A smooth line is ??
 * Show Seam Lines: Show seam lines. A seam line is ??
 * Show UV ISO Lines: Make lines of equal parameterization.??
 * ISO Count: The number of ISO lines per face edge. An ISO line is ??

Advanced



 * Detect Faces: If checked, TechDraw will attempt to build faces using the line segments returned by the hidden line removal algorithm. Faces must be detected in order to use hatching, but there can be a performance penalty in complex models.
 * Show Section Edges: Highlights the border of the section cut in section views.
 * Debug Section: Dumps intermediate results during a Section view processing
 * Debug Detail: Dumps intermediate results during a Detail view processing
 * Allow Crazy Edges: Includes edges with unexpected geometry in results, e.g. zero lengths
 * Fuse Before Section: Performs a fuse operation on the input shape(s) before Section view processing
 * Show Loose 2D Geom: Includes 2D Objects in projections, e.g. loose sketches
 * Line End Cap Shape: Setting of the line end cap shape. Explanation of the options: https://doc.qt.io/qt-5/qt.html#PenCapStyle-enum
 * Max SVG Hatch Tiles: The limit of SVG tiles with a size of 64x64 pixels used to hatch a single face. For large scalings one might get an error about to many SVG tiles, then one needs to increase the tile limit.
 * Max PAT Hatch Segments: The maximum hatch line segments used when hatching a face with a PAT pattern.

Hidden Settings
Note:  Since FreeCAD 0.19, all settings are available in the Preferences dialogs. The following only applies for FreeCAD versions older than 0.19:

Some preference settings are only accessible through the Parameter editor,.

Preferences/Mod/TechDraw/Decorations

 * CenterMarkScale: default scale factor for CenterMarks
 * ShowCenterMarks: default /
 * PrintCenterMarks: / show CenterMarks when printing

Preferences/Mod/TechDraw/General

 * DefaultScale: initial setting of Page Scale
 * EdgeFuzz: pick radius for Edges
 * MarkFuzz: pick radius for CenterMarks
 * SectionFuseFirst: fuse Source objects before performing Section cut
 * EdgeEndCap: shape of Edge ends 0x00 FlatCap, 0x10 SquareCap, 0x20 RoundCap (Qt::PenCapStyle)

Preferences/Mod/TechDraw/Format

 * SectionFormat: section line style 0-ASME 1-ISO

Preferences/Mod/TechDraw/Standards

 * RadiusAligned: Radius dimension format 0-ISO(aligned) 1-ASME(uniform)