Mouse navigation/zh-cn: Difference between revisions

From FreeCAD Documentation
(Created page with "或者按住鼠标中键,再按下鼠标左键,最后移动鼠标指针。 |Rotate_view_text=按住鼠标左键,再移动鼠标指针。 }}")
(Updating to match new version of source page)
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{docnav|Getting started|Navigation Cube}}
{{Docnav
|[[Getting_started|Getting started]]
|[[Selection_methods|Selection methods]]
}}

{{TOCright}}

==Overview==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 6: Line 14:
</div>
</div>


For more information about selecting objects see [[Selection_methods|Selection methods]].
<div class="mw-translate-fuzzy">
==导航==
对象处理对于所有工作台都是常见的。根据选择的导航方式,可以使用以下鼠标手势来控制对象位置和视图。
</div>


For more information about manipulating objects see [[Std_TransformManip|Std TransformManip]].
有两种方法来更改导航样式:

== Selecting a navigation style ==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 18: Line 25:
</div>
</div>


== Available navigation styles ==

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

<span id="Blender_navigation"></span>
<div class="mw-translate-fuzzy">
=== Blender 导航 ===
</div>

The Blender navigation style was modeled after [https://www.blender.org Blender].

<div class="mw-translate-fuzzy">
在 Blender 导航中,以[http://www.blender.org Blender]为模型,没有单独的鼠标平移方式。为了平移视图,您必须按住{{KEY | SHIFT}}键。2016年发生了改变,现在,您可以同时按住鼠标左右两键来移动视图。
{{Blender Navigation
|Select_name=选择对象
|Pan_name=移动视图
|Zoom_name=缩放视图
|Rotate_view_name=旋转视图
|Shift={{KEY|Shift}}
|Select_text=在待选对象上点击鼠标左键。
|Pan_text=按住{{KEY|Shift}}键与鼠标中键,再移动鼠标指针。
</div>

或者按住鼠标左右两键,再移动鼠标指针。
|Zoom_text=用鼠标滚轮来进行缩放。
|Rotate_view_text=按住鼠标中键,再移动鼠标指针。
}}

=== CAD navigation ===

<div class="mw-translate-fuzzy">
=== CAD导航(默认)===
=== CAD导航(默认)===
这是默认的导航样式,允许用户简单地控制视图,除了进行多选,不需要使用键盘键。
这是默认的导航样式,允许用户简单地控制视图,除了进行多选,不需要使用键盘键。
</div>


<div class="mw-translate-fuzzy">
{{CAD Navigation
{{CAD Navigation
|Select_name=选择对象
|Select_name=选择对象
Line 30: Line 70:
|Shift={{KEY|Shift}}
|Shift={{KEY|Shift}}
|Select_text=在待选对象上点击鼠标左键。
|Select_text=在待选对象上点击鼠标左键。
</div>


<div class="mw-translate-fuzzy">
按住{{KEY|Ctrl}}键来选择多个对象。
|Pan_text=按住鼠标中键,并移动鼠标指针。
|Pan_mode_text=移动视图模式: 按住{{KEY|Ctrl}}键,按下鼠标右键一次,再移动鼠标指针。 {{Version|0.17}}
|Zoom_text=用鼠标滚轮来进行缩放。

单击鼠标中键,以光标在视图中的位置进行重新定位(re-center)。
单击鼠标中键,以光标在视图中的位置进行重新定位(re-center)。
|Zoom_mode_text=缩放视图模式: 按住{{KEY|Ctrl}}与{{KEY|Shift}}键, 并按下鼠标右键一次, 再移动鼠标指针。{{Version|0.17}}
|Zoom_mode_text=缩放视图模式: 按住{{KEY|Ctrl}}与{{KEY|Shift}}键, 并按下鼠标右键一次, 再移动鼠标指针。{{Version|0.17}}
|Rotate_view_text=按住鼠标中键,再按住鼠标左键,并移动鼠标指针。
|Rotate_view_text=按住鼠标中键,再按住鼠标左键,并移动鼠标指针。
</div>


<div class="mw-translate-fuzzy">
在按下鼠标中键时,指针所在位置确定了旋转中心。旋转操作如同令一个球绕其中心旋转。倘若开启了[[spinning]],那么,如果在鼠标停止移动之前松开了按键,则视图会继续旋转。
在按下鼠标中键时,指针所在位置确定了旋转中心。旋转操作如同令一个球绕其中心旋转。倘若开启了[[spinning]],那么,如果在鼠标停止移动之前松开了按键,则视图会继续旋转。
</div>


<div class="mw-translate-fuzzy">
双击鼠标中键将设置一个新的旋转中心。
双击鼠标中键将设置一个新的旋转中心。
|Rotate_view_mode_text=旋转视图模式: 按住{{KEY|Shift}}键,按下鼠标右键一次,再移动鼠标指针。{{Version|0.17}}
|Rotate_view_mode_text=旋转视图模式: 按住{{KEY|Shift}}键,按下鼠标右键一次,再移动鼠标指针。{{Version|0.17}}
|Rotate_view_alt_text=按住鼠标中键,再按住鼠标右键,并移动鼠标指针。
|Rotate_view_alt_text=按住鼠标中键,再按住鼠标右键,并移动鼠标指针。
</div>


若采用这种方法,则放开中键不放右键依然可以进行视图旋转。
若采用这种方法,则放开中键不放右键依然可以进行视图旋转。
Line 51: Line 93:
}}
}}


<span id="Gesture_navigation"></span>
===Inventor 导航===
<div class="mw-translate-fuzzy">
在[http://en.wikipedia.org/wiki/Open_Inventor Open Inventor](不要与Autodesk Inventor混淆)建模后的 Inventor 导航中,没有鼠标选择。为了选择对象,您必须按住{{KEY | CTRL}}键。
===手势导航(v0.16)===
</div>


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.
此模式并非基于Autodesk Inventor。


<div class="mw-translate-fuzzy">
{{OpenInventor Navigation
这种导航风格是针对触摸屏和笔的可用性量身定制的,但也可以与鼠标一起使用。
{{Gesture Navigation
|Select_name=选择对象
|Select_name=选择对象
|Pan_name=移动视图
|Pan_name=移动视图
|Zoom_name=缩放视图
|Zoom_name=缩放视图
|Rotate_view_name=旋转视图
|Rotate_view_name=旋转视图
|Tilt_view_name=倾斜视图
|Ctrl={{KEY|Ctrl}}
|Select_text=按住{{KEY|Ctrl}},在待选对象上点击鼠标左键。
|Select_text=在待选对象上点击鼠标左键。
|Select_gesture_text=通过点击来选择对象。
|Pan_text=按住鼠标中键,并移动鼠标指针。
|Pan_text=按住鼠标右键,再移动鼠标指针。
|Pan_gesture_text=用二指拖动视图。
</div>

或者点击并按住,再进行拖拽。这模拟的是用鼠标右键来移动视图。
|Zoom_text=用鼠标滚轮来进行缩放。
|Zoom_text=用鼠标滚轮来进行缩放。
|Zoom_gesture_text=二指合拢或张开拖动来进行缩放。

或者按住鼠标中键,再按下鼠标左键,最后移动鼠标指针。
|Rotate_view_text=按住鼠标左键,再移动鼠标指针。
|Rotate_view_text=按住鼠标左键,再移动鼠标指针。
在[[Sketcher Workbench|Sketcher]]和其他编辑模式下,禁用此动作:按住{{KEY|Alt}}键并按下鼠标左键进入旋转模式。
}}


为了设置用于旋转的摄像机焦点,在预定点单击鼠标中键。或者令光标对准预定点,并按下键盘上的{{KEY|H}}键。
=== Blender 导航 ===
|Rotate_view_gesture_text=单指拖动进行旋转。


在[[Sketcher Workbench|Sketcher]]中时,按住{{KEY|Alt}}键。
<div class="mw-translate-fuzzy">
|Tilt_view_text=按住鼠标左右两键,再向一侧移动鼠标指针。
在 Blender 导航中,以[http://www.blender.org Blender]为模型,没有单独的鼠标平移方式。为了平移视图,您必须按住{{KEY | SHIFT}}键。
|Tilt_view_gesture_text=旋转两指间的假想线段。
{{Blender Navigation
|Select_name=Select
|Pan_name=Pan
|Zoom_name=Zoom
|Rotate_view_name=Rotate view
|Shift={{KEY|Shift}}
|Select_text=Press the left mouse button over an object you want to select.
|Pan_text=Hold {{KEY|Shift}} and the middle mouse button, then move the pointer.


<div class="mw-translate-fuzzy">
Alternatively, hold both left and right mouse buttons, and then move the pointer.
在v0.18版中,此方法默认禁用。若要开启,请依次选择{{MenuCommand|Edit → Preferences → Display}},并反选"Disable touchscreen tilt gesture" 复选框。
|Zoom_text=Use the mouse wheel to zoom in and out.
|Rotate_view_text=Hold the middle mouse button, then move the pointer.
}}
}}
</div>
</div>


<span id="Maya-Gesture_navigation"></span>
Alternatively, hold both left and right mouse buttons, and then move the pointer.
<div class="mw-translate-fuzzy">
|Zoom_text=Use the mouse wheel to zoom in and out.
=== Maya 手势导航 ===
|Rotate_view_text=Hold the middle mouse button, then move the pointer.
</div>
}}


In Maya-Gesture Navigation, panning, zooming, and rotating the view require the {{KEY|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|Gesture navigation]] style.
=== 触摸板导航 ===


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
在Maya手势导航中,按{{KEY | ALT}}和鼠标按钮激活所有视图动作,以便为了正确使用此导航模式,需要一个3按钮鼠标。或者,可以使用手势,因为这种模式是通过正常的手势导航模式开发的。
在触摸板导航中,既不是平移,也不是缩放,也不是旋转视图,仅限于鼠标(或仅限触摸板)操作。
{{Touchpad Navigation
{{MayaGesture Navigation
|Select_name=Select
|Select_name=选择对象
|Pan_name=Pan
|Pan_name=移动视图
|Zoom_name=Zoom
|Zoom_name=缩放视图
|Rotate_view_name=Rotate view
|Rotate_view_name=旋转视图
|Shift={{KEY|Shift}}
|Ctrl={{KEY|Ctrl}}
|Alt={{KEY|Alt}}
|Alt={{KEY|Alt}}
|Select_text=在待选对象上点击鼠标左键。
|PageUp={{KEY|PageUp}}
|Pan_text=按住{{KEY|Alt}}与鼠标中键,再移动鼠标指针。
|PageDown={{KEY|PageDown}}
|Zoom_text=按下{{KEY|Alt}}与鼠标右键,再移动鼠标指针。
|Select_text=Press the left mouse button over an object you want to select.
|Pan_text=Hold {{KEY|Shift}}, then move the pointer.
|Zoom_text=Use {{KEY|PageUp}} and {{KEY|PageDown}} to zoom in and out.
|Zoom_alt_text=Alternatively, hold {{KEY|Shift}} and {{KEY|Ctrl}}, then move the pointer.
|Rotate_view_text=Hold {{KEY|Alt}}, then move the pointer.
|Rotate_view_alt_text=Alternatively, hold {{KEY|Shift}} and the left button, then move the pointer.
}}
</div>
</div>


或者用鼠标滚轮来进行缩放。
<div class="mw-translate-fuzzy">
|Rotate_view_text=按住{{KEY|Alt}}与鼠标左键,再移动鼠标指针。
===手势导航(v0.16)===
}}
</div>


=== OpenCascade navigation ===
<div class="mw-translate-fuzzy">
这种导航风格是针对触摸屏和笔的可用性量身定制的,但也可以与鼠标一起使用。
{{Gesture Navigation
|Select_name=Select
|Pan_name=Pan
|Zoom_name=Zoom
|Rotate_view_name=Rotate view
|Tilt_view_name=Tilt view
|Select_text=Press the left mouse button over an object you want to select.
|Select_gesture_text=Tap to select.
|Pan_text=Hold the right mouse button, then move the pointer.
|Pan_gesture_text=Drag with two fingers.


The OpenCascade navigation style was modeled after [https://www.opencascade.com/ OpenCascade].
Alternatively, tap and hold, then drag. This simulates the pan with the right mouse button.
|Zoom_text=Use the mouse wheel to zoom in and out.
|Zoom_gesture_text=Drag two fingers (pinch) closer or farther apart.
|Rotate_view_text=Hold the left mouse button, then move the pointer.
In [[Sketcher Workbench|Sketcher]] and other edit modes, this behavior is disabled. Hold {{KEY|Alt}} when pressing the mouse button to enter rotation mode.


{{OpenCascade Navigation
To set the camera's focus point for rotation, click a point with the middle mouse button. Alternatively, aim the cursor at a point and press {{KEY|H}} on the keyboard.
|Select_name=选择对象
|Rotate_view_gesture_text=Drag with one finger to rotate.
|Pan_name=移动视图
|Zoom_name=缩放视图
|Rotate_view_name=旋转视图
|Ctrl={{KEY|Ctrl}}
|Select_text=在待选对象上点击鼠标左键。
|Pan_text=按住鼠标中键,再移动鼠标指针。
|Zoom_text=用鼠标滚轮来进行缩放。


或者按住{{KEY|Ctrl}}与鼠标左键,再移动鼠标指针。
Hold {{KEY|Alt}} when in the [[Sketcher Workbench|Sketcher]].
|Rotate_view_text=按住{{KEY|Ctrl}}与鼠标右键,再移动鼠标指针。
|Tilt_view_text=Hold both left and right mouse buttons, and then move the pointer sideways.
}}
|Tilt_view_gesture_text=Rotate the imaginary line formed by two touch points.


=== OpenInventor navigation ===
On v0.18 this method is disabled by default. To enable, go to {{MenuCommand|Edit → Preferences → Display}}, and untick "Disable touchscreen tilt gesture" checkbox.

}}
<div class="mw-translate-fuzzy">
===Inventor 导航===
在[http://en.wikipedia.org/wiki/Open_Inventor Open Inventor](不要与Autodesk Inventor混淆)建模后的 Inventor 导航中,没有鼠标选择。为了选择对象,您必须按住{{KEY | CTRL}}键。
</div>
</div>


<div class="mw-translate-fuzzy">
Alternatively, tap and hold, then drag. This simulates the pan with the right mouse button.
此模式并非基于Autodesk Inventor。
|Zoom_text=Use the mouse wheel to zoom in and out.
</div>
|Zoom_gesture_text=Drag two fingers (pinch) closer or farther apart.
|Rotate_view_text=Hold the left mouse button, then move the pointer.
In [[Sketcher Workbench|Sketcher]] and other edit modes, this behavior is disabled. Hold {{KEY|Alt}} when pressing the mouse button to enter rotation mode.


<div class="mw-translate-fuzzy">
To set the camera's focus point for rotation, click a point with the middle mouse button. Alternatively, aim the cursor at a point and press {{KEY|H}} on the keyboard.
{{OpenInventor Navigation
|Rotate_view_gesture_text=Drag with one finger to rotate.
|Select_name=选择对象
|Pan_name=移动视图
|Zoom_name=缩放视图
|Rotate_view_name=旋转视图
|Ctrl={{KEY|Ctrl}}
|Select_text=按住{{KEY|Ctrl}},在待选对象上点击鼠标左键。
|Pan_text=按住鼠标中键,并移动鼠标指针。
|Zoom_text=用鼠标滚轮来进行缩放。
</div>


Hold {{KEY|Alt}} when in the [[Sketcher Workbench|Sketcher]].
Hold {{KEY|Ctrl}} instead to select multiple objects.
|Tilt_view_text=Hold both left and right mouse buttons, then move the pointer sideways.
|Pan_text=Hold the middle mouse button, then move the pointer.
|Zoom_text=Use the mouse wheel to zoom in and out.
|Tilt_view_gesture_text=Rotate the imaginary line formed by two touch points.


或者按住鼠标中键,再按下鼠标左键,最后移动鼠标指针。
On v0.18 this method is disabled by default. To enable, go to {{MenuCommand|Edit → Preferences → Display}}, and untick "Disable touchscreen tilt gesture" checkbox.
|Rotate_view_text=按住鼠标左键,再移动鼠标指针。
}}
}}


=== Maya 手势导航 ===
=== OpenSCAD navigation ===


The OpenSCAD navigation style was modeled after [https://openscad.org/ OpenSCAD].
<div class="mw-translate-fuzzy">

在Maya手势导航中,按{{KEY | ALT}}和鼠标按钮激活所有视图动作,以便为了正确使用此导航模式,需要一个3按钮鼠标。或者,可以使用手势,因为这种模式是通过正常的手势导航模式开发的。
{{Version|0.20}}
{{MayaGesture Navigation

{{OpenSCAD_Navigation
|Select_name=Select
|Select_name=Select
|Pan_name=Pan
|Pan_name=Pan
|Zoom_name=Zoom
|Zoom_name=Zoom
|Rotate_view_name=Rotate view
|Rotate_view_name=Rotate view
|Alt={{KEY|Alt}}
|Shift={{KEY|Shift}}
|Select_text=Press the left mouse button over an object you want to select.
|Select_text=Press the left mouse button over an object you want to select.
|Pan_text=Hold {{KEY|Alt}} and the middle mouse button, then move the pointer.
|Zoom_text=Hold {{KEY|Alt}} and the right mouse button, then move the pointer.


{{VersionMinus|0.21}} Hold {{KEY|Ctrl}} and {{KEY|Shift}} when pressing the mouse button to drag an object in a sketch in edit mode.
Alternatively, use the mouse wheel to zoom in and out.
|Rotate_view_text=Hold {{KEY|Alt}} and the left mouse button, then move the pointer.
|Pan_text=Hold the right mouse button, then move the pointer.
|Zoom_text=Hold the middle mouse button, then move the pointer.
}}
Alternatively, hold {{KEY|Shift}} and the right mouse button, then move the pointer.
</div>
|Rotate_view_text=Hold the left mouse button, then move the pointer.


Alternatively, use the mouse wheel to zoom in and out.
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.
|Rotate_view_text=Hold {{KEY|Alt}} and the left mouse button, then move the pointer.
}}
}}


<span id="Revit_navigation"></span>
<div class="mw-translate-fuzzy">
=== Revit 导航 ===
</div>


The Revit navigation style was modeled after [https://en.wikipedia.org/wiki/Autodesk_Revit Revit].
=== Revit Navigation ===

This style was introduced in version 0.18.


{{Revit Navigation
{{Revit Navigation
|Select_name=Select
|Select_name=选择对象
|Pan_name=Pan
|Pan_name=移动视图
|Zoom_name=Zoom
|Zoom_name=缩放视图
|Rotate_view_name=Rotate view
|Rotate_view_name=旋转视图
|Shift={{KEY|Shift}}
|Shift={{KEY|Shift}}
|Select_text=在待选对象上点击鼠标左键
|Select_text=Press the left mouse button over an object you want to select.
|Pan_text=按住鼠标中间,再移动鼠标指针。
|Pan_text=Hold the middle mouse button, then move the pointer.


或者按下鼠标左右两键,再移动鼠标指针。
Alternatively, hold both left and right mouse buttons, then move the pointer.


|Zoom_text=Use the mouse wheel to zoom in and out.
|Zoom_text=用鼠标滚轮来进行缩放。
|Rotate_view_text=Hold {{KEY|Shift}} and the middle mouse button, then move the pointer.
|Rotate_view_text=按住{{KEY|Shift}}与鼠标中键,再移动鼠标指针。


或者按住鼠标中键,再按住鼠标右键,最后移动指针。
Alternatively, hold the middle mouse button, then press and hold the right mouse button, then move the pointer.
}}
}}


=== OpenCascade ===
=== TinkerCAD navigation ===


The TinkerCAD navigation style was modeled after [https://en.wikipedia.org/wiki/Tinkercad TinkerCAD].
This style was introduced in version 0.18.


{{Version|0.20}}
{{OpenCascade Navigation

{{TinkerCAD Navigation
|Select_name=Select
|Select_name=Select
|Pan_name=Pan
|Pan_name=Pan
|Zoom_name=Zoom
|Zoom_name=Zoom
|Rotate_view_name=Rotate view
|Rotate_view_name=Rotate view
|Ctrl={{KEY|Ctrl}}
|Select_text=Press the left mouse button over an object you want to select.
|Select_text=Press the left mouse button over an object you want to select.
|Pan_text=Hold the middle mouse button, then move the pointer.
|Pan_text=Hold the middle mouse button, then move the pointer.
|Zoom_text=Use the mouse wheel to zoom in and out.
|Zoom_text=Use the mouse wheel to zoom in and out.
|Rotate_view_text=Press the right mouse button, then move the pointer.

Alternatively, hold {{KEY|Ctrl}} and the left mouse button, then move the pointer.
|Rotate_view_text=Hold {{KEY|Ctrl}} and the right mouse button, then move the pointer.
}}
}}


<span id="Touchpad_navigation"></span>
==选择对象==
<div class="mw-translate-fuzzy">

===简单选择===
=== 触摸板导航 ===
</div>
可以通过单击鼠标左键来选择对象,方法是单击3D视图中的对象或通过在树状视图中选择对象。


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.
===预选===
还有一个“预选”机制,通过将鼠标悬停在对象上,突出显示对象并在选择之前显示信息。如果您不喜欢这种行为,或者您的机器较慢,则可以在首选项中切换预选。

==操纵对象==
FreeCAD提供了可用于修改对象外观,形状或其他参数的句柄[[Manipulator/zh-cn|“操纵器”]]。


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
在触摸板导航中,既不是平移,也不是缩放,也不是旋转视图,仅限于鼠标(或仅限触摸板)操作。
[[Std ClippingPlane/zh-cn|剪切平面]]是具有操纵器的对象的示例。可以使用“查看→剪切平面”菜单激活[[Std ClippingPlane/zh-cn|剪切平面]]
{{Touchpad Navigation
|Select_name=选择对象
|Pan_name=移动视图
|Zoom_name=缩放视图
|Rotate_view_name=旋转视图
|Shift={{KEY|Shift}}
|Ctrl={{KEY|Ctrl}}
|Alt={{KEY|Alt}}
|PageUp={{KEY|PageUp}}
|PageDown={{KEY|PageDown}}
|Select_text=在待选对象上点击鼠标左键。
|Pan_text=按住{{KEY|Shift}}键,再移动指针。
|Zoom_text=用{{KEY|PageUp}}与{{KEY|PageDown}}键来进行缩放。
|Zoom_alt_text=或者按住{{KEY|Shift}}与{{KEY|Ctrl}}键,再移动指针。
|Rotate_view_text=按住{{KEY|Alt}}键,再移动指针。
|Rotate_view_alt_text=或者按住{{KEY|Shift}}与鼠标左键,再移动指针。
}}
</div>
</div>


<span id="Hardware_support"></span>
== 硬件支持 ==
== 硬件支持 ==


<div class="mw-translate-fuzzy">
FreeCAD 同样支持一些 [[3D input devices/zh-cn|3D 输入设备]].
FreeCAD 同样支持一些 [[3D input devices/zh-cn|3D 输入设备]].
</div>


<span id="Recommended_navigation_for_macOS"></span>
<div class="mw-translate-fuzzy">
== Mac OS X 问题 ==
== Mac OS X 问题 ==
</div>

最近我们从[http://forum.freecadweb.org/viewtopic.php?f=3&t=3592&start=0 论坛]的Mac用户那里得到报告,那些鼠标按键和按键组合不能像预期的那样工作。不幸的是,没有一个开发者拥有Mac,也不是其他的常规贡献者。我们需要您的帮助来确定哪些鼠标按键和按键组合起作用,以便我们可以更新此维基。


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
最近我们从[http://forum.freecadweb.org/viewtopic.php?f=3&t=3592&start=0 论坛]的Mac用户那里得到报告,那些鼠标按键和按键组合不能像预期的那样工作。不幸的是,没有一个开发者拥有Mac,也不是其他的常规贡献者。我们需要您的帮助来确定哪些鼠标按键和按键组合起作用,以便我们可以更新此维基。
{{docnav|Getting started/zh-cn|Document structure/zh-cn}}
</div>
</div>


== Developing a custom navigation ==
{{Userdocnavi}}

The tutorial [[Adding_a_new_mouse_navigation_option_to_FreeCAD|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.


{{docnav|Getting started/zh-cn|Document structure/zh-cn}}


{{Userdocnavi{{#translation:}}}}
[[Category:User Documentation/zh-cn]]

Latest revision as of 13:46, 24 March 2024

Overview

FreeCAD的 '鼠标模式 由用于在3D空间视觉导航并与显示对象进行交互的命令组成。 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年发生了改变,现在,您可以同时按住鼠标左右两键来移动视图。

选择对象 移动视图 缩放视图 旋转视图
Shift+
在待选对象上点击鼠标左键。 按住Shift键与鼠标中键,再移动鼠标指针。

或者按住鼠标左右两键,再移动鼠标指针。

用鼠标滚轮来进行缩放。 按住鼠标中键,再移动鼠标指针。

CAD navigation

CAD导航(默认)

这是默认的导航样式,允许用户简单地控制视图,除了进行多选,不需要使用键盘键。

选择对象 移动视图 缩放视图 旋转视图
第一种方法
旋转视图
另一种方法
在待选对象上点击鼠标左键。

单击鼠标中键,以光标在视图中的位置进行重新定位(re-center)。

{{{Pan_text}}} {{{Zoom_text}}} 按住鼠标中键,再按住鼠标左键,并移动鼠标指针。

在按下鼠标中键时,指针所在位置确定了旋转中心。旋转操作如同令一个球绕其中心旋转。倘若开启了spinning,那么,如果在鼠标停止移动之前松开了按键,则视图会继续旋转。

双击鼠标中键将设置一个新的旋转中心。

按住鼠标中键,再按住鼠标右键,并移动鼠标指针。

若采用这种方法,则放开中键不放右键依然可以进行视图旋转。

若用户惯用右手,便会发现此法较第一种方法更易使用。

Ctrl+ Ctrl+Shift+ Shift+
{{{Pan_mode_text}}} 缩放视图模式: 按住CtrlShift键, 并按下鼠标右键一次, 再移动鼠标指针。introduced in version 0.17 旋转视图模式: 按住Shift键,按下鼠标右键一次,再移动鼠标指针。introduced in version 0.17

手势导航(v0.16)

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.

这种导航风格是针对触摸屏和笔的可用性量身定制的,但也可以与鼠标一起使用。

选择对象 移动视图 缩放视图 旋转视图 倾斜视图
在待选对象上点击鼠标左键。 按住鼠标右键,再移动鼠标指针。 用鼠标滚轮来进行缩放。 按住鼠标左键,再移动鼠标指针。

Sketcher和其他编辑模式下,禁用此动作:按住Alt键并按下鼠标左键进入旋转模式。

为了设置用于旋转的摄像机焦点,在预定点单击鼠标中键。或者令光标对准预定点,并按下键盘上的H键。

按住鼠标左右两键,再向一侧移动鼠标指针。
通过点击来选择对象。 用二指拖动视图。

或者点击并按住,再进行拖拽。这模拟的是用鼠标右键来移动视图。

二指合拢或张开拖动来进行缩放。 单指拖动进行旋转。

Sketcher中时,按住Alt键。

旋转两指间的假想线段。

在v0.18版中,此方法默认禁用。若要开启,请依次选择Edit → Preferences → Display,并反选"Disable touchscreen tilt gesture" 复选框。

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 navigation

The OpenCascade navigation style was modeled after OpenCascade.

选择对象 移动视图 缩放视图 旋转视图
Ctrl+ Ctrl+ Ctrl+


在待选对象上点击鼠标左键。 按住鼠标中键,再移动鼠标指针。 用鼠标滚轮来进行缩放。

或者按住Ctrl与鼠标左键,再移动鼠标指针。

按住Ctrl与鼠标右键,再移动鼠标指针。

OpenInventor navigation

Inventor 导航

Open Inventor(不要与Autodesk Inventor混淆)建模后的 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.

选择对象 移动视图 缩放视图 旋转视图
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,也不是其他的常规贡献者。我们需要您的帮助来确定哪些鼠标按键和按键组合起作用,以便我们可以更新此维基。

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.


Getting started/zh-cn
Document structure/zh-cn