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

85 lines
4.8 KiB
HTML

<html><head><title>Arch Remove/ru</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 Remove/ru</h1></div>
<div id="mw-content-text" lang="ru" 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_Remove"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Remove.png" class="image"><img alt="Arch Remove.png" src="32px-Arch_Remove.png" width="32" height="32" srcset="/wiki/images/thumb/d/dc/Arch_Remove.png/48px-Arch_Remove.png 1.5x, /wiki/images/d/dc/Arch_Remove.png 2x" /></a> Arch Remove</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Расположение в меню
</th></tr>
<tr>
<td class="ctEven">Архитектура → Удалить компонент
</td></tr>
<tr>
<th class="ctOdd">Верстаки
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/ru" title="Arch Module/ru">Arch</a>
</td></tr>
<tr>
<th class="ctOdd">Быстрые клавиши
</th></tr>
<tr>
<td class="ctEven">отсутствуют
</td></tr>
<tr>
<th class="ctOdd">См. также
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Add/ru" title="Arch Add/ru">Добавить компонент</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_Remove"><span class="tocnumber">1</span> <span class="toctext">Arch Remove</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="#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="Description">Description</span></h2>
<p>The Remove tools allows you to do 2 kinds of operations:
</p>
<ul><li> Remove a subcomponent from an Arch object, for example remove a box that has been added to a wall, like in the <a href="Arch_Add.html" title="Arch Add">Arch Add</a> example</li>
<li> Subtract a <a href="Part_Module.html" title="Part Module">shape</a>-based object from an Arch component such as a <a href="Arch_Wall.html" title="Arch Wall">wall</a> or <a href="Arch_Structure.html" title="Arch Structure">structure</a></li></ul>
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Arch_Remove_example.jpg" class="image"><img alt="Arch Remove example.jpg" src="600px-Arch_Remove_example.jpg" width="600" height="200" srcset="/wiki/images/a/a3/Arch_Remove_example.jpg 1.5x" /></a>
</p><p>In the above image, a box is being subtracted from a wall
</p>
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
<ol><li> Select a subcomponent inside an Arch object, <b>or</b>:</li>
<li> Select object(s) to be subtracted, then the Arch component from which they must be subtracted (the arch component must be the last thing you selected)</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_Remove.png" class="image"><img alt="Arch Remove.png" src="16px-Arch_Remove.png" width="16" height="16" srcset="/wiki/images/thumb/d/dc/Arch_Remove.png/24px-Arch_Remove.png 1.5x, 32px-Arch_Remove.png 2x" /></a> <b>Remove</b></span> button</li></ol>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>The Remove 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><b>removeComponents (objectsList,[hostObject])</b>
</pre>
<ul><li> removes the given component or the components from the given list from their parents. If a host object is specified, this function will try adding the components as holes to the host object instead.</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)
Arch.removeComponents(box) </pre>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Arch_Remove/ru&amp;oldid=263282">http://www.freecadweb.org/wiki/index.php?title=Arch_Remove/ru&amp;oldid=263282</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>