TechDraw GeomHatch

Description
The Geometric Hatch tool fill a Face with a pattern based on an AutoDesk PAT hatching specification. A small set of sample patterns are available in ".../Mod/TechDraw/PAT/FCPAT.pat".

How to use

 * 1) Select an closed region in a View. The region will turn green.
 * 2) Press the [[Image:techdraw-geomhatch.png|16px]]  button
 * 3) a dialog will open where you may select your pattern, a scale for the pattern and a line weight.
 * 4) You may need to press recompute [[Image:View-rotate-right.png|16px]] and/or "wiggle" the parent View to get the pattern to update.

Options
None.

Properties

 * : The View and Face to receive the hatch pattern.
 * : The location of the PAT file to use.
 * : The name of the PAT specification within File Pattern.
 * : The scale to be applied to the pattern (must be > 0.0).
 * : The thickness of the pattern lines.
 * : The color for the pattern lines.

Scripting
TechDraw API and FreeCAD Scripting Basics.

The GeomHatch tool can be used in macros and from the Python console by using the following functions: