83 lines
5.0 KiB
HTML
83 lines
5.0 KiB
HTML
<html><head><title>Arch Add/sv</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 Add/sv</h1></div>
|
|
|
|
<div id="mw-content-text" lang="sv" 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=".7B.7B.7BName.2Fsv.7D.7D.7D"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Add.png" class="image"><img alt="Arch Add.png" src="32px-Arch_Add.png" width="32" height="32" srcset="/wiki/images/thumb/d/d2/Arch_Add.png/48px-Arch_Add.png 1.5x, /wiki/images/d/d2/Arch_Add.png 2x" /></a> {{{Name/sv}}}</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Menyplacering
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Arch → Add
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Arbetsbänk(ar)
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/sv" title="Arch Module/sv">Arch</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Standard genväg
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">None
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Se även
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="Arch_Remove.html" title="Arch Remove">Arch Remove</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="#.7B.7B.7BName.2Fsv.7D.7D.7D"><span class="tocnumber">1</span> <span class="toctext">{{{Name/sv}}}</span></a></li>
|
|
<li class="toclevel-1 tocsection-1"><a href="#Beskrivning"><span class="tocnumber">2</span> <span class="toctext">Beskrivning</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#Bruk"><span class="tocnumber">3</span> <span class="toctext">Bruk</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Scripting"><span class="tocnumber">4</span> <span class="toctext">Scripting</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Beskrivning">Beskrivning</span></h2>
|
|
<p>Add verkytget låter dig göra 2 olika operationer:
|
|
</p>
|
|
<ul><li> Lägga till <a href="https://www.freecadweb.org/wiki/index.php?title=Part_Module/sv" title="Part Module/sv">form</a>-baserade objekt till en Arch komponent, som en <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Wall/sv" title="Arch Wall/sv">vägg</a> eller <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Structure/sv" title="Arch Structure/sv">struktur</a>. Dessa objekt blir sedan en del av Arch komponenten, och låter dig förändra dess form men behåller dess grundegenskaper som bredd och höjd</li>
|
|
<li> lägga till Arch komponenter, som <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Wall/sv" title="Arch Wall/sv">väggar</a> eller <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Structure/sv" title="Arch Structure/sv">strukturer</a>, till en <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Cell/sv" title="Arch Cell/sv">cell</a> eller andra cell-baserade objekt som <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Floor/sv" title="Arch Floor/sv">golv</a>.</li></ul>
|
|
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Add_example.jpg" class="image"><img alt="Arch Add example.jpg" src="640px-Arch_Add_example.jpg" width="640" height="266" srcset="/wiki/images/2/28/Arch_Add_example.jpg 1.5x" /></a>
|
|
</p><p>I bilden ovan adderas en låda till en vägg.
|
|
</p>
|
|
<h2><span class="mw-headline" id="Bruk">Bruk</span></h2>
|
|
<ol><li> Välj de objekt som ska läggas till, och sedan "värd" objektet (värdobjektet måste väljas sist)</li>
|
|
<li> Klicka på <a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Add.png" class="image"><img alt="Arch Add.png" src="16px-Arch_Add.png" width="16" height="16" srcset="/wiki/images/thumb/d/d2/Arch_Add.png/24px-Arch_Add.png 1.5x, 32px-Arch_Add.png 2x" /></a> <b>Add</b> knappen</li></ol>
|
|
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
|
|
<p>The Add 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>addComponents (objectsList,hostObject) </pre>
|
|
<ul><li> Adds the given object or the objects from the given list as components to the given host Object. Use this for example to add windows to a wall, or to add walls to a floor.</li>
|
|
<li> Returns nothing.</li></ul>
|
|
<p>Example:
|
|
</p>
|
|
<pre>import FreeCAD, Arch, Draft, Part
|
|
line = Draft.makeWire([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,2,0)])
|
|
wall = Arch.makeWall(line)
|
|
box = Part.makeBox(1,1,1)
|
|
Arch.addComponents(box,wall) </pre>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Arch_Add/sv&oldid=263313">http://www.freecadweb.org/wiki/index.php?title=Arch_Add/sv&oldid=263313</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> |