FreeCAD-Doc/localwiki/Arch_Frame-cs.html
2018-07-19 18:47:02 -05:00

95 lines
6.9 KiB
HTML

<html><head><title>Arch Frame/cs</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 Frame/cs</h1></div>
<div id="mw-content-text" lang="cs" dir="ltr" class="mw-content-ltr"><hr/>
<div class="mw-parser-output"><div class="mw-translate-fuzzy">
<table class="fcinfobox wikitable ct" >
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id="Arch_Frame"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Frame.png" class="image"><img alt="Arch Frame.png" src="32px-Arch_Frame.png" width="32" height="32" srcset="/wiki/images/thumb/e/ef/Arch_Frame.png/48px-Arch_Frame.png 1.5x, /wiki/images/e/ef/Arch_Frame.png 2x" /></a> Arch Frame</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Umístění Menu
</th></tr>
<tr>
<td class="ctEven">Arch -&gt; Frame
</td></tr>
<tr>
<th class="ctOdd">Pracovní stoly
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/cs" title="Arch Module/cs">Arch</a>
</td></tr>
<tr>
<th class="ctOdd">Výchozí zástupce
</th></tr>
<tr>
<td class="ctEven">F R
</td></tr>
<tr>
<th class="ctOdd">Viz také
</th></tr>
<tr>
<td class="ctEven">Nikdo
</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_Frame.html"><span class="tocnumber">1</span> <span class="toctext">Arch Frame</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Popis"><span class="tocnumber">2</span> <span class="toctext">Popis</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>
</div>
<h2><span class="mw-headline" id="Popis">Popis</span></h2>
<p>The Frame tool is used to build all kinds of frame objects based on a profile and a layout. The profile is extruded along the edges of the layout, which can be any 2D object such as a <a href="Sketcher_Module.html" class="mw-redirect" title="Sketcher Module">sketch</a>, or a <a href="Draft_Module.html" title="Draft Module">draft object</a>. It is especially useful to create railings, or frame walls. Frame objects can then easily be turned into <a href="Arch_Wall.html" title="Arch Wall">wall</a> or <a href="Arch_Structure.html" title="Arch Structure">structure</a> objects.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Frame_example.jpg" class="image"><img alt="Arch Frame example.jpg" src="640px-Arch_Frame_example.jpg" width="640" height="287" srcset="/wiki/images/5/59/Arch_Frame_example.jpg 1.5x" /></a>
</p><p>In the above image, a <a href="Draft_Line.html" title="Draft Line">line</a> has been turned into an <a href="Draft_Array.html" title="Draft Array">array</a>, and a frame object has been made using the array as layout, and a <a href="Draft_Circle.html" title="Draft Circle">circle</a> as profile.
</p>
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
<ol><li> Create a layout object and a profile object, for example with the <a href="Draft_Workbench.html" class="mw-redirect" title="Draft Workbench">Draft Workbench</a> or the <a href="Sketcher_Workbench.html" title="Sketcher Workbench">Sketcher Workbench</a></li>
<li> Select the layout object first, then, with <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">CTRL</span> pressed, select the profile object</li>
<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_Frame.png" class="image"><img alt="Arch Frame.png" src="16px-Arch_Frame.png" width="16" height="16" srcset="/wiki/images/thumb/e/ef/Arch_Frame.png/24px-Arch_Frame.png 1.5x, 32px-Arch_Frame.png 2x" /></a> <a href="Arch_Frame.html" title="Arch Frame">Arch Frame</a></span> button, or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">F</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">R</span> keys</li></ol>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<ul><li> Frames share the common properties and behaviours of all <a href="Arch_Component.html" title="Arch Component">Arch Components</a></li>
<li> The frame object can be placed at a certain distance from the layout object, by setting its Offset property</li>
<li> The profile will be copied at the base of each edge of the layout object, then extruded along it. You can control how the profile is placed at the base of each edge with the Align and Rotation properties.</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>Base</b>: The layout this frame is based on.</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Profile</b>: The profile this frame is based on.</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Align</b>: Specifies if the profile must be rotated to have its normal axis aligned with each edge.</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Offset</b>: An optional distance between the layout object and the frame object.</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Rotation</b>: The rotation of the profile around its extrusion axis.</li></ul>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>The Frame 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>makeFrame ( layout,profile ) </pre>
<ul><li> Creates a frame object from a base sketch (or any other object containing wires) and a profile object (an extrudable 2D object containing faces or closed wires)</li>
<li> Returns the new frame object, or None if the operation failed.</li></ul>
<p>Example:
</p>
<pre>import Draft, Arch
layout = Draft.makeLine(FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,0,0))
profile = Draft.makeCircle(.2)
Arch.makeFrame(layout,profile) </pre>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Arch_Frame/cs&amp;oldid=280160">http://www.freecadweb.org/wiki/index.php?title=Arch_Frame/cs&amp;oldid=280160</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>