鼠標控制模式

From FreeCAD Documentation
This page is a translated version of the page Mouse navigation and the translation is 25% complete.
Outdated translations are marked like this.

Overview

Freecad的鼠标控制模式由用于三维空间可视化导航和与显示对象交互的命令组成.Freecad支持多个鼠标控制导航样模式。默认的导航样式被称为“CAD导航”,非常简单和实用,但FreeCad还提供了多种可选的导航样式,您可以根据自己的喜好进行选择。

For more information about selecting objects see Selection methods.

For more information about manipulating objects see Std TransformManip.

Selecting a navigation style

  • 首選項編輯器中,選擇的 編輯 → 首選項 → 顯示 → 3D視圖 → 3D導航

在三維視圖區域的空白處單擊鼠標右鍵,然後在彈出菜單中選擇導航樣式 →...」。

Available navigation styles

With all navigation styles, unless selecting objects from a sketch in edit mode, you must hold Ctrl to select multiple objects.

Blender導航

The Blender navigation style was modeled after Blender.

Blender導航樣式參照Blender的操作。以前一直需要按下SHIFT配合鼠標才能完成視圖平移. 在2016年Blender增加了一個功能改變了這一情況。現在可以通過同時按下鼠標左鍵和右鍵進行視圖平移。

選取 平移 縮放 旋轉視圖
Shift+
在要選擇的對象上按鼠標左鍵。 按住Shift 並按住鼠標中鍵,然後移動鼠標。

或者,按住鼠標左鍵和右鍵,然後移動鼠標。

使用鼠標滾輪放大和縮小。 按住鼠標中鍵,然後移動鼠標。

CAD navigation

CAD導航(默認)

這是默認的導航樣式,其允許用戶對視圖進行簡單的控制,並且不需要使用鍵盤鍵,除非進行多個選擇。

選擇 平移 縮放 旋轉視圖
第一種方法
旋轉視圖
替代方法
在要選擇的對象上按鼠標左鍵。按住Ctrl可以選擇多個對象。

單擊鼠標中鍵可將視圖重新置於光標位置的中心。

{{{Pan_text}}} {{{Zoom_text}}} 按住鼠標中鍵不放, 然後按下鼠標左鍵不放, 然後移動光標.

鼠標中鍵按下時光標的位置決定了旋轉操作的旋轉中心。旋轉操作就像旋轉一個圍繞中心旋轉的球。如果在停止鼠標移動之前釋放按鈕,視圖將繼續旋轉(此選項啟用時)。

雙擊鼠標中鍵以設定一個新的旋轉中心。

按住鼠標中鍵不放, 然後按下鼠標右鍵不放, 然後移動光標.

該方法下鼠標中鍵可以在鼠標右鍵按下後放開。

習慣用右手的用戶可能會覺得這種方法比第一種方法要容易些。

Ctrl+ Ctrl+Shift+ Shift+
{{{Pan_mode_text}}} Zoom mode: 按住鍵盤上的CtrlShift鍵不放, 點擊鼠標右鍵一次後移動光標. introduced in version 0.17 Rotate mode: 按住Shift鍵不放,點擊鼠標右鍵一次後移動光標. introduced in version 0.17

手勢導航

This style was tailored for use with a touchscreen and pen. Nevertheless, it can also be used with a mouse, and is recommended for use when using a Mac with a trackpad.

這種導航風格是0.16版引入的為觸摸屏和筆的可用性而量身定做的,但也可以配合鼠標使用。

選擇 平移 縮放 旋轉視圖 傾斜視圖
在要選擇的對象上按鼠標左鍵。 按住鼠標右鍵,然後移動鼠標。 使用鼠標滾輪縮放。 按住鼠標左鍵,然後移動鼠標。

草圖工作枱和其他編輯模式下,此行為被禁用。按下鼠標按鈕進入旋轉模式的同時時按住鍵Alt

要設置相機的旋轉對焦點,請用鼠標中鍵單擊一個點。 或者,將光標對準某個點,然後按鍵盤上的H

按住鼠標左鍵和右鍵,然後將鼠標移到一邊。
點擊選擇。 用兩個手指拖拽。

或者,輕按並按住,然後拖動。這將使用鼠標右鍵模擬平移。

將兩個手指(捏)拉近或拉遠。 用一根手指拖動以旋轉。

草圖工作枱中按下Alt

旋轉由兩個觸摸點組成的假想線。

在v0.18上,默認情況下禁用此方法。要啟用,請轉到編輯→首選項→顯示,然後取消選中「禁用觸摸屏傾斜手勢」複選框。

Maya手勢導航

In Maya-Gesture Navigation, panning, zooming, and rotating the view require the Alt key together with a mouse button; therefore, a three-button mouse is required. It's also possible to use gestures as this style was developed over the Gesture navigation style.

在maya手勢導航中,所有視圖移動都是ALT 和鼠標按鈕激活的,因此需要有一個3按鈕鼠標才能正確使用此導航模式。另外,也可以使用手勢,因為該模式是在常規手勢導航模式基礎上下開發的。

選取 平移 縮放 旋轉視圖
Alt+ Alt+ Alt+
在要選擇的對象上按鼠標左鍵。 按住 Alt並按住鼠標中鍵,然後移動鼠標。 按住Alt 並單擊鼠標右鍵,然後移動鼠標。

或者,使用鼠標滾輪放大和縮小。

按住Alt和鼠標左鍵,然後移動鼠標。

OpenCascade

The OpenCascade navigation style was modeled after OpenCascade.

選擇 平移 縮放 旋轉視圖
ctrl+ ctrl+ ctrl+


在要選擇的對象上按鼠標左鍵。 按住鼠標中鍵,然後移動鼠標。 使用鼠標滾輪放大和縮小。

或者,按住Ctrl和鼠標左鍵,然後移動指針。

按住Ctrl和鼠標右鍵,然後移動指針。

OpenInventor navigation

openinventor導航

在Openinventor導航中,參照Open Inventor(不要與Autodesk的inventor混淆)的操作,不能僅靠鼠標進行選取操作。要選擇對象,必須按住Ctrl鍵。

該模式不基於Autodesk Inventor

選擇 平移 縮放 旋轉視圖
{{{Shift}}}+
按住ctrl,然後在要選擇的對象上按鼠標左鍵。 Hold the middle mouse button, then move the pointer. Use the mouse wheel to zoom in and out.

或者,按住鼠標中鍵,然後按住鼠標左鍵,然後移動指針。

按住鼠標左鍵,然後移動指針。

OpenSCAD navigation

The OpenSCAD navigation style was modeled after OpenSCAD.

introduced in version 0.20

Select Pan Zoom Rotate view
Shift+
Press the left mouse button over an object you want to select.

version 0.21 and below Hold Ctrl and Shift when pressing the mouse button to drag an object in a sketch in edit mode.

Hold the right mouse button, then move the pointer. Hold the middle mouse button, then move the pointer.

Alternatively, hold Shift and the right mouse button, then move the pointer.

Hold the left mouse button, then move the pointer.

Alternatively, and when a sketch is in edit mode, hold the middle mouse button, then press and hold the right mouse button, then move the pointer.

Revit導航

The Revit navigation style was modeled after Revit.

選擇 Pan 縮放 旋轉視圖
{Shift+


在要選擇的對象上按下鼠標左鍵。 按住鼠標中鍵,然後移動指針。

或者,按住鼠標左鍵和右鍵,然後移動指針。

使用鼠標滾輪放大和縮小。 按住Shift和鼠標中鍵,然後移動指針。

或者,按住鼠標中鍵,然後按住鼠標右鍵,然後移動指針。

TinkerCAD navigation

The TinkerCAD navigation style was modeled after TinkerCAD.

introduced in version 0.20

Select Pan Zoom Rotate view
Press the left mouse button over an object you want to select. Hold the middle mouse button, then move the pointer. Use the mouse wheel to zoom in and out. Press the right mouse button, then move the pointer.

觸控板導航

With the Touchpad navigation style, panning, zooming, and rotating the view require a modifier key together with the touchpad. This style can also be used with a mouse.

觸控板導航中,平移、縮放或視圖旋轉操作都需要一個輔助按鍵和觸控板一起配合。

選取 平移 縮放 旋轉視圖
Shift+ PageUp, PageDown Alt+
在要選擇的對象上按鼠標左鍵。 按住 Shift,然後移動鼠標. 使用 PageUpPageDown進行縮放操作. 按住Alt,然後移動鼠標.
Ctrl+Shift+ Shift+
或者按住ShiftCtrl, 然後移動鼠標. 或者,按住Shift和左鍵,然後移動鼠標。

硬件支持

FreeCAD 也支持一些3D輸入設備.

Mac OS X問題

最近我們在論壇中收到了來自Mac用戶的報告稱這些鼠標按鈕和按鍵組合不能正常工作。不幸的是,沒有一個開發人員擁有Mac,其他的常規志願者也沒有。我們需要您的幫助來確定哪些鼠標按鈕和組合鍵有效,以便我們可以更新此wiki。

Developing a custom navigation

The tutorial Adding a new mouse navigation option to FreeCAD orients developers who want to develop a custom mouse navigation option. Familiarity with the C++ syntax is required.