Sketcher CreateEllipseByCenter: Difference between revisions

From FreeCAD Documentation
No edit summary
(V0.22 -> V1.0)
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Page_in_progress}}
<translate>
<translate>


Line 20: Line 19:
|Shortcut={{KEY|G}} {{KEY|E}} {{KEY|E}}
|Shortcut={{KEY|G}} {{KEY|E}} {{KEY|E}}
|Version=0.15
|Version=0.15
|SeeAlso=[[Sketcher_CreateEllipseBy3Points|Sketcher Ellipse by 3 Points]], [[Sketcher_CreateCircle|Sketcher Circle]], [[Sketcher_CreateArcOfEllipse|Sketcher Arc of Ellipse]]
|SeeAlso=[[Sketcher_CreateArcOfEllipse|Sketcher CreateArcOfEllipse]]
}}
}}


Line 26: Line 25:


<!--T:7-->
<!--T:7-->
The [[Image:Sketcher_CreateEllipseByCenter.svg|24px]] [[Sketcher_CreateEllipseByCenter|Sketcher CreateEllipseByCenter]] tool creates an ellipse by its center, an endpoint of its major axis, and a point along the ellipse or an endpoint of its minor axis. {{Version|0.22}}: Or optionally by the endpoints of its major axis and a point along the ellipse.
The [[Image:Sketcher_CreateEllipseByCenter.svg|24px]] [[Sketcher_CreateEllipseByCenter|Sketcher CreateEllipseByCenter]] tool creates an ellipse by its center, an endpoint of one of its axes, and a point along the ellipse. {{Version|1.0}}: Or optionally by both endpoints of one of its axes and a point along the ellipse.

</translate>
[[Image:Sketcher_CreateEllipseByCenter_Example.png]]
<translate>
<!--T:16-->
{{Caption|Ellipse (white) with internal geometry (dark yellow)}}


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


<!--T:17-->
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].


<!--T:18-->
Pos-OVP = Positional [[Sketcher_Preferences#General|On-View-Parameters]]. {{Version|0.22}}<br>
Dim-OVP = Dimensional On-View-Parameters. {{Version|0.22}}
Pos-OVP = Positional [[Sketcher_Preferences#General|On-View-Parameters]]. {{Version|1.0}}<br>
Dim-OVP = Dimensional On-View-Parameters. {{Version|1.0}}


<!--T:8-->
<!--T:8-->
# There are several ways to invoke the tool:
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:Sketcher_CreateEllipseByCenter.svg|16px]] [[Sketcher_CreateEllipseByCenter|Ellipse by center, major radius, point]]}} button.
#* Press the {{Button|[[Image:Sketcher_CreateEllipseByCenter.svg|16px]] [[Sketcher_CreateEllipseByCenter|Ellipse by center, radius, rim point]]}} button.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CreateEllipseByCenter.svg|16px]] Create Ellipse by center}} option from the menu.
#* Select the {{MenuCommand|Sketcher → Sketcher geometries → [[Image:Sketcher_CreateEllipseByCenter.svg|16px]] Create ellipse by center}} option from the menu.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|E}}, then {{KEY|E}}.
#* Use the keyboard shortcut: {{KEY|G}} then {{KEY|E}}, then {{KEY|E}}.
# The cursor changes to a white cross with the current tool mode icon.
# The cursor changes to a cross with the current tool mode icon.
# The '''Ellipse parameters''' section ({{Version|0.22}}) is added at the top of the [[Sketcher_Dialog|Sketcher Dialog]].
# The '''Ellipse parameters''' section ({{Version|1.0}}) is added at the top of the [[Sketcher_Dialog|Sketcher Dialog]].
# Optionally press the {{KEY|M}} key or select from the dropdown list in the parameters section to change the tool mode:
# Optionally press the {{KEY|M}} key or select from the dropdown list in the parameters section to change the tool mode:
#* [[Image:Sketcher_CreateEllipseByCenter.svg|16px]] '''Center''':
#* [[Image:Sketcher_CreateEllipseByCenter.svg|16px]] '''Center''':
#*# Pick the center of the ellipse. Or with Pos-OVP: enter its X and/or Y coordinate.
#*# Pick the center of the ellipse. Or with Pos-OVP: enter its X and/or Y coordinate.
#*# Pick an endpoint of the major axis. Or with Dim-OVP: enter the distance from the center to this endpoint and/or the angle of the major axis.
#*# Pick an endpoint of one of the axes of the ellipse, this also defines one of its radii. Or with Dim-OVP: enter this radius and/or the angle of this axis.
#*# Pick a point to define the radii of the ellipse. Or with Dim-OVP: enter the distance from the center to an endpoint of its minor axis.
#*# Pick a point to define the other radius of the ellipse. Or with Dim-OVP: enter this radius.
#* [[Image:Sketcher_CreateEllipseBy3Points.svg|16px]] '''Axis endpoints and radius''': {{Version|0.22}}
#* [[Image:Sketcher_CreateEllipseBy3Points.svg|16px]] '''Axis endpoints''': {{Version|1.0}}
#*# Pick the endpoints of the major axis of the ellipse. Or with Pos-OVP: enter their X and/or Y coordinates. No constraints are created for these points.
#*# Pick the endpoints of one of the axes of the ellipse, this also defines one of its radii. Or with Pos-OVP: enter their X and/or Y coordinates. No constraints are created for these points.
#*# Pick a point to define the radii of the ellipse. Or with Pos-OVP: enter its X and/or Y coordinate. No constraint is created for this point.
#*# Pick a point to define the other radius of the ellipse. Or with Pos-OVP: enter its X and/or Y coordinate. No constraint is created for this point.
# The geometry is created, including a set of internal alignment geometry elements (major axis, minor axis and two foci), and applicable Pos-OVP and Dim-OVP based constraints are added.
# The ellipse is created, including a set of internal geometry (major axis, minor axis and two foci), and applicable Pos-OVP and Dim-OVP based constraints are added.
# If the tool runs in [[Sketcher_Workbench#Continue_modes|continue mode]]:
# Optionally deleted the internal geometry. It can be recreated at any time with [[Sketcher_RestoreInternalAlignmentGeometry|Sketcher RestoreInternalAlignmentGeometry]].
## Optionally keep creating ellipses.
## To finish, right-click or press {{KEY|Esc}}, or start another geometry or constraint creation tool.


==Peculiarities== <!--T:15-->
==Notes== <!--T:19-->


<!--T:6-->
<!--T:6-->
* Elements of the internal geometry can be deleted. They can be recreated at any time with [[Sketcher_RestoreInternalAlignmentGeometry|Sketcher RestoreInternalAlignmentGeometry]].
* Major and minor axes of ellipses are strict and cannot be swapped by resizing the ellipse. This is a consequence of the solver parametrization used (center (x,y), focus1 (x,y) and minor radius length (b)) and the same strict behavior of OpenCascade. The ellipse must be rotated to swap the axes.
* Once created, the major and minor axes of an ellipse are strict and cannot be swapped by resizing. This is a consequence of the solver parametrization and the same strict behavior of [[OpenCASCADE|OpenCASCADE]]. An ellipse must be rotated to swap its axes.
* Ellipse can function as a circle when its major and minor diameter lines are deleted, and one of the foci is constrained to coincide with the center. But radius constraint won't work on such a circle.
* Moving the ellipse by edge is the same as moving ellipse's center.





Latest revision as of 09:57, 21 April 2024

Sketcher CreateEllipseByCenter

Menu location
Sketch → Sketcher geometries → Create ellipse by center
Workbenches
Sketcher
Default shortcut
G E E
Introduced in version
0.15
See also
Sketcher CreateArcOfEllipse

Description

The Sketcher CreateEllipseByCenter tool creates an ellipse by its center, an endpoint of one of its axes, and a point along the ellipse. introduced in version 1.0: Or optionally by both endpoints of one of its axes and a point along the ellipse.

Ellipse (white) with internal geometry (dark yellow)

Usage

See also: Drawing aids.

Pos-OVP = Positional On-View-Parameters. introduced in version 1.0
Dim-OVP = Dimensional On-View-Parameters. introduced in version 1.0

  1. There are several ways to invoke the tool:
    • Press the Ellipse by center, radius, rim point button.
    • Select the Sketcher → Sketcher geometries → Create ellipse by center option from the menu.
    • Use the keyboard shortcut: G then E, then E.
  2. The cursor changes to a cross with the current tool mode icon.
  3. The Ellipse parameters section (introduced in version 1.0) is added at the top of the Sketcher Dialog.
  4. Optionally press the M key or select from the dropdown list in the parameters section to change the tool mode:
    • Center:
      1. Pick the center of the ellipse. Or with Pos-OVP: enter its X and/or Y coordinate.
      2. Pick an endpoint of one of the axes of the ellipse, this also defines one of its radii. Or with Dim-OVP: enter this radius and/or the angle of this axis.
      3. Pick a point to define the other radius of the ellipse. Or with Dim-OVP: enter this radius.
    • Axis endpoints: introduced in version 1.0
      1. Pick the endpoints of one of the axes of the ellipse, this also defines one of its radii. Or with Pos-OVP: enter their X and/or Y coordinates. No constraints are created for these points.
      2. Pick a point to define the other radius of the ellipse. Or with Pos-OVP: enter its X and/or Y coordinate. No constraint is created for this point.
  5. The ellipse is created, including a set of internal geometry (major axis, minor axis and two foci), and applicable Pos-OVP and Dim-OVP based constraints are added.
  6. If the tool runs in continue mode:
    1. Optionally keep creating ellipses.
    2. To finish, right-click or press Esc, or start another geometry or constraint creation tool.

Notes

  • Elements of the internal geometry can be deleted. They can be recreated at any time with Sketcher RestoreInternalAlignmentGeometry.
  • Once created, the major and minor axes of an ellipse are strict and cannot be swapped by resizing. This is a consequence of the solver parametrization and the same strict behavior of OpenCASCADE. An ellipse must be rotated to swap its axes.