75 lines
4.9 KiB
HTML
75 lines
4.9 KiB
HTML
<html><head><title>TechDraw Hatching</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>TechDraw Hatching</h1></div>
|
|
|
|
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
|
|
<ul>
|
|
<li class="toclevel-1 tocsection-1"><a href="#Overview"><span class="tocnumber">1</span> <span class="toctext">Overview</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#Hatch_Area"><span class="tocnumber">2</span> <span class="toctext">Hatch Area</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Geometric_Hatch"><span class="tocnumber">3</span> <span class="toctext">Geometric Hatch</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-4"><a href="#PAT_File_Path"><span class="tocnumber">3.1</span> <span class="toctext">PAT File Path</span></a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<h3><span class="mw-headline" id="Overview">Overview</span></h3>
|
|
<p>TechDraw has two hatching tools: <a href="https://www.freecadweb.org/wiki/index.php?title=File:Techdraw-hatch.png" class="image"><img alt="Techdraw-hatch.png" src="32px-Techdraw-hatch.png" width="32" height="32" srcset="/wiki/images/thumb/c/cc/Techdraw-hatch.png/48px-Techdraw-hatch.png 1.5x, /wiki/images/c/cc/Techdraw-hatch.png 2x" /></a> <a href="TechDraw_Hatch.html" title="TechDraw Hatch">Hatch Area</a>(tile based) and <a href="https://www.freecadweb.org/wiki/index.php?title=File:Techdraw-geomhatch.png" class="image"><img alt="Techdraw-geomhatch.png" src="32px-Techdraw-geomhatch.png" width="32" height="32" srcset="/wiki/images/thumb/c/c9/Techdraw-geomhatch.png/48px-Techdraw-geomhatch.png 1.5x, /wiki/images/c/c9/Techdraw-geomhatch.png 2x" /></a> <a href="TechDraw_GeomHatch.html" title="TechDraw GeomHatch">Geometric Hatch</a> (line based).
|
|
</p><p>For either tool, select a Face,
|
|
<a href="https://www.freecadweb.org/wiki/index.php?title=File:SelectFace.png" class="image"><img alt="SelectFace.png" src="SelectFace.png" width="150" height="172" /></a>
|
|
</p><p>then press the appropriate icon. The face will be hatched initially using default values. Edit the hatch properties to get the desired pattern.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Hatch_Area">Hatch Area</span></h3>
|
|
<p>Hatch Area uses Svg or bitmap bases tiles to cover the selected Face.
|
|
</p><p>Svg tiles are typically 64x64 pixel images. Some examples are available on <a rel="nofollow" class="external text" href="https://github.com/FreeCAD/FreeCAD/tree/master/src/Mod/Draft/Resources/patterns">GitHub</a>.
|
|
</p><p>Any bitmap file can be used (png, jpeg, etc) as a fill. Results are best with many small repeated images rather than fewer larger images.
|
|
</p><p>Default Hatch Area fills can be specified in <a href="TechDraw_Preferences.html" title="TechDraw Preferences">Preferences</a>.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Geometric_Hatch">Geometric Hatch</span></h3>
|
|
<p>Geometric Hatch 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:
|
|
</p>
|
|
<pre>; 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
|
|
*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 </pre>
|
|
<p>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 <a href="TechDraw_Preferences.html" title="TechDraw Preferences">Preferences</a>.
|
|
</p>
|
|
<h4><span class="mw-headline" id="PAT_File_Path">PAT File Path</span></h4>
|
|
<p>The FCPAT.pat file can be found in the following location.
|
|
</p>
|
|
<ul><li> <b>Windows</b>: C:\Program Files\FreeCAD\data\Mod\TechDraw\PAT\</li>
|
|
<li> <b>Mac</b>: /Applications/FreeCAD.app/Contents/Mod/TechDraw/PAT/</li>
|
|
<li> <b>Linux</b>: /usr/share/freecad/Mod/TechDraw/PAT/
|
|
<ul><li> <i>freecad-daily PPA</i>: /usr/share/freecad-daily/Mod/TechDraw/PAT/</li></ul></li></ul>
|
|
<p>Back to <a href="TechDraw_Module.html" title="TechDraw Module">TechDraw</a>.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=TechDraw_Hatching&oldid=262477">http://www.freecadweb.org/wiki/index.php?title=TechDraw_Hatching&oldid=262477</a>"</div>
|
|
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
|
</div>
|
|
</div>
|
|
<div id="mw-navigation">
|
|
<h2>Navigation menu</h2>
|
|
|
|
</body></html> |