Jump to content

TechDraw LineGroup

From FreeCAD Documentation
Revision as of 07:06, 22 May 2025 by FBXL5 (talk | contribs) (Mac path completed)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

Description[edit | edit source]

LineGroups are used to control the appearance of various types of lines.

Usage[edit | edit source]

  1. Go to the preferences tab Annotation.
  2. Select in the field Line Width Group a LineGroup. These are the groups defined in the LineGroup definition csv file.

To change the LineGroups definition file

  1. Go to the preferences tab General.
  2. Select in the field Line Group File a LineGroup definition file.

Customizing LineGroups[edit | edit source]

If you have write permission, you can edit LineGroup.csv to add your own LineGroups.

This file is usually in:

$INSTALL_DIR/Mod/TechDraw/LineGroup/LineGroup.csv

Where $INSTALL_DIR is the directory where FreeCAD was installed, for example

/usr/share/freecad/Mod/TechDraw/LineGroup/LineGroup.csv

You can specify your favorite defaults in the TechDraw Preferences.

LineGroup File Path[edit | edit source]

  • Windows: C:\Program Files\FreeCAD\data\Mod\TechDraw\LineGroup\
  • Mac: /Applications/FreeCAD.app/Contents/Resources/share/Mod/TechDraw/LineGroup/
  • Linux: /usr/share/freecad/Mod/TechDraw/LineGroup/
    • freecad-daily PPA: /usr/share/freecad-daily/Mod/TechDraw/LineGroup/
    • snap package: /snap/freecad/current/usr/share/Mod/TechDraw/LineGroup

Note: A new preference has been added to allow you to use your own personal LineGroup file.

;FreeCAD LineGroup Definitions
;Format: *GroupName,thin,graphic,thick,extra
;thin: hidden lines
;graphic: dimensions, centerlines
;thick: visible lines
;extra: not implemented
*FC 0.25mm,0.13,0.18,0.25,0.50
*FC 0.35mm,0.18,0.25,0.35,0.70
*FC 0.50mm,0.25,0.35,0.50,1.0
*FC 0.70mm,0.35,0.50,0.70,1.4
*FC 1.00mm,0.50,0.70,1.00,2.00

Note[edit | edit source]

  • Line width in TechDraw is always specified in mm, even when using other unit systems.