TechDraw GeometricHatch/ru

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page TechDraw GeometricHatch and the translation is 33% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎русский

TechDraw GeometricHatch.svg TechDraw GeometricHatch

Расположение в меню
TechDraw → Применить геометрическую штриховку грани
Быстрые клавиши
Представлено в версии
См. также
TechDraw Hatch Face using Image File, TechDraw Hatching


Инструмент GeometricHatch заполняет замкнутый регион внутри вида шаблоном, базирующимся на спецификации AutoDesk PAT hatching. В качестве альтернативы, инструмент Hatch использует качестве рисунка штриховки файл в формате SVG или растровый, подробности см. в Hatching.

TechDraw GeomHatch example.png

Геометрический узор штриховки на грани


  1. Select an closed region in a View.
  2. Press the TechDraw GeometricHatch.svg Apply Geometric Hatch to Face button
  3. A dialog will open where you can select your pattern, the scale, line weight and color.


  • Hatching objects are vulnerable to "topological naming" issues. See the information in the TechDraw Dimension Length.svg TechDraw Dimension Length tool for more information. It is recommended that hatching be one of the last steps in your drawing process.

A small set of sample patterns are available in:


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



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


See also: TechDraw API and FreeCAD Scripting Basics.

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

hatch = FreeCAD.ActiveDocument.addObject('TechDraw::DrawGeomHatch','GeomHatch')
hatch.Source = (view1,["Face0"])
hatch.FilePattern = "path/to/myPATfile.pat"
hatch.NamePattern = "Diamond"
rc = page.addView(hatch)