Difference between revisions of "Template:CAD Navigation"

From FreeCAD Documentation
Jump to navigation Jump to search
(Created page with '{|border=1 !align=center width="25%"|Select !align=center width="25%"|Pan !align=center width="25%"|Zoom !align=center width="25%"|Rotate View |- align=center |[[Image:Select-mou…')
 
m ([[ | ]])
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{|border=1
+
{| class="mousemodel" style="border-style:solid; border-width:1px; border-color:#aaaaaa; padding:1px; border-spacing:18px 0px; width:100%;"
!align=center width="25%"|Select
+
! style="width:20%; background: #ededff; padding:2px 2px;" | {{{Select_name}}}
!align=center width="25%"|Pan
+
! style="width:20%; background: #ededff; padding:2px 2px;" | {{{Pan_name}}}
!align=center width="25%"|Zoom
+
! style="width:20%; background: #ededff; padding:2px 2px;" | {{{Zoom_name}}}
!align=center width="25%"|Rotate View
+
! style="width:20%; background: #ededff; padding:2px 2px;" | {{{Rotate_view_name}}}
|- align=center
+
! style="width:20%; background: #ededff; padding:2px 2px;" | {{{Rotate_view_alt_name}}}
|[[Image:Select-mouse.svg|Alt=Mouse with left button clicked | to Select ]]
+
 
|[[Image:Pan-mouse.svg  |Alt=Mouse with middle  button (scroll wheel) clicked | to Pan]]
+
|- style="text-align:center;"
|[[Image:Zoom-mouse.svg |Alt=Mouse with scroll wheel rolling up or down | to Zoom in or out]]
+
|[[Image:Hand_cursor.png]]
|[[Image:Rotate-mouse.svg|Alt=Mouse with middle button (scroll wheel) clicked first and held, and the left button clicked second. | to Rotate view]]
+
|[[Image:Pan_cursor.png]]
|- valign=top
+
|[[Image:Zoom_cursor.png]]
|Press the left mouse button over an object you want to select. Holding down ctrl allows the selection of multiple objects.
+
|[[Image:Rotate_cursor.png]]
|Click the middle mouse button and move the object around to pan
+
|[[Image:Rotate_cursor.png]]
|Use the mouse wheel to zoom in and out.
+
 
|Click first with the middle mouse button, hold it and the click the left mouse button on any visible part of an object and drag it in the desired direction. This works like spinning a ball that rotates around its center. If you release the buttons before you stop your motion, the object continues [[spinning]], if this is enabled. A double click with the middle mouse button on any part of an object sets the new center of rotation and zooms in on this point.
+
|- style="text-align:center;"
 +
|[[Image:Mouse_LMB.svg]]
 +
|[[Image:Mouse_MMB_hold.svg]]
 +
|[[Image:Mouse_MMB_rotate.svg]]
 +
|[[Image:Mouse_MMB+LMB_hold.svg]]
 +
|[[Image:Mouse_MMB+RMB_hold.svg]]
 +
 
 +
|- style="vertical-align:top; background:#efefef;"
 +
|{{{Select_text}}}
 +
|{{{Pan_text}}}
 +
|{{{Zoom_text}}}
 +
|{{{Rotate_view_text}}}
 +
|{{{Rotate_view_alt_text}}}
 +
 
 +
|- style="text-align:center;"
 +
|
 +
|{{{Ctrl}}}+[[File:Mouse_RMB.svg]]
 +
|{{{Ctrl}}}+{{{Shift}}}+[[File:Mouse_RMB.svg]]
 +
|{{{Shift}}}+[[File:Mouse_RMB.svg]]
 +
|
 +
 
 +
|- style="vertical-align:top;"
 +
|
 +
|style="background:#efffef;" | {{{Pan_mode_text}}}
 +
|style="background:#efffef;" | {{{Zoom_mode_text}}}
 +
|style="background:#efffef;" | {{{Rotate_view_mode_text}}}
 +
|
 
|}
 
|}
 +
<noinclude>
 +
 +
----
 +
 +
This template creates the table that shows the CAD navigation style.
 +
 +
The text has to be given in the specific fields. In this way the template can be translated into different languages.
 +
 +
Example:
 +
 +
<nowiki>
 +
{{CAD Navigation
 +
|Select_name=Select
 +
|Pan_name=Pan
 +
|Zoom_name=Zoom
 +
|Rotate_view_name=Rotate view<br>First method
 +
|Rotate_view_alt_name=Rotate view<br>Alternate method
 +
|Ctrl={{KEY|Ctrl}}
 +
|Shift={{KEY|Shift}}
 +
|Select_text=Press the left mouse button over an object you want to select.
 +
 +
Holding down {{KEY|Ctrl}} allows the selection of multiple objects.
 +
|Pan_text=Hold the middle mouse button, then move the pointer.
 +
|Pan_mode_text=Pan mode: hold the {{KEY|Ctrl}} key, press the right mouse button once, then move the pointer. {{Version|0.17}}
 +
|Zoom_text=Use the mouse wheel to zoom in and out.
 +
 +
Clicking the middle mouse button re-centers the view on the location of the cursor.
 +
|Zoom_mode_text=Zoom mode: hold the {{KEY|Ctrl}} and {{KEY|Shift}} keys, press the right mouse button once, then move the pointer. {{Version|0.17}}
 +
|Rotate_view_text=Hold the middle mouse button, then press and hold the left mouse button, then move the pointer.
 +
 +
The cursor location when the middle mouse button is pressed determines the center of rotation. Rotation works like spinning a ball which rotates around its center. If the buttons are released before you stop the mouse motion, the view continues [[spinning|spinning]], if this is enabled.
 +
 +
A double click with the middle mouse button sets a new center of rotation.
 +
|Rotate_view_mode_text=Rotate mode: hold the {{KEY|Shift}} key, press the right mouse button once, then move the pointer. {{Version|0.17}}
 +
|Rotate_view_alt_text=Hold the middle mouse button, then press and hold the right mouse button, then move the pointer.
 +
 +
With this method the middle mouse button may be released after the right mouse button is held pressed.
 +
 +
Users who use the mouse with their right hand may find this method easier than the first method.
 +
}}</nowiki>
 +
 +
Result:
 +
 +
{{CAD Navigation
 +
|Select_name=Select
 +
|Pan_name=Pan
 +
|Zoom_name=Zoom
 +
|Rotate_view_name=Rotate view<br>First method
 +
|Rotate_view_alt_name=Rotate view<br>Alternate method
 +
|Ctrl={{KEY|Ctrl}}
 +
|Shift={{KEY|Shift}}
 +
|Select_text=Press the left mouse button over an object you want to select.
 +
 +
Holding down {{KEY|Ctrl}} allows the selection of multiple objects.
 +
|Pan_text=Hold the middle mouse button, then move the pointer.
 +
|Pan_mode_text=Pan mode: hold the {{KEY|Ctrl}} key, press the right mouse button once, then move the pointer. {{Version|0.17}}
 +
|Zoom_text=Use the mouse wheel to zoom in and out.
 +
 +
Clicking the middle mouse button re-centers the view on the location of the cursor.
 +
|Zoom_mode_text=Zoom mode: hold the {{KEY|Ctrl}} and {{KEY|Shift}} keys, press the right mouse button once, then move the pointer. {{Version|0.17}}
 +
|Rotate_view_text=Hold the middle mouse button, then press and hold the left mouse button, then move the pointer.
 +
 +
The cursor location when the middle mouse button is pressed determines the center of rotation. Rotation works like spinning a ball which rotates around its center. If the buttons are released before you stop the mouse motion, the view continues [[spinning|spinning]], if this is enabled.
 +
 +
A double click with the middle mouse button sets a new center of rotation.
 +
|Rotate_view_mode_text=Rotate mode: hold the {{KEY|Shift}} key, press the right mouse button once, then move the pointer. {{Version|0.17}}
 +
|Rotate_view_alt_text=Hold the middle mouse button, then press and hold the right mouse button, then move the pointer.
 +
 +
With this method the middle mouse button may be released after the right mouse button is held pressed.
 +
 +
Users who use the mouse with their right hand may find this method easier than the first method.
 +
}}
 +
 +
[[Category:Template:Text Long]]
 +
</noinclude>

Latest revision as of 10:02, 4 November 2019

{{{Select_name}}} {{{Pan_name}}} {{{Zoom_name}}} {{{Rotate_view_name}}} {{{Rotate_view_alt_name}}}
Hand cursor.png Pan cursor.png Zoom cursor.png Rotate cursor.png Rotate cursor.png
Mouse LMB.svg Mouse MMB hold.svg Mouse MMB rotate.svg Mouse MMB+LMB hold.svg Mouse MMB+RMB hold.svg
{{{Select_text}}} {{{Pan_text}}} {{{Zoom_text}}} {{{Rotate_view_text}}} {{{Rotate_view_alt_text}}}
{{{Ctrl}}}+Mouse RMB.svg {{{Ctrl}}}+{{{Shift}}}+Mouse RMB.svg {{{Shift}}}+Mouse RMB.svg
{{{Pan_mode_text}}} {{{Zoom_mode_text}}} {{{Rotate_view_mode_text}}}



This template creates the table that shows the CAD navigation style.

The text has to be given in the specific fields. In this way the template can be translated into different languages.

Example:

{{CAD Navigation
|Select_name=Select
|Pan_name=Pan
|Zoom_name=Zoom
|Rotate_view_name=Rotate view<br>First method
|Rotate_view_alt_name=Rotate view<br>Alternate method
|Ctrl={{KEY|Ctrl}}
|Shift={{KEY|Shift}}
|Select_text=Press the left mouse button over an object you want to select.

Holding down {{KEY|Ctrl}} allows the selection of multiple objects.
|Pan_text=Hold the middle mouse button, then move the pointer.
|Pan_mode_text=Pan mode: hold the {{KEY|Ctrl}} key, press the right mouse button once, then move the pointer. {{Version|0.17}}
|Zoom_text=Use the mouse wheel to zoom in and out.

Clicking the middle mouse button re-centers the view on the location of the cursor.
|Zoom_mode_text=Zoom mode: hold the {{KEY|Ctrl}} and {{KEY|Shift}} keys, press the right mouse button once, then move the pointer. {{Version|0.17}}
|Rotate_view_text=Hold the middle mouse button, then press and hold the left mouse button, then move the pointer.

The cursor location when the middle mouse button is pressed determines the center of rotation. Rotation works like spinning a ball which rotates around its center. If the buttons are released before you stop the mouse motion, the view continues [[spinning|spinning]], if this is enabled.

A double click with the middle mouse button sets a new center of rotation.
|Rotate_view_mode_text=Rotate mode: hold the {{KEY|Shift}} key, press the right mouse button once, then move the pointer. {{Version|0.17}}
|Rotate_view_alt_text=Hold the middle mouse button, then press and hold the right mouse button, then move the pointer.

With this method the middle mouse button may be released after the right mouse button is held pressed.

Users who use the mouse with their right hand may find this method easier than the first method.
}}

Result:

Select Pan Zoom Rotate view
First method
Rotate view
Alternate method
Hand cursor.png Pan cursor.png Zoom cursor.png Rotate cursor.png Rotate cursor.png
Mouse LMB.svg Mouse MMB hold.svg Mouse MMB rotate.svg Mouse MMB+LMB hold.svg Mouse MMB+RMB hold.svg
Press the left mouse button over an object you want to select.

Holding down Ctrl allows the selection of multiple objects.

Hold the middle mouse button, then move the pointer. Use the mouse wheel to zoom in and out.

Clicking the middle mouse button re-centers the view on the location of the cursor.

Hold the middle mouse button, then press and hold the left mouse button, then move the pointer.

The cursor location when the middle mouse button is pressed determines the center of rotation. Rotation works like spinning a ball which rotates around its center. If the buttons are released before you stop the mouse motion, the view continues spinning, if this is enabled.

A double click with the middle mouse button sets a new center of rotation.

Hold the middle mouse button, then press and hold the right mouse button, then move the pointer.

With this method the middle mouse button may be released after the right mouse button is held pressed.

Users who use the mouse with their right hand may find this method easier than the first method.

Ctrl+Mouse RMB.svg Ctrl+Shift+Mouse RMB.svg Shift+Mouse RMB.svg
Pan mode: hold the Ctrl key, press the right mouse button once, then move the pointer. introduced in version 0.17 Zoom mode: hold the Ctrl and Shift keys, press the right mouse button once, then move the pointer. introduced in version 0.17 Rotate mode: hold the Shift key, press the right mouse button once, then move the pointer. introduced in version 0.17