TechDraw Геометрическая Штриховка
Jump to navigation
Jump to search
This command exists up to version 0.18. Starting from version 0.19 it is replaced by TechDraw GeometricHatch
Menu location |
---|
TechDraw → GeomHatch |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
- |
See also |
TechDraw Hatch, TechDraw Hatching |
Contents |
Description
The Geometric Hatch tool fills a closed region in a TechDraw View with a pattern based on an AutoDesk PAT hatching specification.
Geometric hatch pattern on a face
Usage
- Select an closed region in a View. The region will turn green.
- Press the
GeomHatch button
- a dialog will open where you may select your pattern, a scale for the pattern and a line weight.
- You may need to press recompute
and/or "wiggle" the parent View to get the pattern to update.
Notes
- Hatching objects are vulnerable to "topological naming" issues. See the information in the TechDraw Dimension Length tool for more information. It is recommended that hatching be one of the last steps in your drawing process.
- Unlike the
Hatch tool, geometric hatch patterns are included when a drawing page is saved as an SVG file.
A small set of sample patterns are available in
$INSTALL_DIR/Mod/TechDraw/PAT/FCPAT.pat
where $INSTALL_DIR
is the directory where FreeCAD was installed, for example
/usr/share/freecad/Mod/TechDraw/PAT/FCPAT.pat
Properties
- 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.
Scripting
See also: TechDraw API and FreeCAD Scripting Basics.
The GeomHatch 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)
TechDraw
- Pages: New Default, New Pick
- Views: New View, New Projection Group, New Section, New Detail, New Annotation, New Draft, New Arch, Spreadsheet
- Clips: Clip, ClipPlus, ClipMinus
- Dimensions: New Length, New Horizontal, New Vertical, New Radius, New Diameter, New Angle, New Angle3Pt, New Links
- Decoration: Hatch Area, Geometric Hatch, New Symbol, New Image, Toggle Frames
- Utilities: SaveSVG, SaveDXF
- Additional: Preferences, Import-Export Preferences; Hatching, LineGroup, Templates; TechDraw API, TechDrawGui API
Документация пользователя

- Установка: Windows, Linux, Mac; Начинающим
- Базовая: О FreeCAD, Верстаки, Настройки, Структура документа, Настройка интерфейса, Свойства, Модель мыши; Учебники
- Верстаки: Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Скрипты: Введение в Python, Учебник скриптов FreeCAD, Основы скриптов FreeCAD, Установка макросов, Команды графического интерфейса, Единицы Модули: Создание модулей, Создание верстаков, Добавление верстаков Сетки: Сеточные скрипты, Модуль сеток Детали: Модуль Part, Скрипты топологических данных, PythonOCC, Из Mesh в Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Интерфейс Qt: PySide, Использование графического интерфейса FreeCAD, Создание диалогов Параметрические объекты: Скриптовые объекты Прочее: Кусочки кода, Функции рисования линий, Встраивание FreeCAD, Библиотека векторной математики FreeCAD, Хаб опытных пользователей, Python, Макросы, Основы скриптов FreeCAD, Topological data scripting