FreeCAD-Doc/localwiki/Arch_Grid.html
2018-07-08 12:11:49 -05:00

94 lines
7.1 KiB
HTML

<html><head><title>Arch Grid</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Arch Grid</h1></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id="Arch_Grid"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Grid.png" class="image"><img alt="Arch Grid.png" src="32px-Arch_Grid.png" width="32" height="32" srcset="/wiki/images/thumb/d/d5/Arch_Grid.png/48px-Arch_Grid.png 1.5x, /wiki/images/d/d5/Arch_Grid.png 2x" /></a> Arch Grid</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Menu location
</th></tr>
<tr>
<td class="ctEven">Arch → Axis tools → Grid
</td></tr>
<tr>
<th class="ctOdd">Workbenches
</th></tr>
<tr>
<td class="ctEven"><a href="Arch_Module.html" title="Arch Module">Arch</a>
</td></tr>
<tr>
<th class="ctOdd">Default shortcut
</th></tr>
<tr>
<td class="ctEven">None
</td></tr>
<tr>
<th class="ctOdd">See also
</th></tr>
<tr>
<td class="ctEven"><a href="Arch_Axis.html" title="Arch Axis">Axis</a>
</td></tr>
<tr>
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1"><a href="#Arch_Grid"><span class="tocnumber">1</span> <span class="toctext">Arch Grid</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Description"><span class="tocnumber">2</span> <span class="toctext">Description</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#How_to_use"><span class="tocnumber">3</span> <span class="toctext">How to use</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Options"><span class="tocnumber">4</span> <span class="toctext">Options</span></a></li>
<li class="toclevel-1 tocsection-4"><a href="#Properties"><span class="tocnumber">5</span> <span class="toctext">Properties</span></a></li>
<li class="toclevel-1 tocsection-5"><a href="#Scripting"><span class="tocnumber">6</span> <span class="toctext">Scripting</span></a></li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h2><span class="mw-headline" id="Description">Description</span></h2>
<p>The Grid tool allows you to place a grid-like object in the document. This object is meant to serve as a base to build Arch objects that need a regular but complex frame, such as windows, curtain walls, column grids, railings, etc. The Grid object is editable like a spreadsheet, where you can add or remove columns and rows, define their size, and merge cells.
</p><p>The Grid is a 2D object, and can therefore be used anywhere a 2D shape such as a <a href="Draft_Workbench.html" class="mw-redirect" title="Draft Workbench">Draft</a> or <a href="Sketcher_Workbench.html" title="Sketcher Workbench">Sketch</a> is needed, but it can also behave as a <a href="Arch_AxisSystem.html" title="Arch AxisSystem">Arch AxisSystem</a>, and be used to propagate the placement of other Arch objects.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Grid_example.jpg" class="image"><img alt="Arch Grid example.jpg" src="600px-Arch_Grid_example.jpg" width="600" height="274" srcset="/wiki/images/thumb/3/30/Arch_Grid_example.jpg/900px-Arch_Grid_example.jpg 1.5x, /wiki/images/thumb/3/30/Arch_Grid_example.jpg/1200px-Arch_Grid_example.jpg 2x" /></a>
</p><p>The image above shows a grid of columns, a railing system and a window, each based on a Grid object.
</p>
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
<ol><li> Press the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Grid.png" class="image"><img alt="Arch Grid.png" src="16px-Arch_Grid.png" width="16" height="16" srcset="/wiki/images/thumb/d/d5/Arch_Grid.png/24px-Arch_Grid.png 1.5x, 32px-Arch_Grid.png 2x" /></a> <a class="mw-selflink selflink">Arch Grid</a></span> button</li>
<li> Set the <b>Width</b> and <b>Height</b> of the grid in the properties</li>
<li> Enter edit mode by double-clicking the grid object in the tree view</li>
<li> Add rows and columns</li>
<li> Set the desired width and height of rows and columns by double-clicking the row or column headers</li></ol>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<ul><li> A column width or row height of 0 means its size will be adapted automatically to fit the total width/height of the grid</li>
<li> Cells can be merged and unmerged by selecting them and clicking the appropriate button</li>
<li> When used as the <b>Axis</b> property of other Arch objects, the grid will drive the positioning of these objects. The <b>Points Output</b> property defines how the other objects are placed on the grid: At vertices, edge midpoints or face centers</li>
<li> By setting the <b>Auto Height</b> or <b>Auto Width</b> properties to a non-zero value, the total number of rows/columns and their individual heights/widths is ignored. Instead, the maximum number of columns or rows of the given auto width/height get automatically created</li></ul>
<h2><span class="mw-headline" id="Properties">Properties</span></h2>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Rows</b>: The number of rows</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Columns</b>: The number of columns</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Row Size</b>: The sizes for rows</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Column Size</b>: The sizes of columns</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Points Output</b>: The type of 3D points produced by this grid object</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Width</b>: The total width of this grid</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Height</b>: The total height of this grid</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Auto Width</b>: Creates automatic column divisions (set to 0 to disable)</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Auto Height</b>: Creates automatic row divisions (set to 0 to disable)</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Reorient</b>: When in edge midpoint mode, if this grid must reorient its children along edge normals or not</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Hidden Faces</b>: The indices of faces to hide</li></ul>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>The Grid tool can by used in <a href="Macros.html" title="Macros">macros</a> and from the python console by using the following function:
</p>
<pre>makeGrid() </pre>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Arch_Grid&amp;oldid=281411">http://www.freecadweb.org/wiki/index.php?title=Arch_Grid&amp;oldid=281411</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>