Sketcher RestoreInternalAlignmentGeometry/hr: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav
|[[Sketcher_SelectElementsAssociatedWithConstraints|Select Elements Associated with constraints]]
|[[Sketcher_SelectElementsAssociatedWithConstraints|Select Elements Associated with constraints]]
Line 13: Line 14:
|MenuLocation=Sketch → Sketcher tools → Show/hide internal geometry
|MenuLocation=Sketch → Sketcher tools → Show/hide internal geometry
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut=Ctrl+Shift+E
|Shortcut={{KEY|Ctrl}}+{{KEY|Shift}}+{{KEY|E}}
|SeeAlso=[[Sketcher_CreateEllipseByCenter|Sketcher Ellipse]], [[Sketcher_ConstrainInternalAlignment|Sketcher Internal Alignment Constraint]]
|SeeAlso=[[Sketcher_CreateEllipseByCenter|Sketcher Ellipse]], [[Sketcher_ConstrainInternalAlignment|Sketcher Internal Alignment Constraint]]
}}
}}
Line 34: Line 35:
# Now, constrain the major diameter of the ellipse to some length. Select the ellipse and invoke the {{Button|[[File:Sketcher_RestoreInternalAlignmentGeometry.svg|16px]] [[Sketcher_RestoreInternalAlignmentGeometry|Show/Hide internal geometry]]}} command.
# Now, constrain the major diameter of the ellipse to some length. Select the ellipse and invoke the {{Button|[[File:Sketcher_RestoreInternalAlignmentGeometry.svg|16px]] [[Sketcher_RestoreInternalAlignmentGeometry|Show/Hide internal geometry]]}} 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.
'''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.



{{Docnav
{{Docnav
Line 46: Line 48:
{{Sketcher Tools navi{{#translation:}}}}
{{Sketcher Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 17:11, 14 September 2021

Sketcher RestoreInternalAlignmentGeometry

Menu location
Sketch → Sketcher tools → Show/hide internal geometry
Workbenches
Sketcher
Default shortcut
Ctrl+Shift+E
Introduced in version
-
See also
Sketcher Ellipse, Sketcher 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 Show/Hide internal geometry or choose Sketch → Sketcher tools → 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 Show/Hide internal geometry command. The diameter is restored.
  4. Now, constrain the major diameter of the ellipse to some length. Select the ellipse and invoke the Show/Hide internal geometry 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.