100 lines
7.7 KiB
HTML
100 lines
7.7 KiB
HTML
<html><head><title>Arch Roof/en</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 Roof/en</h1></div>
|
|
|
|
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="Arch_Roof"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Roof.png" class="image"><img alt="Arch Roof.png" src="32px-Arch_Roof.png" width="32" height="32" srcset="/wiki/images/thumb/a/a2/Arch_Roof.png/48px-Arch_Roof.png 1.5x, /wiki/images/a/a2/Arch_Roof.png 2x" /></a> Arch Roof</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Menu location
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Arch → Roof
|
|
</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">R F
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">See also
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">None
|
|
</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_Roof.html"><span class="tocnumber">1</span> <span class="toctext">Arch Roof</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 Roof tool allows you to create a sloped roof from a selected wire. The created roof object is parametric, keeping its relationship with the base object. Please note that this tool is still in development, and might fail with very complex shapes. The principle is that each edge is seen allotting a profile of roof (slope, width, overhang, thickness…).
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:RoofExample.png" class="image"><img alt="RoofExample.png" src="600px-RoofExample.png" width="600" height="548" srcset="/wiki/images/6/6b/RoofExample.png 1.5x" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
|
|
<ol><li> Create a wire with following the conterclockwise direction and select it.
|
|
<ul><li><a href="https://www.freecadweb.org/wiki/index.php?title=File:CounterclockwiseWire.png" class="image"><img alt="CounterclockwiseWire.png" src="600px-CounterclockwiseWire.png" width="600" height="401" srcset="/wiki/images/b/b2/CounterclockwiseWire.png 1.5x" /></a></li></ul></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_Roof.png" class="image"><img alt="Arch Roof.png" src="16px-Arch_Roof.png" width="16" height="16" srcset="/wiki/images/thumb/a/a2/Arch_Roof.png/24px-Arch_Roof.png 1.5x, 32px-Arch_Roof.png 2x" /></a> <a href="Arch_Roof.html" title="Arch Roof">Arch Roof</a></span> button, or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">R</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">F</span> keys</li>
|
|
<li> The default roof object could have a strange shape, it's because the tool have not all the needed informations.</li>
|
|
<li> After creating the default roof, double click on the object in the tree view to access and edit all the properties. Angle must be between 0 and 90.
|
|
<ul><li><a href="https://www.freecadweb.org/wiki/index.php?title=File:RoofTable.png" class="image"><img alt="RoofTable.png" src="RoofTable.png" width="436" height="203" /></a></li></ul></li>
|
|
<li> Each line correspond to a roof pane. So you can set properties you want for each roof pane.</li>
|
|
<li> To help you, you can set Angle or Run to 0 and defined a Relative Id, this make automatic calculs to find the data relative to the relative Id.</li>
|
|
<li> It work like this :
|
|
<ol><li> If Angle = 0 and Run = 0 then profile is identical to the relative profile.</li>
|
|
<li> If Angle = 0 then angle is calculated so that the height is the same one as the relative profile.</li>
|
|
<li> If Run = 0 then Run is calculated so that the height is the same one as the relative profile.</li></ol></li>
|
|
<li> At the end, set an angle to 90° to make a gable.
|
|
<ul><li><a href="https://www.freecadweb.org/wiki/index.php?title=File:RoofProfil.png" class="image"><img alt="RoofProfil.png" src="600px-RoofProfil.png" width="600" height="317" srcset="/wiki/images/thumb/1/16/RoofProfil.png/900px-RoofProfil.png 1.5x, /wiki/images/1/16/RoofProfil.png 2x" /></a></li></ul></li>
|
|
<li> <b>Also you can check this video</b> : <a rel="nofollow" class="external free" href="https://www.youtube.com/watch?v=4Urwru71dVk">https://www.youtube.com/watch?v=4Urwru71dVk</a> </li></ol>
|
|
<h2><span class="mw-headline" id="Options">Options</span></h2>
|
|
<ul><li> Roofs share the common properties and behaviours of all <a href="Arch_Component.html" title="Arch Component">Arch Components</a></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>Angles</b>: List of the slope angle of the roof pane (an angle for each edge in the wire).</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Runs</b>: List of the width of the roof pane (a run for each edge in the wire).</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>IdRel</b>: List of relation Id The slope angle of the roof</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Thickness</b>: List of thickness of the roof pane. (a thickness for each edge in the wire).</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Overhang</b>: List of the overhang of the roof pane (an overhang for each edge in the wire).</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Face</b>: The face index of the base object to be used #Not really used</li></ul>
|
|
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
|
|
<p>The Roof 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>makeRoof (baseobj,[facenr],[angles],[runs],[idrel],[thickness],[overhang],[name]) </pre>
|
|
<dl><dd>Makes a roof based on a closed wire. You can provide a list of angles, run, idrel, thickness, overhang for each edges in the wire to define the roof shape. The default for angle is 45 and the list is automatically complete to match with number of edges in the wire.</dd></dl>
|
|
<p>Example:
|
|
</p>
|
|
<pre>import Arch, Draft
|
|
rect = Draft.makeRectangle(30,40)
|
|
Arch.makeRoof(rect,angles=[30.,]) </pre>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Arch_Roof/en&oldid=230730">http://www.freecadweb.org/wiki/index.php?title=Arch_Roof/en&oldid=230730</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> |