An updated 2.8 answer can be found here
In both edit mode and object mode; press N to open the Properties. Scroll down to the 3D cursor. There are three number fields one each for the X, Y, and Z axes.
For finer control use Alt or Ctrl while dragging the mouse. Also see the Manual.
Note the coordinates are always in Global, how the transform orientation is ...
Have a look at the blender manual. You can also use the snap menu pressing Shift+S.
Cursor to Selected
Snaps the cursor to the center of the current selection.
Cursor to Center
Snaps the cursor to the origin of the scene (location 0,0,0).
Cursor to Grid
Snaps the cursor to the nearest visible grid lines.
Cursor to Active
Snaps the cursor ...
There is a great addon called Enhanced 3D Cursor that makes positioning the 3D cursor much easier.
After installing and enabling it there will be a new panel in the properties region.
That is only part of the addon's power.
Now when you press F10 or simply click and hold the LMB the 3D cursor will snap to your objects' faces. Furthermore if you hold shift ...
Select the object and then bring up the Snap-To menu with Shift+S and then choose “Selection to cursor”.
As mentioned by @JoanCharmant, Blender version 2.8+ allows you to right-click in the viewport to get a context menu that provides an easy way to get to the 'Snap' options instead of requiring the use of a keyboard shortcut. This option wasn't present at ...
In 2.8+ the 3D cursor has changed quite a bit.
Using the default blender keymap in left click select mode the keyboard shortcut to move the 3D cursor is ShiftRMB .
There is the "Cursor" tool (found in the top of the tool bar) that when active allows you to move the 3D cursor by simply LMB (just like in 2.7x).
As a side note when using right click select ...
Bring up your snap menu with Shift+S.
Hover your mouse over 'cursor to selected', and then click on it with the RMB . You will see an option to either add or change the keyboard shortcut.
Hover your mouse over the box that appears, (it should tell you to press a key), and then press the desired shortcut one key at a time while still holding them down to ...
See Adhi's answer here as to why this won't work the way you are doing it.
It's easier to read 3D View space's settings through bpy.context,
Use bpy.context.space_data, if the 3D View area is active (i.e. accessed through an operator executed from the 3D View itself).
Use bpy.context.area.spaces, if accessed through a Console whose ...
You need to change the Transform Orientation. In some case, changing to local orientation will work, but in your case, you need to create a new referential :
Create specific Transform Orientation
On edit mode, select an edge that has the correct direction for the pivot of the box. (for example the edge on the bottom of the lid )
Press n to open the right ...
You can try Cursor Control addon.
Note: To overwrite your actions you only need to go back in history.
As everywhere in blender you can Right Click on the arrow buttons of the cursor history to assign shortcuts for navigate back and forth:
Can enter values into the python console. C is a convenience variable for context. The 3D cursor is C.scene.cursor_location. Using autocomplete Ctrlspace and history ⬆.⬇ reduces the need for a ton of typing.
Vector((4.0, 4.0, 4.000024795532227))
>>> C.scene.cursor_location = (0, 0, 0)
Activate the 3D Cursor in the Toolbar T.
Open up the Sidebar (N) and, on the Tool tab, change the Orientation to Geometry.
Click on the surface of the object to update the orientation of the 3D Cursor.
If the 3D Cursor is not "sticking" to the surface, enable Cursor Surface Project in Preferences (Ctrl+Alt+U) > Editing > 3D Cursor.
It's stated pretty clearly in the Blender manual, but if someone omits this source it'll be here:
The Cursor to Selected option is also affected by the current Pivot Point. For example:
With the Bounding Box Center pivot point active, the Cursor to Selected option will snap the 3D cursor to the center of the bounding
box surrounding the objects’ ...
You can control the behaviour of the 3D Cursor orientation via the Cursor tool - in early 2.8 builds this was found at the top of the workspace :
Enabling the Cursor tool gives you options to set whether the cursor is projected to the clicked surface and how the Orientation should be updated.
The default option is for 'View' - so the cursor is always ...
In the N properties region of the 3D view, there is a 'Tool' tab for the options of your current tool. If you are using the ShiftSpace > Space 3D cursor tool, you are given options for orientation.
Here, by setting the ShiftA Creation > 'Align' option to '3D Cursor', a cube has been created aligned to the face of another object.
Edit.. as far as I can see.....
New versions of blender have added a default option on the cursor, snapping it to object's surface. In user preferences (Ctrl+Alt+U or File menu) interface tab, uncheck "cursor depth" to have your cursor free again!
If you mean your 3D Cursor, then the shortcut is Alt+Home. Otherwise, if you want to zoom into your mouse, then you should activate the option in File -> User Preferences -> Interface -> Zoom To Mouse Position
Steps 3/4/5 can be replaced by Shift+S (for Snapping) / O.
Step 8 can be replaced by T. In general, you can look for underlined letters in such menus.
I also wrote an add-on to automate the process: OriginToSelection.py.
Install the add-on via User Preferences / Add-ons / Install from file, don't forget to activate it (check the box before its name). ...
Below are some uses of the 3d cursor in Blender with examples
Precise placement of new objects
Pivot for transformations, example - Transforms moving around the 3D cursor?
Pivot for modeling tools and modifiers (e.g. mirror, spin, screw...)
Moving the origin of objects (Ctrl-Alt-Shift-C), example - Change pivot or local origin of an object
A visual ...
This is the 3D Cursor, and is useful for several things in advanced editing. When you left-click you are setting the position in 3D space for it to be. It works in all modes.
If you would like some more details, go to the Blender Manual.
With cursor positioned as desired and vertices / edges selected scale it while choosing axis which you'd like to affect on scaling (in this case Global X):
Select vertices, set Pivot Point to 3D Cursor.
Press S to scale, then X to scale to 3D Cursor by X axis axis.
Enter amount of effect of scaling. In this case it will be 0.