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

107 lines
7.6 KiB
HTML

<html><head><title>Part Box/pl</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/pl</h1></div>
<div id="mw-content-text" lang="pl" 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.2Fpl.7D.7D.7D"><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> {{{Name/pl}}}</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Lokalizacja menu
</th></tr>
<tr>
<td class="ctEven">Part → Box
</td></tr>
<tr>
<th class="ctOdd">Workbenches
</th></tr>
<tr>
<td class="ctEven"><a href="Part_Module.html" title="Part Module">Part</a>, Complete
</td></tr>
<tr>
<th class="ctOdd">Domyślny skrót
</th></tr>
<tr>
<td class="ctEven">żaden
</td></tr>
<tr>
<th class="ctOdd">Zobacz także
</th></tr>
<tr>
<td class="ctEven"><a href="Part_CreatePrimitives.html" title="Part CreatePrimitives">Part CreatePrimitives</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.2Fpl.7D.7D.7D"><span class="tocnumber">1</span> <span class="toctext">{{{Name/pl}}}</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>
<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>
<h2><span class="mw-headline" id="How_to_Use">How to Use</span></h2>
<ul><li> Click the cube icon <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.png" class="image"><img alt="Part Box.png" src="30px-Part_Box.png" width="30" height="30" srcset="/wiki/images/thumb/a/a5/Part_Box.png/45px-Part_Box.png 1.5x, /wiki/images/thumb/a/a5/Part_Box.png/60px-Part_Box.png 2x" /></a></span> from the Part Workbench. </li>
<li> Alternatively, you can select <b>Part → Primitives → Cube</b> from the menu bar.</li></ul>
<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/pl&amp;oldid=226883">http://www.freecadweb.org/wiki/index.php?title=Part_Box/pl&amp;oldid=226883</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>