Sketcher CreateEllipseByCenter/zh-cn: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Docnav|[[Sketcher_CompCreateConic|Create a conic]]|[[Sketcher CreateEllipseBy3Points|Ellipse by 3 points]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher_Conics.png|IconC=Workbench_Sketcher.svg|IconR=Sketcher_CreateEllipse_3points.png}}


<div class="mw-translate-fuzzy">
{{GuiCommand
{{Docnav/zh-cn
|Name=Sketcher Create Ellipse by center
|[[Sketcher_CompCreateConic/zh-cn|创建圆锥形]]
|Icon=Sketcher_CreateEllipse.png
|[[Sketcher_CreateEllipseBy3Points/zh-cn|通过三点创建椭圆]]
|Workbenches=[[Sketcher Workbench|Sketcher]]
|[[Sketcher_Workbench/zh-cn|Sketcher]]
|MenuLocation=Sketch → Sketcher geometriesCreate ellipse by center
|IconL=Sketcher_Conics.png
|IconR=Sketcher_CreateEllipseBy3Points.svg
|IconC=Workbench_Sketcher.svg
}}
</div>

<div class="mw-translate-fuzzy">
{{GuiCommand/zh-cn
|Name=通过中心创建椭圆
|MenuLocation=Sketch → 草图几何体通过中心创建椭圆
|Workbenches=[[Sketcher_Workbench/zh-cn|Sketcher]]
|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_CreateEllipseBy3Points/zh-cn|通过三点创建椭圆]], [[Sketcher_CreateCircle/zh-cn|创建圆]], [[Sketcher_CreateArcOfEllipse/zh-cn|创建椭圆弧]]
}}
}}
</div>


<span id="Description"></span>
==描述==
==描述==


<div class="mw-translate-fuzzy">
本工具会根据用户拾取的三个点:中点、长半轴点与短半轴点来绘制一个椭圆。
本工具会根据用户拾取的三个点:中点、长半轴点与短半轴点来绘制一个椭圆。
在开启此工具时,鼠标指针会变为一个附有红色椭圆图标的白色十字。同时还会将当前的指针坐标实时显现在侧。
在开启此工具时,鼠标指针会变为一个附有红色椭圆图标的白色十字。同时还会将当前的指针坐标实时显现在侧。
</div>


[[Image:Sketcher_CreateEllipseByCenter_Example.png]]
[[Image:Sketcher_EllipseExample1.png‎|thumb|none|500px|绘制椭圆所选中的一系列点以带数字的黄色箭头表示。C为中点,a - 长轴,b - 短轴,F1、F2为焦点。]]
{{Caption|Ellipse (white) with internal geometry (dark yellow)}}


<span id="Usage"></span>
<div class="mw-translate-fuzzy">
==如何使用==
==如何使用==
</div>


See also: [[Sketcher_Workbench#Drawing_aids|Drawing aids]].
* Invoke the command by clicking a toolbar button, picking the menu item, or by using keyboard shortcut (needs to be assigned first in [[Interface Customization]]).
* First click in 3D view sets ellipse center. Second click sets the first radius and orientation of the ellipse. Third click sets the other radius (the distance from the line defined by first two clicks is the second radius).
* After the third click, the ellipse is created, together with a set of construction geometry aligned to it (major diameter, minor diameter, two foci). The construction geometry can be manually deleted if not needed, and recreated later. See [[Sketcher ConstrainInternalAlignment|Internal Alignment Constraint]] and [[Sketcher RestoreInternalAlignmentGeometry|Sketcher Show Hide Internal Geometry]].
* Pressing {{KEY|ESC}} or clicking the right mouse button cancels the function.


Pos-OVP = Positional [[Sketcher_Preferences#General|On-View-Parameters]]. {{Version|0.22}}<br>
==Peculiarities==
Dim-OVP = Dimensional On-View-Parameters. {{Version|0.22}}
* 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.
* 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.


<div class="mw-translate-fuzzy">
{{Docnav|[[Sketcher_CompCreateConic|Create a conic]]|[[Sketcher CreateEllipseBy3Points|Ellipse by 3 points]]|[[Sketcher_Workbench|Sketcher]]|IconL=Sketcher_Conics.png|IconC=Workbench_Sketcher.svg|IconR=Sketcher_CreateEllipse_3points.png}}
* 通过点击工具按钮,选择对应菜单项或借助键盘快捷键(首先需要在[[Interface Customization]]中为之分配快捷键)来调用对应绘制椭圆命令。
* 在3D视图中第一次点击所设置的是椭圆的中心。第二次点击所设置的是椭圆的第一个半径及其方向。第三次点击所设置的是另一种半径(前两次点击所定义的直线至第三次点击位置的距离即为第二个半径)。
* 第三次点击后,椭圆就创建好了,与之共存的还有一系列对齐于它的构造几何对象(长轴、短轴、两个焦点)如果不需要这些构造几何对象,可将其手动删除,以后还可以重新创建。参见[[Sketcher RestoreInternalAlignmentGeometry|在草图工作台中显示隐藏的内部几何图形]]。
* 按{{KEY|ESC}}键或单击鼠标右键来退出此功能。
</div>


==Notes==
{{Sketcher Tools navi}}

<div class="mw-translate-fuzzy">
==特性==
* 长轴与短轴是严格界定的,调整椭圆时并不能交换两者。这是求解器参数化椭圆时所用的信息(中点(x,y)、焦点focus1(x,y)以及短半轴长度(b)),OpenCascade也严格遵循相同的行为。因此,必须通过旋转的方式来交换椭圆的两轴。
* 当椭圆的长轴与短轴被删,且焦点之一被约束为与中点重合,则该椭圆将变为一个圆。但是此圆中的半径约束却无法生效。
* 通过拖动边来移动椭圆与移动椭圆的中点效果相同。
</div>


<div class="mw-translate-fuzzy">
{{Docnav/zh-cn
|[[Sketcher_CompCreateConic/zh-cn|创建圆锥形]]
|[[Sketcher_CreateEllipseBy3Points/zh-cn|通过三点创建椭圆]]
|[[Sketcher_Workbench/zh-cn|Sketcher]]
|IconL=Sketcher_Conics.png
|IconR=Sketcher_CreateEllipseBy3Points.svg
|IconC=Workbench_Sketcher.svg
}}
</div>


{{Sketcher Tools navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}

Revision as of 09:07, 13 April 2024

通过中心创建椭圆

菜单位置
Sketch → 草图几何体 → 通过中心创建椭圆
所属工作台
Sketcher
默认快捷键
G E E
版本介紹
0.15
参阅
通过三点创建椭圆, 创建圆, 创建椭圆弧

描述

本工具会根据用户拾取的三个点:中点、长半轴点与短半轴点来绘制一个椭圆。 在开启此工具时,鼠标指针会变为一个附有红色椭圆图标的白色十字。同时还会将当前的指针坐标实时显现在侧。

Ellipse (white) with internal geometry (dark yellow)

如何使用

See also: Drawing aids.

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

  • 通过点击工具按钮,选择对应菜单项或借助键盘快捷键(首先需要在Interface Customization中为之分配快捷键)来调用对应绘制椭圆命令。
  • 在3D视图中第一次点击所设置的是椭圆的中心。第二次点击所设置的是椭圆的第一个半径及其方向。第三次点击所设置的是另一种半径(前两次点击所定义的直线至第三次点击位置的距离即为第二个半径)。
  • 第三次点击后,椭圆就创建好了,与之共存的还有一系列对齐于它的构造几何对象(长轴、短轴、两个焦点)如果不需要这些构造几何对象,可将其手动删除,以后还可以重新创建。参见在草图工作台中显示隐藏的内部几何图形
  • ESC键或单击鼠标右键来退出此功能。

Notes

特性

  • 长轴与短轴是严格界定的,调整椭圆时并不能交换两者。这是求解器参数化椭圆时所用的信息(中点(x,y)、焦点focus1(x,y)以及短半轴长度(b)),OpenCascade也严格遵循相同的行为。因此,必须通过旋转的方式来交换椭圆的两轴。
  • 当椭圆的长轴与短轴被删,且焦点之一被约束为与中点重合,则该椭圆将变为一个圆。但是此圆中的半径约束却无法生效。
  • 通过拖动边来移动椭圆与移动椭圆的中点效果相同。