Draft ToggleGrid/en: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 14: Line 14:
|Workbenches=[[Draft_Workbench|Draft]], [[Arch_Workbench|Arch]]
|Workbenches=[[Draft_Workbench|Draft]], [[Arch_Workbench|Arch]]
|Shortcut={{KEY|G}} {{KEY|R}}
|Shortcut={{KEY|G}} {{KEY|R}}
|SeeAlso=[[Draft_Snap|Draft Snap]], [[Draft_Snap_Grid|Draft Snap Grid]], [[Draft_SelectPlane|Draft SelectPlane]]
|SeeAlso=[[Draft_Snap_Grid|Draft Snap Grid]], [[Draft_SelectPlane|Draft SelectPlane]]
}}
}}


==Description==
==Description==


The [[Image:Draft_ToggleGrid.svg|24px]] '''Draft ToggleGrid''' command switches the grid on or off. The grid can only be used if the {{MenuCommand|Use grid}} preference is selected. See [[#Preferences|Preferences]].
The [[Image:Draft_ToggleGrid.svg|24px]] '''Draft ToggleGrid''' command changes the visibility of the grid.


{{Version|0.22}}: Each [[3D_view|3D view]] has its own grid that can either always be visible, only be visible during commands, or invisible. The initial visibility of the grid in new views depends on the [[#Preferences|preferences]].
==Usage==


==Usage==
For general information about snapping see [[Draft_Snap|Draft Snap]].


# The command can be used while another command is active.
# Optionally change the [[Draft_SelectPlane|working plane and/or the grid]].
# To invoke '''Draft ToggleGrid''' do one of the following:
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Draft_ToggleGrid.svg|16px]]}} button in the Draft snap toolbar.
#* Press the {{Button|[[Image:Draft_ToggleGrid.svg|16px]] [[Draft_ToggleGrid|Toggle grid]]}} button in the Draft snap toolbar.
#* Press the {{Button|[[Image:Draft_ToggleGrid.svg|16px]]}} button in the [[Draft_snap_widget|Draft snap widget]].
#* Press the {{Button|[[Image:Draft_ToggleGrid.svg|16px]] [[Draft_ToggleGrid|Toggle grid]]}} button in the [[Draft_snap_widget|Draft snap widget]].
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|R}}. This shortcut cannot be used when a command is active.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|R}}. This shortcut cannot be used if another command is active.
# The visibility of the grid belonging to the current 3D view has changed:
#* If the grid was invisible and no other command is active, it is now always visible.
#* If the grid was invisible and another command is active, it is now only visible during commands.
#* If the grid was visible it is now invisible.


==Preferences==
==Preferences==


See [[Draft_Snap#Preferences|Draft Snap]].
See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft Preferences]].


* To use the grid select: {{MenuCommand|Edit → Preferences... → Draft → Grid and snapping → Grid → Use grid}}. After changing this preference you must restart FreeCAD.
* Several grid preferences are available: {{MenuCommand|Edit → Preferences... → Draft → Grid and snapping → Grid}}.
* Several other grid preferences are also available: {{MenuCommand|Edit → Preferences... → Draft → Grid and snapping → Grid}}.





Revision as of 14:19, 12 November 2023

Draft ToggleGrid

Menu location
None
Workbenches
Draft, Arch
Default shortcut
G R
Introduced in version
-
See also
Draft Snap Grid, Draft SelectPlane

Description

The Draft ToggleGrid command changes the visibility of the grid.

introduced in version 0.22: Each 3D view has its own grid that can either always be visible, only be visible during commands, or invisible. The initial visibility of the grid in new views depends on the preferences.

Usage

  1. The command can be used while another command is active.
  2. There are several ways to invoke the command:
    • Press the Toggle grid button in the Draft snap toolbar.
    • Press the Toggle grid button in the Draft snap widget.
    • Use the keyboard shortcut: G then R. This shortcut cannot be used if another command is active.
  3. The visibility of the grid belonging to the current 3D view has changed:
    • If the grid was invisible and no other command is active, it is now always visible.
    • If the grid was invisible and another command is active, it is now only visible during commands.
    • If the grid was visible it is now invisible.

Preferences

See also: Preferences Editor and Draft Preferences.

  • Several grid preferences are available: Edit → Preferences... → Draft → Grid and snapping → Grid.