TechDraw Hatching

    From FreeCAD Documentation


    The TechDraw workbench includes two hatching tools:

    Image based hatch

    TechDraw Hatch.svg TechDraw Hatch uses tiled SVG or bitmap (introduced in version 0.21) images to cover the selected Face. The origin of the tiling grid will match the geometric center of the face.

    SVG tiles are typically 64x64 pixel images. All pattern files that come with FreeCAD are available on GitHub.

    Bitmap based patterns are displayed with a fixed resolution of 10 px/mm relative to the page.

    The default hatch pattern file can be specified in the TechDraw Preferences.

    Available SVG patterns

    Geometric hatch

    TechDraw GeometricHatch.svg TechDraw GeometricHatch forms a pattern of lines based on a specification read from a file. This file is generally compatible with the widely used AutoDesk® PAT format. A small selection of patterns is included in the FCPAT.pat file:

    ; standard PAT patterns
    *Diamond, 45 diagonals L & R, Solid, 1.0 mm separation
    *Diamond2, 45 diagonals L & R, Solid, 2.0 mm separation
    *Diamond4, 45 diagonals L & R, Solid, 4.0 mm separation
    *Diagonal4, 45 diagonal R, Solid, 4.0 mm separation
    *Diagonal5, 45 diagonal L, Solid, 4.0 mm separation
    *Square, square grid, Solid, 5.0 mm separation 
    *Horizontal5, horizontal lines, Solid 5.0 separation
    *Vertical5, vertical lines, Solid, 5.0 separation

    You can add your own patterns if you have write permission to FCPAT.pat, or you can create your own *.pat file and point to it in TechDraw Preferences.

    PAT File Path

    The FCPAT.pat file can be found in the following location.

    • Windows: C:\Program Files\FreeCAD\data\Mod\TechDraw\PAT\
    • Mac: /Applications/
    • Linux: /usr/share/freecad/Mod/TechDraw/PAT/
      • freecad-daily PPA: /usr/share/freecad-daily/Mod/TechDraw/PAT/