Sketcher RestoreInternalAlignmentGeometry: Difference between revisions

From FreeCAD Documentation
(several ways added)
(WIP)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>


Line 24: Line 25:


<!--T:8-->
<!--T:8-->
The [[Image:Sketcher_RestoreInternalAlignmentGeometry.svg|24px]] [[Sketcher_RestoreInternalAlignmentGeometry|Sketcher RestoreInternalAlignmentGeometry]] command deletes unused elements aligned to internal geometry, or recreates the missing ones.
The [[Image:Sketcher_RestoreInternalAlignmentGeometry.svg|24px]] [[Sketcher_RestoreInternalAlignmentGeometry|Sketcher RestoreInternalAlignmentGeometry]] tool deletes the internal geometry of objects, or recreates missing internal geometry. The tool does not deletes internal geometry elements that have associated constraints.


==Usage== <!--T:3-->
==Usage== <!--T:3-->


<!--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 one or more sketch elements that supports internal geometry ([[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:
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_RestoreInternalAlignmentGeometry.svg|16px]] [[Sketcher_RestoreInternalAlignmentGeometry|Show/hide internal geometry]]}} button.
#* 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.
#* 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}}.
#* Use the keyboard shortcut: {{KEY|Z}} then {{KEY|I}}.
#* Internal geometry elements are deleted for selected elements with a complete set of internal geometry, else missing internal geometry elements are recreated.
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== <!--T:4-->

<!--T:10-->
# 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.
# Select minor diameter line and hit {{KEY|Del}}. The diameter is gone, but the ellipse remains. How do we get the diameter back?
# Select the ellipse and invoke the {{Button|[[File:Sketcher_RestoreInternalAlignmentGeometry.svg|16px]] [[Sketcher_RestoreInternalAlignmentGeometry|Show/hide internal geometry]]}} command. The diameter is restored.
# 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.





Revision as of 15:05, 28 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 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 tool deletes the internal geometry of objects, or recreates missing internal geometry. The tool does not deletes internal geometry elements that have associated constraints.

Usage

  1. Select one or more sketch elements that supports internal geometry (ellipse, arc of ellipse, arc of hyperbola, arc of parabola or B-spline).
  2. There are several ways to invoke the tool:
    • 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.
    • Internal geometry elements are deleted for selected elements with a complete set of internal geometry, else missing internal geometry elements are recreated.