1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
.. _tool-add-cube:
********
Add Cube
********
.. reference::
:Mode: Object Mode and Edit Mode
:Tool: :menuselection:`Toolbar --> Add Cube`
Interactively add a :ref:`cube mesh object <bpy.ops.mesh.primitive_cube_add>`.
Usage
=====
First define the base of the object by dragging with :kbd:`LMB`.
Next, release :kbd:`LMB` and move the mouse to define the height of the object.
Finally, click :kbd:`LMB` to confirm the shape of the object.
You can use the following hotkeys to temporarily change a setting
(for as long as the key is held):
.. list-table::
:widths: 10 90
* - :kbd:`Ctrl`
- Toggles snapping.
* - :kbd:`Alt`
- Toggles the *Origin* setting.
* - :kbd:`Shift`
- Toggles the *Aspect* setting.
Tool Settings
=============
Depth
The initial depth (from the screen into the scene) used when placing the object.
:Surface: Start placing on the surface under the mouse cursor. If there is no surface, this does the
same as *Cursor Plane*.
:Cursor Plane: Start placing on a plane that goes through the :doc:`3D Cursor </editors/3dview/3d_cursor>`
and is aligned according to the *Orientation* and *Plane Axis*.
:Cursor View: Start placing on a plane that goes through the 3D Cursor and is aligned to the view.
Orientation
The new object's orientation -- a set of three axes, out of which *Plane Axis* chooses one.
:Surface: The object uses the normal orientation of the surface under the mouse cursor.
If there is no surface, this does the same as *Default*.
:Default: The object uses the default :doc:`/editors/3dview/controls/orientation`.
Snap To
The target to use while :doc:`/editors/3dview/controls/snapping`.
:Geometry: Snap to all types of geometry (vertices, edges, and faces).
:Default: Snap to the target defined in the global snapping options.
Plane Axis
Which of the three *Orientation* axes (X, Y or Z) is "up" for the object.
The object's base will be perpendicular to this axis.
Auto Axis
Rather than using the *Orientation* axis indicated by *Plane Axis*,
use the one that's closest to the viewport's viewing direction
(when not hovering over a surface).
.. rubric:: Base
Origin
How the base is defined.
:Edge: The base is defined from one corner to the opposing corner.
:Center: The base is defined from the centerpoint to a corner.
Aspect
Whether the base has a free or fixed aspect ratio.
:Free: The width and depth of the base can be chosen independently.
:Fixed: The width and depth of the base are forced to be equal.
.. rubric:: Height
Origin
How the height is defined.
:Edge: The base becomes the bottom, after which you define the top.
:Center: The base becomes the center, after which you define the top.
Aspect
Whether the object's side has a free or fixed aspect ratio.
:Free: The height can be chosen independently of the base.
:Fixed: The height is forced to be equal to the largest side of the base.
|