Sketcher ToggleConstruction: Difference between revisions

From FreeCAD Documentation
(→‎Preselected geometric elements: launch option added)
No edit summary
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>


Line 18: Line 19:
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut={{KEY|G}} {{KEY|N}}
|Shortcut={{KEY|G}} {{KEY|N}}
|SeeAlso=
|SeeAlso=[[Sketcher_ToggleDrivingConstraint|Sketcher ToggleDrivingConstraint]]
}}
}}


Line 24: Line 25:


<!--T:8-->
<!--T:8-->
The [[Image:Sketcher_ToggleConstruction.svg|16px]] [[Sketcher_ToggleConstruction|Sketcher ToggleConstruction]] command either toggles all sketcher geometry tools to/from construction mode or toggles selected regular geometric elements to/from construction geometry elements.
The [[Image:Sketcher_ToggleConstruction.svg|16px]] [[Sketcher_ToggleConstruction|Sketcher ToggleConstruction]] tool either toggles the geometry creation tools to/from construction mode, or toggles selected geometry to/from construction geometry.


<!--T:3-->
<!--T:3-->
Construction geometry edges are marked with a dedicated [[Sketcher_Preferences#Appearance|color]] (default blue) and ({{Version|0.22}}) linetype. Construction geometry is not visible outside the sketch, it is intended to help define constraints and other geometry inside the sketch itself. Construction lines can however be used as a rotation axis by [[PartDesign_Revolution|PartDesign Revolution]].
Construction geometry is an important tool of the sketcher. When using a sketch for a 3D operation, construction geometry is ignored.

<!--T:4-->
In [[Image:Sketcher_EditSketch.svg|16px]] [[Sketcher_EditSketch|Edit]] mode, construction geometry is shown as blue, and won't turn green when a sketch is fully constrained. Once you [[File:Sketcher_LeaveSketch.svg|16px]] [[Sketcher_LeaveSketch|Leave sketch]], construction geometry is hidden in the [[3D_view|3D view]].

<!--T:5-->
Construction lines can be used as rotation axis by the {{Button|[[File:PartDesign_Revolution.svg|16px]] [[PartDesign_Revolution|PartDesign Revolution]]}} feature.


</translate>
</translate>
Line 41: Line 36:
==Usage== <!--T:6-->
==Usage== <!--T:6-->


===Toggle tools===
<!--T:9-->
===Empty selection===


# Make sure there is no selection.
Without having anything selected in the [[3D_view|3D view]]:
# There are several ways to invoke the tool:

# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Sketcher_ToggleConstruction.svg|16px]] [[Sketcher_ToggleConstruction|Toggle construction geometry]]}} button.
#* Press the {{Button|[[Image:Sketcher_ToggleConstruction.svg|16px]] [[Sketcher_ToggleConstruction|Toggle construction geometry]]}} button.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_ToggleConstruction.svg|16px]] Toggle construction geometry}} option from the menu.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_ToggleConstruction.svg|16px]] Toggle construction geometry}} option from the menu.
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_ToggleConstruction.svg|16px]] Toggle construction geometry}} option from the context menu.
#* Right-click in the [[3D_view|3D view]] and select the {{MenuCommand|[[Image:Sketcher_ToggleConstruction.svg|16px]] Toggle construction geometry}} option from the context menu.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|N}}.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|N}}.
# This toggles the creation mode for new geometric elements:
# The mode of the geometry creation tools is toggled:
#* In normal mode the color of the tool icons for creating geometric elements is white.
#* In normal mode their menu and toolbar icons are white, and they create regular geometry (default color white).
#* In construction mode their menu and toolbar icons are blue, and they create construction geometry (default color blue).
#*: Newly created geometric elements are created as regular geometry in white.
#* In construction mode the color of the tool icons for creating geometric elements is blue.
#*: Newly created geometric elements are created as blue construction geometry.


===Toggle geometry===
===Preselected geometric elements===

With one or more geometric elements selected in the [[3D_view|3D view]]:


# Select one or more elements in the sketch.
# Invoke the tool as described above, or with the following additional option:
# Invoke the tool as described above, or with the following additional option:
#* Right-click in the {{MenuCommand|Elements}} section of the [[Task_panel|Task panel]] and select the {{MenuCommand|Toggle construction geometry}} option from the context menu.
#* Right-click in the {{MenuCommand|Elements}} section of the [[Task_panel|Task panel]] and select the {{MenuCommand|Toggle construction geometry}} option from the context menu.
# This toggles the selected regular geometric elements to construction elements or vice versa.
# The selected elements are changed from normal geometry to construction geometry or vice versa. Their appearance changes accordingly.
#: It does not toggle the creation mode.
# The mode of the geometry creation tools is not changed.


== Notes == <!--T:16-->
== Notes == <!--T:16-->


<!--T:17-->
<!--T:17-->
* [[Sketcher_CreatePoint|Points]] are always created as construction geometry. If required they can be changed to normal geometry after creation.
* {{Button|[[File:Sketcher_CreatePoint.svg|16px]] [[Sketcher_CreatePoint|Create point]]}} will always create points in construction mode regardless of the toolbar toggle state, select the desired points in the [[3D_view|3D view]] after creation and click {{Button|[[File:Sketcher_ToggleConstruction.svg|16px]] [[Sketcher_ToggleConstruction|Toggle construction geometry]]}} to change them to normal geometry.






Revision as of 17:39, 23 March 2024

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Sketcher ToggleConstruction

Menu location
Sketch → Sketcher geometries → Toggle construction geometry
Workbenches
Sketcher
Default shortcut
G N
Introduced in version
-
See also
None

Description

The Sketcher ToggleConstruction tool either toggles the geometry creation tools to/from construction mode, or toggles selected geometry to/from construction geometry.

Construction geometry edges are marked with a dedicated color (default blue) and (introduced in version 0.22) linetype. Construction geometry is not visible outside the sketch, it is intended to help define constraints and other geometry inside the sketch itself. Construction lines can however be used as a rotation axis by PartDesign Revolution.

Usage

Toggle tools

  1. Make sure there is no selection.
  2. There are several ways to invoke the tool:
    • Press the Toggle construction geometry button.
    • Select the Sketcher → Sketcher geometries → Toggle construction geometry option from the menu.
    • Right-click in the 3D view and select the Toggle construction geometry option from the context menu.
    • Use the keyboard shortcut: G then N.
  3. The mode of the geometry creation tools is toggled:
    • In normal mode their menu and toolbar icons are white, and they create regular geometry (default color white).
    • In construction mode their menu and toolbar icons are blue, and they create construction geometry (default color blue).

Toggle geometry

  1. Select one or more elements in the sketch.
  2. Invoke the tool as described above, or with the following additional option:
    • Right-click in the Elements section of the Task panel and select the Toggle construction geometry option from the context menu.
  3. The selected elements are changed from normal geometry to construction geometry or vice versa. Their appearance changes accordingly.
  4. The mode of the geometry creation tools is not changed.

Notes

  • Points are always created as construction geometry. If required they can be changed to normal geometry after creation.