Sketcher RestoreInternalAlignmentGeometry: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
No edit summary
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
<!--T:12-->
{{Docnav
|[[Sketcher_SelectElementsAssociatedWithConstraints|Select Elements Associated with constraints]]
|[[Sketcher_Symmetry|Symmetry]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_SelectElementsAssociatedWithConstraints.svg
|IconR=Sketcher_Symmetry.svg‎
|IconC=Workbench_Sketcher.svg
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{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]]}}
|Name=Sketcher RestoreInternalAlignmentGeometry
|MenuLocation=Sketch → Sketcher tools → Show/hide internal geometry
|Workbenches=[[Sketcher_Workbench|Sketcher]]
|Shortcut=Ctrl+Shift+E
|SeeAlso=[[Sketcher_CreateEllipseByCenter|Sketcher Ellipse]], [[Sketcher_ConstrainInternalAlignment|Sketcher Internal Alignment Constraint]]
}}


==Description== <!--T:2-->
==Description== <!--T:2-->
Line 10: 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).
* 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 {{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.
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 20: Line 35:


<!--T:10-->
<!--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.
# 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.


<!--T:5-->
<!--T:13-->
{{Docnav
Select minor diameter line and hit {{KEY|Del}}. The diameter is gone, but the ellipse remains. How do we get the diameter back?
|[[Sketcher_SelectElementsAssociatedWithConstraints|Select Elements Associated with constraints]]
|[[Sketcher_Symmetry|Symmetry]]
|[[Sketcher_Workbench|Sketcher]]
|IconL=Sketcher_SelectElementsAssociatedWithConstraints.svg
|IconR=Sketcher_Symmetry.svg‎
|IconC=Workbench_Sketcher.svg
}}


<!--T:6-->
Select the ellipse and invoke the Sketcher_RestoreInternalAlignmentGeometry command. The diameter is restored.

<!--T:7-->
Now, constrain the major diameter of the ellipse to some length. Select the ellipse and invoke the Sketcher_RestoreInternalAlignmentGeometry command. 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.

</translate>
<translate>
<!--T:11-->
[[Category:Sketcher]]
</translate>
</translate>
{{Sketcher Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}

Revision as of 20:29, 2 December 2020

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.