TechDraw GeometricHatch/ru: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[TechDraw_Hatch/ru|Штриховать грань файлом изображения]]
|[[TechDraw_Hatch/ru|Штриховать грань файлом изображения]]
Line 8: Line 9:
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name=TechDraw GeometricHatch
|Name=TechDraw GeometricHatch
Line 16: Line 19:
|SeeAlso=[[TechDraw_Hatch/ru|TechDraw Hatch Face using Image File]], [[TechDraw_Hatching/ru|TechDraw Hatching]]
|SeeAlso=[[TechDraw_Hatch/ru|TechDraw Hatch Face using Image File]], [[TechDraw_Hatching/ru|TechDraw Hatching]]
}}
}}
</div>


==Описание==
==Описание==
Line 32: Line 36:
==Примечания==
==Примечания==


* Hatching objects are vulnerable to "[[Topological naming problem|topological naming]]" issues. See the information in the {{Button|[[Image:TechDraw_Dimension_Length.png|16px]] [[TechDraw Dimension Length|TechDraw Dimension Length]]}} tool for more information. It is recommended that hatching be one of the last steps in your drawing process.
* Hatching objects are vulnerable to "[[Topological_naming_problem|topological naming]]" issues. See the information in the {{Button|[[Image:TechDraw_Dimension_Length.png|16px]] [[TechDraw_Dimension_Length|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:
A small set of sample patterns are available in:
Line 70: Line 74:




<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[TechDraw_Hatch/ru|Штриховать грань файлом изображения]]
|[[TechDraw_Hatch/ru|Штриховать грань файлом изображения]]
Line 78: Line 83:
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
</div>


{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}

Revision as of 09:54, 29 December 2020

Other languages:

TechDraw GeometricHatch

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

Описание

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

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

Использование

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

Примечания

A small set of sample patterns are available in:

$INSTALL_DIR/data/Mod/TechDraw/PAT/FCPAT.pat

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

/usr/share/freecad/data/Mod/TechDraw/PAT/FCPAT.pat

Свойства

  • ДанныеSource: The View and Face to receive the hatch pattern.
  • ДанныеFile Pattern: The location of the PAT file to use.
  • ДанныеName Pattern: The name of the PAT specification within File Pattern.
  • ДанныеScale Pattern: The scale to be applied to the pattern (must be > 0.0).
  • ВидWeight Pattern: The thickness of the pattern lines.
  • ВидColor Pattern: The color for the pattern lines.

Scripting

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)