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

110 lines
7.8 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html><head><title>Part Box/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>Part Box/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=".D0.9A.D1.83.D0.B1"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Part_Box.png" class="image"><img alt="Part Box.png" src="32px-Part_Box.png" width="32" height="32" srcset="/wiki/images/thumb/a/a5/Part_Box.png/48px-Part_Box.png 1.5x, /wiki/images/a/a5/Part_Box.png 2x" /></a> Куб</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="Part_Module.html" title="Part Module">Part</a>, Complete
</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=Part_CreatePrimitives/ru" title="Part CreatePrimitives/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="#.D0.9A.D1.83.D0.B1"><span class="tocnumber">1</span> <span class="toctext">Куб</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="#.D0.98.D1.81.D0.BF.D0.BE.D0.BB.D1.8C.D0.B7.D0.BE.D0.B2.D0.B0.D0.BD.D0.B8.D0.B5"><span class="tocnumber">3</span> <span class="toctext">Использование</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>
<li class="toclevel-1 tocsection-6"><a href="#FreeCAD_-_Version"><span class="tocnumber">7</span> <span class="toctext">FreeCAD - Version</span></a></li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h2><span class="mw-headline" id="Description">Description</span></h2>
<p>The Box command from the <a href="Part_Workbench.html" class="mw-redirect" title="Part Workbench">Part Workbench</a> inserts a parametric, <a rel="nofollow" class="external text" href="http://en.wikipedia.org/wiki/Cuboid#Rectangular_cuboid">rectangular cuboid</a>, geometric primitive into the active document. By default, the Box command will insert a 10x10x10 mm cube, positioned at the origin, with the label "cube". These parameters may be modified after the object has been added.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Part_Box.jpg" class="image" title="Part_Box"><img alt="Part_Box" src="400px-Part_Box.jpg" width="400" height="343" srcset="/wiki/images/b/b6/Part_Box.jpg 1.5x" /></a>
</p>
<div class="mw-translate-fuzzy">
<h2><span class="mw-headline" id=".D0.98.D1.81.D0.BF.D0.BE.D0.BB.D1.8C.D0.B7.D0.BE.D0.B2.D0.B0.D0.BD.D0.B8.D0.B5">Использование</span></h2>
<ul><li> Нажмите на иконку куба <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Part_Box.svg" class="image"><img alt="Part Box.svg" src="Part_Box.svg" width="30" height="30" /></a></span> верстака Part. </li>
<li> Или выберите из меню <b>Деталь → Primitives → Куб</b>.</li></ul>
</div>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<ul><li> Via the <a href="Property_editor.html" title="Property editor"> Property Editor</a>:
<ul><li> <b>Length:</b> Set the length distance for your Box object (default is 10 mm).</li>
<li> <b>Width:</b> Set the width distance for your Box object (default is 10 mm).</li>
<li> <b>Height:</b> Set the height distance for your Box object (default is 10 mm).</li>
<li> <b>Placement:</b> Specifies the orientation and position of the Box in the 3D space. See <a href="Placement.html" title="Placement"> Placement</a>. The reference point is the left front lower corner of the box.</li>
<li> <b>Label:</b> The Label is the name given to the operation. This name can be changed at your convenience.</li></ul></li></ul>
<h2><span class="mw-headline" id="Properties">Properties</span></h2>
<p><span style="color: #ffffff; background-color: #a0a0a0; font-size: 132%; font-weight: bold; margin-bottom: .3em; page-break-after: avoid;">Base</span>
</p>
<ul><li><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Placement</b>: Specifies the orientation and position of the Box in the 3D space. See <a href="Placement.html" title="Placement"> Placement</a>. The reference point is the left front lower corner of the box.</li>
<li><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Label</b>: Label given to the Box object. Change to suit your needs.</li></ul>
<p><span style="color: #ffffff; background-color: #a0a0a0; font-size: 132%; font-weight: bold; margin-bottom: .3em; page-break-after: avoid;">Box</span>
</p>
<ul><li><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Length</b>: The length parameter is the Box's dimension in the x-direction.</li>
<li><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Width</b>: The width parameter is the Box's dimension in the y-direction.</li>
<li><span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Height</b>: The height parameter is the Box's dimension in the z-direction.</li></ul>
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Part_Box-Properties.jpg" class="image" title="Part_Box-Properties"><img alt="Part_Box-Properties" src="Part_Box-Properties.jpg" width="438" height="247" /></a>
</p>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>The Box command can by used in <a href="Macros.html" title="Macros">macros</a> and from the python console using the following function:
</p>
<pre>FreeCAD.ActiveDocument.addObject("Part::Box", "myBox") </pre>
<ul><li> Where "myBox" is the label for the Box object.</li>
<li> Returns newly created object of type Box.</li></ul>
<p>You can access and modify attributes of the Box object. For example, you may wish to modify the length, width and height parameters.
</p>
<pre>FreeCAD.ActiveDocument.myBox.Length = 25
FreeCAD.ActiveDocument.myBox.Width = 15
FreeCAD.ActiveDocument.myBox.Height = 30 </pre>
<p>You can change its placement with:
</p>
<pre>FreeCAD.ActiveDocument.myBox.Placement = FreeCAD.Placement(FreeCAD.Vector(4, 6, 3), FreeCAD.Rotation(30, 45, 10)) </pre>
<h2><span class="mw-headline" id="FreeCAD_-_Version">FreeCAD - Version</span></h2>
<ul><li><span style="font-size:x-small;"><a href="Release_notes_0.14.html" title="Release notes 0.14">available in version 0.14</a></span></li></ul>
<p>Beginning in FreeCAD version 0.14, a Part Box is referred to in the GUI elements as a Cube and the default label is "Cube".
</p>
<div style="clear:both"></div>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Part_Box/ru&amp;oldid=246391">http://www.freecadweb.org/wiki/index.php?title=Part_Box/ru&amp;oldid=246391</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>