Manual:Navigating in the 3D view

From FreeCAD Documentation
Revision as of 09:28, 11 May 2018 by Tilli (talk | contribs) (Updated the Blender-style section to add the LMB+RMB method for panning)

A word about the 3D space

If this is your first contact with a 3D application, you will need to grab some concepts first. If not, you can safely skip this section.

The FreeCAD 3D space is a Euclidean space. It has an origin point and three axes: X, Y and Z. If you look at your scene from above, conventionally, the X axis points to the right, the Y axis to the back, and the Z axis upwards. In the lower right corner of the FreeCAD view, you can always see from where you are viewing the scene:

Every point of every object that exists in that space can be located by its (x,y,z) coordinates. For example, a point with coordinates (2,3,1) will lie at 2 units on the X axis, 3 units on the Y axis, and 1 unit on the Z axis:

You can look at that scene from any angle, like if you were holding a camera. That camera can be moved left, right, up and down (pan), rotated around what it is looking at (rotate) and brought closer or further from the scene (zoom).

The FreeCAD 3D view

Navigating in the FreeCAD 3D view can be done with a mouse, a Space Navigator device, the keyboard, a touchpad, or a combination of those. FreeCAD implements several navigation modes, which determine how the three basic view manipulation operations (pan, rotate and zoom) are done, as well as how to select objects on the screen are performed. Navigation modes are accessed from the Preferences screen, or directly by right-clicking anywhere on the 3D view:

Each of these modes allocate different mouse buttons, or mouse + keyboard combinations, or mouse gestures, to these four operations. The following table shows the principal available modes:

Mode Pan Rotate Zoom Select
OpenInventor Click middle button mouse Click left button mouse Roll middle button mouse hold CTRL + drag Click left button mouse
CAD (default) Click middle button mouse or Click right button mouse + CTRL key Hold middle then left mouse button or Click right button mouse + SHIFT key Roll middle button mouse or Click right button mouse + CTRL + SHIFT key Click left button mouse
Blender hold SHIFT + drag Click middle button mouse or drag Click middle button mouse Roll middle button mouse Click left button mouse
Touchpad hold SHIFT + drag Touchpad (mouse) pointer ALT + Touchpad (mouse) pointer PGUP / PGDOWN Click touchpad (mouse) left button
Gesture drag Click right button mouse drag Click left button mouse Roll middle button mouse Click left button mouse
OpenCascade Click middle button mouse Hold middle then right mouse button Roll middle button mouse Click left button mouse

Alternatively, some keyboard controls are always available, no matter the navigation mode:

  • CTRL + and CTRL - to zoom in and zoom out
  • The arrow keys to shift the view left/right and up/down
  • SHIFT + left arrow and SHIFT + right arrow to rotate the view by 90 degrees
  • the numeric keys, 1 to 6, for the six standard views, top, front, right, bottom, back and left
  • O will set the camera in orthographic mode,
  • while P sets it in perspective mode.
  • CTRL will allow you to select more than one object or element

These controls are also available from the View menu and some from the View toolbar.

Selecting objects

Objects in the 3D view can be selected by clicking them with the corresponding mouse button, depending on the navigation mode. A single click will select the object, and one of its subcomponents (edge, face, vertex). Double-clicking will select the object, and all its subcomponents. You can select more than one subcomponent, or even different subcomponents from different objects, by pressing the CTRL key. Clicking with the selection button on an empty portion of the 3D view will deselect everything.

A panel called "Selection view", available from the View menu, can also be turned on, which shows you what is currently selected:

You can also use the Selection View to select objects by searching for a particular object.

Read more