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

90 lines
6.4 KiB
HTML

<html><head><title>Arch Equipment</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 Equipment</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_Equipment"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Equipment.png" class="image"><img alt="Arch Equipment.png" src="32px-Arch_Equipment.png" width="32" height="32" srcset="/wiki/images/thumb/2/21/Arch_Equipment.png/48px-Arch_Equipment.png 1.5x, /wiki/images/2/21/Arch_Equipment.png 2x" /></a> Arch Equipment</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Menu location
</th></tr>
<tr>
<td class="ctEven">Arch → Equipment
</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">E Q
</td></tr>
<tr>
<th class="ctOdd">See also
</th></tr>
<tr>
<td class="ctEven"><a href="Arch_3Views.html" title="Arch 3Views">3 views from mesh</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_Equipment"><span class="tocnumber">1</span> <span class="toctext">Arch Equipment</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 Equipment tool offers you a simple and convenient way to insert non-structural, standalone elements such as pieces of furniture, hidro-sanitary equipments or electrical appliances to your projects. Equipments are based on <a href="Part_Module.html" title="Part Module">Part shapes</a>, which allow them to benefit from the solidity and possibilities of BRep geometry, and generate nice views when rendered to plan and section views.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_equipment_example.jpg" class="image"><img alt="Arch equipment example.jpg" src="Arch_equipment_example.jpg" width="800" height="521" /></a>
</p><p>As of version 0.17, equipment objects also have a <b>HiRes</b> property where a <a href="Mesh_Module.html" class="mw-redirect" title="Mesh Module">Mesh</a> object can be attached. Equipment objects can then be made to display that mesh in the 3D view instead of their shape, which allows to use any high-resolution mesh objects such as detailed pieces of furniture commonly found on websites.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_equipment_mesh.jpg" class="image"><img alt="Arch equipment mesh.jpg" src="Arch_equipment_mesh.jpg" width="1086" height="698" /></a>
</p><p>When using the Arch OBJ exporter, all equipments that are in Mesh display mode will be exported as their mesh instead of their shape.
</p>
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
<ol><li> Select a <a href="Part_Workbench.html" class="mw-redirect" title="Part Workbench">Part</a> shape, and optionally a <a href="Mesh_Workbench.html" title="Mesh Workbench">Mesh</a> 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_Equipment.png" class="image"><img alt="Arch Equipment.png" src="16px-Arch_Equipment.png" width="16" height="16" srcset="/wiki/images/thumb/2/21/Arch_Equipment.png/24px-Arch_Equipment.png 1.5x, 32px-Arch_Equipment.png 2x" /></a> <a class="mw-selflink selflink">Arch Equipment</a></span> button, or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">E</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Q</span> keys</li></ol>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<ul><li> Equipments 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>Model</b>: A description of the model of this equipment.</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Url</b>: An URL of the product page where more information about this equipment can be found.</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Mesh</b>: A <a href="Mesh_Workbench.html" title="Mesh Workbench">Mesh</a> representation to use for this equipment. When set, the <b>Mesh</b> display mode becomes available.</li></ul>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>The Equipment 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>makeEquipment ( baseObject ) </pre>
<ul><li> Creates an equipment object from a base object (Mesh or Part)</li>
<li> Returns the new equipment object, or None if the operation failed.</li></ul>
<p>Example:
</p>
<pre>import Part, Arch
box = Part.makeBox(2,2,2)
base = FreeCAD.ActiveDocument.addObject("Part::Feature","Box")
base.Shape = box
Arch.makeEquipment(base) </pre>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Arch_Equipment&amp;oldid=230785">http://www.freecadweb.org/wiki/index.php?title=Arch_Equipment&amp;oldid=230785</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>