Sandbox:Thebeav

Description
The Box command from the Part Workbench inserts a parametric, rectangular cuboid, 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.



How to Use

 * Click the cube icon from the Part Workbench.
 * Alternatively, you can select from the menu bar.

Properties

 * Specifies the orientation and position of the shape in the 3D space.
 * Label given to the object. Change to suit your needs.


 * The length parameter is the rectangular cuboid's dimension in the x-direction.
 * The width parameter is the rectangular cuboid's dimension in the y-direction.
 * The height parameter is the rectangular cuboid's dimension in the z-direction.



Scripting
The Box command can by used in macros and from the python console using the following function:
 * Where "myBox" is the label for the Box object.
 * Returns newly created object of type Box.