Sketcher RestoreInternalAlignmentGeometry: Difference between revisions

From FreeCAD Documentation
(icon added)
(several ways added)
Line 29: Line 29:


<!--T:9-->
<!--T:9-->
* Select a sketch element that supports internal alignment ([[Sketcher_CreateEllipseByCenter|Ellipse]], [[Sketcher_CreateArcOfEllipse|Arc of ellipse]], [[Sketcher_CreateArcOfHyperbola|Arc of hyperbola]], [[Sketcher_CreateArcOfParabola|Arc of parabola]] or [[Sketcher_CreateBSpline|B-spline]]).
# Select a sketch element that supports internal alignment ([[Sketcher_CreateEllipseByCenter|Ellipse]], [[Sketcher_CreateArcOfEllipse|Arc of ellipse]], [[Sketcher_CreateArcOfHyperbola|Arc of hyperbola]], [[Sketcher_CreateArcOfParabola|Arc of parabola]] or [[Sketcher_CreateBSpline|B-spline]]).
# There are several ways to invoke the command:
* Invoke the command by clicking {{Button|[[File:Sketcher_RestoreInternalAlignmentGeometry.svg|16px]] [[Sketcher_RestoreInternalAlignmentGeometry|Show/hide internal geometry]]}} or choose {{MenuCommand|Sketch → Sketcher tools → [[File:Sketcher_RestoreInternalAlignmentGeometry.svg|16px]] Show/hide internal geometry}} or using the keyboard shortcut.
#* Press the {{Button|[[Image:Sketcher_RestoreInternalAlignmentGeometry.svg|16px]] [[Sketcher_RestoreInternalAlignmentGeometry|Show/hide internal geometry]]}} button.
#* Select the {{MenuCommand|Sketch → Sketcher tools → [[Image:Sketcher_RestoreInternalAlignmentGeometry.svg|16px]] Show/hide internal geometry}} option from the menu.
#* Use the keyboard shortcut: {{KEY|Z}} then {{KEY|I}}.
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).



Revision as of 18:45, 2 March 2024

Sketcher RestoreInternalAlignmentGeometry

Menu location
Sketch → Sketcher tools → Show/hide internal geometry
Workbenches
Sketcher
Default shortcut
Z I
Introduced in version
-
See also
None

Description

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

Usage

  1. Select a sketch element that supports internal alignment (Ellipse, Arc of ellipse, Arc of hyperbola, Arc of parabola or B-spline).
  2. There are several ways to invoke the command:
    • Press the Show/hide internal geometry button.
    • Select the Sketch → Sketcher tools → Show/hide internal geometry option from the menu.
    • Use the keyboard shortcut: Z then I.

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.