Difference between revisions of "Sketcher RestoreInternalAlignmentGeometry"

From FreeCAD Documentation
Jump to: navigation, search
m (Added Templates)
m (Changed section to 'Usage')
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<translate>
 
<translate>
 
<!--T:12-->
 
<!--T:12-->
{{Docnav|[[Sketcher SelectElementsAssociatedWithConstraints|Select Elements Associated with constraints]]|[[Sketcher Symmetry|Symmetry]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher SelectElementsAssociatedWithConstraints.png‎|IconC=Workbench_Sketcher.svg|IconR=Sketcher Symmetry.png‎}}
+
{{Docnav
 +
|[[Sketcher SelectElementsAssociatedWithConstraints|Select Elements Associated with constraints]]
 +
|[[Sketcher Symmetry|Symmetry]]
 +
|[[Sketcher_Workbench|Sketcher]]
 +
|IconL=Sketcher_SelectElementsAssociatedWithConstraints.svg
 +
|IconC=Workbench_Sketcher.svg
 +
|IconR=Sketcher_Symmetry.svg‎
 +
}}
  
 
<!--T:1-->
 
<!--T:1-->
{{GuiCommand|Name=Sketcher RestoreInternalAlignmentGeometry|Workbenches=[[Sketcher Workbench|Sketcher]]|MenuLocation=Sketch → Sketcher tools → Show/hide internal geometry|Shortcut=Ctrl+Shift+E|SeeAlso=[[Sketcher CreateEllipseByCenter|Ellipse]], [[Sketcher ConstrainInternalAlignment|Internal Alignment Constraint]]}}
+
{{GuiCommand
 +
|Name=Sketcher RestoreInternalAlignmentGeometry
 +
|Workbenches=[[Sketcher Workbench|Sketcher]]
 +
|MenuLocation=Sketch → Sketcher tools → Show/hide internal geometry
 +
|Shortcut=Ctrl+Shift+E
 +
|SeeAlso=[[Sketcher CreateEllipseByCenter|Ellipse]], [[Sketcher ConstrainInternalAlignment|Internal Alignment Constraint]]
 +
}}
  
 
==Description== <!--T:2-->
 
==Description== <!--T:2-->
Line 12: Line 25:
 
The command deletes unused elements aligned to internal geometry, or recreates the missing ones.  
 
The command deletes unused elements aligned to internal geometry, or recreates the missing ones.  
  
==How to use== <!--T:3-->
+
==Usage== <!--T:3-->
  
 
<!--T:9-->
 
<!--T:9-->
 
* Select an element of a sketch that supports internal alignment (currently only Ellipse/Arc and B-spline).
 
* Select an element of a sketch that supports internal alignment (currently only Ellipse/Arc and B-spline).
* Invoke the command by clicking a toolbar button, picking the menu item or using the keyboard shortcut.
+
* Invoke the command by clicking [[Image:Sketcher_RestoreInternalAlignmentGeometry.png|24px]] or choose {{KEY| Sketch}}  →  {{KEY| Sketcher tools}}  → {{KEY|[[Image:Sketcher_RestoreInternalAlignmentGeometry.png|24px]] Show/Hide Internal Geometry}} or using the keyboard shortcut.
 
If there are free alignment places for the selected element, new construction geometry is created and aligned to the available places. If all alignment places are occupied, the unused internal geometry is deleted (the element is treated as unused if it is not constrained to anything else).
 
If there are free alignment places for the selected element, new construction geometry is created and aligned to the available places. If all alignment places are occupied, the unused internal geometry is deleted (the element is treated as unused if it is not constrained to anything else).
  
Line 30: Line 43:
  
 
<!--T:13-->
 
<!--T:13-->
{{Docnav|[[Sketcher SelectElementsAssociatedWithConstraints|Select Elements Associated with constraints]]|[[Sketcher Symmetry|Symmetry]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher SelectElementsAssociatedWithConstraints.png‎|IconC=Workbench_Sketcher.svg|IconR=Sketcher Symmetry.png‎}}
+
{{Docnav
 +
|[[Sketcher SelectElementsAssociatedWithConstraints|Select Elements Associated with constraints]]
 +
|[[Sketcher Symmetry|Symmetry]]
 +
|[[Sketcher_Workbench|Sketcher]]
 +
|IconL=Sketcher_SelectElementsAssociatedWithConstraints.svg
 +
|IconC=Workbench_Sketcher.svg
 +
|IconR=Sketcher_Symmetry.svg‎
 +
}}
  
 
<!--T:14-->
 
<!--T:14-->

Latest revision as of 04:07, 31 January 2020

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎hrvatski • ‎italiano • ‎română • ‎русский

Sketcher RestoreInternalAlignmentGeometry.png Sketcher RestoreInternalAlignmentGeometry

Menu location
Sketch → Sketcher tools → Show/hide internal geometry
Workbenches
Sketcher
Default shortcut
Ctrl+Shift+E
Introduced in version
-
See also
Ellipse, Internal Alignment Constraint


Description

The command deletes unused elements aligned to internal geometry, or recreates the missing ones.

Usage

  • Select an element of a sketch that supports internal alignment (currently only Ellipse/Arc and B-spline).
  • Invoke the command by clicking Sketcher RestoreInternalAlignmentGeometry.png or choose Sketch Sketcher toolsSketcher RestoreInternalAlignmentGeometry.png Show/Hide Internal Geometry or using the keyboard shortcut.

If there are free alignment places for the selected element, new construction geometry is created and aligned to the available places. If all alignment places are occupied, the unused internal geometry is deleted (the element is treated as unused if it is not constrained to anything else).

Example

  1. Create a new ellipse. New ellipses are always fully-packed. You'll see an ellipse and a bunch of construction geometry: major diameter, minor diameter, foci.
  2. Select minor diameter line and hit Del. The diameter is gone, but the ellipse remains. How do we get the diameter back?
  3. Select the ellipse and invoke the Sketcher RestoreInternalAlignmentGeometry.png command. The diameter is restored.
  4. Now, constrain the major diameter of the ellipse to some length. Select the ellipse and invoke the Sketcher RestoreInternalAlignmentGeometry.png command.

Result: Minor diameter and foci are deleted, but the major diameter is kept, because it participates in other constraints. Ellipse's center remains too, because it is inherent, like center of a circle.