Sketcher ToggleConstruction: Difference between revisions

From FreeCAD Documentation
(Reverted the previous Docnav edit. The Scripting_Sketcher_constraints_in_Python page should not be included.)
No edit summary
 
(29 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>

<!--T:13-->
<!--T:13-->
{{Docnav
{{Docnav
|[[Sketcher_CarbonCopy|CarbonCopy]]
|[[Sketcher_CarbonCopy|Carbon copy]]
|[[Sketcher_ConstrainCoincident|Coincident]]
|[[Sketcher_ConstrainCoincidentUnified|Coincident (unified)]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CarbonCopy.svg
|IconL=Sketcher_CarbonCopy.svg
|IconR=Sketcher_ConstrainCoincidentUnified.svg
|IconR=Constraint_PointOnPoint.png
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}
Line 16: Line 18:
|MenuLocation=Sketch → Sketcher geometries → Toggle construction geometry
|MenuLocation=Sketch → Sketcher geometries → Toggle construction geometry
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut={{KEY|G}} {{KEY|N}}
|SeeAlso=
}}
}}


Line 21: Line 25:


<!--T:8-->
<!--T:8-->
This tool toggles sketch geometry from/to construction mode. It can be used on any type of geometry: line, arc or circle.
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 {{Button|[[File:Sketcher_EditSketch.svg|16px]] [[Sketcher_EditSketch|Edit sketch]]}}, construction geometry is shown as blue, and won't turn green when a sketch is fully constrained. Once you {{Button|[[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 38: Line 36:
==Usage== <!--T:6-->
==Usage== <!--T:6-->


===Toggle tools===
<!--T:9-->
# Select one or more sketch geometry in the [[3D_view|3D view]]
# Invoke the Sketcher ToggleConstruction tool using several ways:
#* Clicking on the {{Button|[[File:Sketcher_ToggleConstruction.svg|16px]] [[Sketcher_ToggleConstruction|Toggle construction]]}}.
#* Using the {{MenuCommand|Sketch → Sketcher geometries → [[File:Sketcher_ToggleConstruction.svg|16px]] Toggle construction geometry}} entry in the Sketcher menu


# Make sure there is no selection.
==Example== <!--T:10-->
# There are several ways to invoke the tool:
#* 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.
#* 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}}.
# 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===
<!--T:7-->
Use Construction mode on some sketch elements,


# Select one or more elements in the sketch.
</translate>
# Invoke the tool as described above, or with the following additional option:
[[File:Sketcher_ConstructionMode_fr_01.png|450px]]
#* 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.
<translate>
# The selected elements are changed from normal geometry to construction geometry or vice versa. Their appearance changes accordingly.
# The mode of the geometry creation tools is not changed.


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

and once you {{Button|[[File:Sketcher_LeaveSketch.svg|16px]] [[Sketcher_LeaveSketch|leave the sketcher editing mode]]}}, geometry that was turned into construction have become invisible in the [[3D_view|3D view]] (but are still present in the Sketcher editing mode).
<!--T:17-->
* [[Sketcher_CreatePoint|Points]] are always created as construction geometry. If required they can be changed to normal geometry after creation.


</translate>
[[File:Sketcher_ConstructionMode_fr_02.png|450px]]
<translate>




<!--T:11-->
<!--T:11-->
{{Docnav
{{Docnav
|[[Sketcher_CarbonCopy|CarbonCopy]]
|[[Sketcher_CarbonCopy|Carbon copy]]
|[[Sketcher_ConstrainCoincident|Coincident]]
|[[Sketcher_ConstrainCoincidentUnified|Coincident (unified)]]
|[[Sketcher_Workbench|Sketcher]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_CarbonCopy.svg
|IconL=Sketcher_CarbonCopy.svg
|IconR=Sketcher_ConstrainCoincidentUnified.svg
|IconR=Constraint_PointOnPoint.png
|IconC=Workbench_Sketcher.svg
|IconC=Workbench_Sketcher.svg
}}
}}


</translate>
</translate>
{{Sketcher Tools navi{{#translation:}}}}
{{Sketcher_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest 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.