TechDraw Hatching/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "# Выберите грань #:150px # Исходя из необходимости, нажмите иконку 32px ...")
(Updating to match new version of source page)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav/ru
{{Docnav/ru
|[[TechDraw_Templates/ru|Templates]]
|[[TechDraw_Templates/ru|Шаблоны]]
|[[TechDraw_Geometric_dimensioning_and_tolerancing/ru|Геометрические размеры и допуски]]
|[[TechDraw_Preferences/ru|Preferences]]
|[[TechDraw_Module/ru|TechDraw]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|IconL=
|IconL=
|IconC=Workbench_TechDraw.svg
|IconR=
|IconR=
|IconC=Workbench_TechDraw.svg
}}
}}


{{TOCright}}
{{TOCright}}


<span id="Description"></span>
==Описание==
==Описание==


<div class="mw-translate-fuzzy">
У {{KEY|[[Image:Workbench_TechDraw.svg|24px]] [[TechDraw Workbench/ru|верстака TechDraw]]}} есть два инструмента штриховки:
У {{KEY|[[Image:Workbench_TechDraw.svg|24px]] [[TechDraw Workbench/ru|верстака TechDraw]]}} есть два инструмента штриховки:
*[[Image:TechDraw_Hatch.svg|32px]] [[TechDraw_Hatch/ru|Штриховка плоскости с использованием файла изображения]] (плиткой)
*[[Image:TechDraw_Hatch.svg|32px]] [[TechDraw_Hatch/ru|Штриховка плоскости с использованием файла изображения]] (плиткой)
*[[Image:TechDraw_GeometricHatch.svg|32px]] [[TechDraw_GeometricHatch/ru|Назначением плоскости геометрической штриховки]] (с помощью линий)
*[[Image:TechDraw_GeometricHatch.svg|32px]] [[TechDraw_GeometricHatch/ru|Назначением плоскости геометрической штриховки]] (с помощью линий)
</div>


== Image based hatch ==
==Использование==


[[Image:TechDraw_Hatch.svg|16px]] [[TechDraw_Hatch|TechDraw Hatch]] uses tiled [[SVG|SVG]] or bitmap ({{Version|0.21}}) images to cover the selected Face. The origin of the tiling grid will match the geometric center of the face.
# Выберите грань
#:[[Image:SelectFace.png|150px]]
# Исходя из необходимости, нажмите иконку [[Image:TechDraw_Hatch.svg|32px]] [[TechDraw Hatch/ru|TechDraw Hatch]] или [[Image:TechDraw_GeometricHatch.svg|32px]] [[TechDraw GeometricHatch/ru|TechDraw GeometricHatch]].
'''Результат:''' Грань будет заштрихована в начале с использованием значений по умолчанию. '''Примечание''': Редактируйте параметры штриховки для получения нужного рисунка.


[[SVG|SVG]] tiles are typically '''64x64''' pixel images. All pattern files that come with FreeCAD are available on [https://github.com/FreeCAD/FreeCAD/tree/master/src/Mod/TechDraw/Patterns GitHub].
=== Hatch Face using Image File ===
{{KEY|[[Image:TechDraw_Hatch.svg|24px]] [[TechDraw_Hatch|Hatch Face using Image File]]}} utilizes [[SVG|SVG]] or [[bitmap|bitmap]] based tiles to cover the selected Face.


Bitmap based patterns are displayed with a fixed resolution of 10 px/mm relative to the page.
[[SVG|SVG]] tiles are typically '''64x64''' pixel images. Some examples are available on [https://github.com/FreeCAD/FreeCAD/tree/master/src/Mod/Draft/Resources/patterns GitHub].


The default hatch pattern file can be specified in the [[TechDraw_Preferences|TechDraw Preferences]].
Any [[bitmap|bitmap]] file can be used (png, jpeg, etc...) as a fill. '''Note:''' Results are best with many small repeated images rather than fewer larger images.


=== Available SVG patterns ===
Default Hatch fills can be specified in [[TechDraw Preferences|TechDraw Preferences]].


<gallery mode=nolines widths=96px heights=96px>
=== Geometric Hatch ===
Image:Aluminium.svg|aluminium
{{KEY|[[Image:TechDraw_GeometricHatch.svg|24px]] [[TechDraw_GeometricHatch|Apply Geometric Hatch to Face]]}} 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:
Image:Brick01.svg|brick01
Image:Concrete.svg|concrete
Image:Cross.svg|cross
Image:Cuprous.svg|cuprous
Image:Diagonal1.svg|diagonal1
Image:Diagonal2.svg|diagonal2
Image:Earth.svg|earth
Image:General_steel.svg|general_steel<!--Keep underscore in caption as this is the name in the GUI-->
Image:Glass.svg|glass
Image:Hatch45L.svg|hatch45L
Image:Hatch45R.svg|hatch45R
Image:Hbone.svg|hbone
Image:Line.svg|line
Image:Plastic.svg|plastic
Image:Plus.svg|plus
Image:Simple.svg|simple
Image:Solid.svg|solid
Image:Square.svg|square
Image:Steel.svg|steel
Image:Titanium.svg|titanium
Image:Wood.svg|wood
Image:Woodgrain.svg|woodgrain
Image:Zinc.svg|zinc
</gallery>

== Geometric hatch ==

[[Image:TechDraw_GeometricHatch.svg|16px]] [[TechDraw_GeometricHatch|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:


{{Code|code=
{{Code|code=
Line 50: Line 78:
*Diagonal4, 45 diagonal R, Solid, 4.0 mm separation
*Diagonal4, 45 diagonal R, Solid, 4.0 mm separation
45,0,0,0,4.0
45,0,0,0,4.0
*Diagonal5, 45 diagonal L, Solid, 4.0 mm separation
-45,0,0,0,4.0
*Square, square grid, Solid, 5.0 mm separation
*Square, square grid, Solid, 5.0 mm separation
90,1,1,0,5.0
90,1,1,0,5.0
Line 59: Line 89:
}}
}}


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|TechDraw Preferences]].
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|TechDraw Preferences]].


=== PAT File Path ===
=== PAT File Path ===
Line 72: Line 102:


{{Docnav/ru
{{Docnav/ru
|[[TechDraw_Templates/ru|Templates]]
|[[TechDraw_Templates/ru|Шаблоны]]
|[[TechDraw_Geometric_dimensioning_and_tolerancing/ru|Геометрические размеры и допуски]]
|[[TechDraw_Preferences/ru|Preferences]]
|[[TechDraw_Module/ru|TechDraw]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|IconL=
|IconL=
|IconC=Workbench_TechDraw.svg
|IconR=
|IconR=
|IconC=Workbench_TechDraw.svg
}}
}}


{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
[[Category:Command Referencetion:}}]]
{{clear}}

Latest revision as of 20:14, 29 April 2023

Other languages:

Описание

Image based hatch

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 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
45,0,0,0,1.0
-45,0,0,0,1.0
*Diamond2, 45 diagonals L & R, Solid, 2.0 mm separation
45,0,0,0,2.0
-45,0,0,0,2.0
*Diamond4, 45 diagonals L & R, Solid, 4.0 mm separation
45,0,0,0,4.0
-45,0,0,0,4.0
*Diagonal4, 45 diagonal R, Solid, 4.0 mm separation
45,0,0,0,4.0
*Diagonal5, 45 diagonal L, Solid, 4.0 mm separation
-45,0,0,0,4.0
*Square, square grid, Solid, 5.0 mm separation 
90,1,1,0,5.0
0,0,0,1,5.0
*Horizontal5, horizontal lines, Solid 5.0 separation
0,0,0,0,5.0
*Vertical5, vertical lines, Solid, 5.0 separation
90,0,0,0,5.0

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/FreeCAD.app/Contents/Mod/TechDraw/PAT/
  • Linux: /usr/share/freecad/Mod/TechDraw/PAT/
    • freecad-daily PPA: /usr/share/freecad-daily/Mod/TechDraw/PAT/