Draft Arc 3Points/zh-cn: Difference between revisions
(Created page with "==选项==") |
(Updating to match new version of source page) |
||
(27 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{UnfinishedDocu}} |
|||
{{Docnav|[[Draft_Circle|Circle]]|[[Draft_Ellipse|Ellipse]]|[[Draft_Module|Draft]]|IconL=Draft_Circle.svg |IconC=Workbench_Draft.svg|IconR=Draft_Ellipse.svg }} |
|||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav/zh-cn |
|||
|[[Draft_Circle/zh-cn|底图圆形]] |
|||
|[[Draft_Arc_3Points/zh-cn|底图绘弧]] |
|||
|[[Draft_Workbench/zh-cn|底图模块]] |
|||
|IconL=Draft_Circle.svg |
|||
|IconC=Workbench_Draft.svg |
|||
|IconR=Draft_Arc_3Points.svg |
|||
}} |
|||
</div> |
|||
{{GuiCommand |
{{GuiCommand |
||
|Name=Draft Arc 3Points |
|Name=Draft Arc 3Points |
||
|MenuLocation= |
|MenuLocation=Drafting → Arc tools → Arc by 3 points |
||
|Workbenches=[[ |
|Workbenches=[[Draft_Workbench|Draft]], [[Arch_Workbench|Arch]] |
||
|Shortcut={{KEY|A}} {{KEY|T}} |
|Shortcut={{KEY|A}} {{KEY|T}} |
||
|SeeAlso=[[Draft Circle|Draft Circle]], [[Draft Ellipse]] |
|||
|Version=0.19 |
|Version=0.19 |
||
|SeeAlso=[[Draft_Arc|Draft Arc]], [[Draft_Circle|Draft Circle]] |
|||
}} |
}} |
||
<span id="Description"></span> |
|||
==描述== |
==描述== |
||
<div class="mw-translate-fuzzy"> |
|||
[[Draft Arc 3Points|底图三圆周点绘弧]]工具通过输入4个点:中点、半径、第一个点、最后一点,或拾取的切线,或上述若干组合,在当前的[[Draft SelectPlane|工作平面]]上创建一条圆弧。它将根据[[Draft Tray]]中的[[Draft Linestyle]]设置来创建对应圆弧。 |
[[Draft Arc 3Points|底图三圆周点绘弧]]工具通过输入4个点:中点、半径、第一个点、最后一点,或拾取的切线,或上述若干组合,在当前的[[Draft SelectPlane|工作平面]]上创建一条圆弧。它将根据[[Draft Tray]]中的[[Draft Linestyle]]设置来创建对应圆弧。 |
||
</div> |
|||
A Draft Arc is in fact a [[Draft_Circle|Draft Circle]] with a {{PropertyData|First Angle}} that is not the same as its {{PropertyData|Last Angle}}. |
|||
[[Image:Draft_Arc_3Points_example.png|400px]] |
[[Image:Draft_Arc_3Points_example.png|400px]] |
||
<div class="mw-translate-fuzzy"> |
|||
{{Caption|根据圆周上的3个点而定义的弧}} |
{{Caption|根据圆周上的3个点而定义的弧}} |
||
</div> |
|||
<span id="Usage"></span> |
|||
<div class="mw-translate-fuzzy"> |
|||
==如何使用== |
==如何使用== |
||
</div> |
|||
See also: [[Draft_Tray|Draft Tray]], [[Draft_Snap|Draft Snap]] and [[Draft_Constrain|Draft Constrain]]. |
|||
# Press the {{Button|[[Image:Draft Arc 3Points.svg|16px]] [[Draft Arc 3Points]]}} button, or press {{KEY|A}} then {{KEY|T}} keys. |
|||
# Click a first point on the 3D view, or type a [[Draft_Coordinates|coordinate]] and press the {{Button|[[Image:Draft_AddPoint.svg|16px]] [[Draft_AddPoint|add point]]}} button. |
|||
# Click a second point on the 3D view, or enter a radius value. |
|||
# Click a third point in the 3D view, or enter a start angle. |
|||
<div class="mw-translate-fuzzy"> |
|||
# 按下{{Button|[[Image:Draft Arc 3Points.svg|16px]] [[Draft Arc 3Points]]}}按钮,或先按{{KEY|A}}键再按{{KEY|T}}键。 |
|||
# 在3D视图中点击第一个点,或输入一个坐标并按下{{Button|[[Image:Draft_AddPoint.svg|16px]] add point}}按钮。 |
|||
# 在3D视图中点击第二个点,或输入一个半径值。 |
|||
# 在3D视图中点击第三个点,或输入一个起始角度。 |
|||
</div> |
|||
<span id="Options"></span> |
|||
==选项== |
==选项== |
||
The single character keyboard shortcuts available in the task panel can be changed. See [[Draft_Preferences|Draft Preferences]]. The shortcuts mentioned here are the default shortcuts (for version 0.22). |
|||
==Properties== |
|||
* To manually enter coordinates enter the X, Y and Z component, and press {{KEY|Enter}} after each. Or you can press the {{Button|[[Image:Draft_AddPoint.svg|16px]] Enter point}} button when you have the desired values. It is advisable to move the pointer out of the [[3D_view|3D view]] before entering coordinates. |
|||
An Arc object shares all properties from a [[Draft Circle]], but some properties only make sense for the circle. |
|||
* Press {{KEY|R}} or click the {{MenuCommand|Relative}} checkbox to toggle relative mode. If relative mode is on, coordinates are relative to the last point, if available, else they are relative to the coordinate system origin. |
|||
* Press {{KEY|G}} or click the {{MenuCommand|Global}} checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the [[Draft_SelectPlane|working plane]] coordinate system. {{Version|0.20}} |
|||
* Press {{KEY|N}} or click the {{MenuCommand|Continue}} checkbox to toggle continue mode. If continue mode is on, the command will restart after finishing, allowing you to continue creating arcs. {{Version|0.20}} |
|||
* Press {{KEY|S}} to switch [[Draft_Snap|Draft snapping]] on or off. |
|||
* Press {{KEY|Esc}} or the {{Button|Close}} button to abort the command. |
|||
== |
==Notes== |
||
* A Draft Arc can be edited with the [[Draft_Edit|Draft Edit]] command. |
|||
===View=== |
|||
==Preferences== |
|||
See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft Preferences]]. |
|||
==Scripting== |
|||
{{Emphasis|See also:}} [[Draft API]] and [[FreeCAD Scripting Basics]]. |
|||
* If the {{MenuCommand|Edit → Preferences... → Draft → General → Create Part primitives if possible}} option is checked, the command will create a non-editable [[Part_Feature|Part Feature]] instead of a Draft Circle. |
|||
{{Docnav|[[Draft_Circle|Circle]]|[[Draft_Ellipse|Ellipse]]|[[Draft_Module|Draft]]|IconL=Draft_Circle.svg |IconC=Workbench_Draft.svg|IconR=Draft_Ellipse.svg }} |
|||
<span id="Properties"></span> |
|||
==属性== |
|||
<div class="mw-translate-fuzzy"> |
|||
{{Draft Tools navi}} |
|||
==属性== |
|||
弧对象享有[[Draft Circle]]中的所有属性,但是有些属性仅对圆形而言才有意义。 |
|||
</div> |
|||
<span id="Scripting"></span> |
|||
<div class="mw-translate-fuzzy"> |
|||
==脚本== |
|||
{{Emphasis|参见:}} [[Draft API]] 与 [[FreeCAD Scripting Basics]]。 |
|||
</div> |
|||
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
|||
To create a Draft Arc by 3 points use the {{incode|make_arc_3points}} method of the Draft module: |
|||
{{Code|code= |
|||
arc = make_arc_3points(points, placement=None, face=False, support=None, map_mode="Deactivated", primitive=False) |
|||
}} |
|||
* Creates an {{incode|arc}} object from the given {{incode|points}} list. |
|||
* If a {{incode|placement}} is given, the center of the circular arc will be moved to this place. See [[Placement|Placement]] for more information. |
|||
* If {{incode|face}} is {{incode|True}}, the arc will make a face, that is, it will appear filled. |
|||
* If {{incode|support}} is given, it is a {{incode|LinkSubList}}, that is, a list indicating an object and a subelement of that object. This is used so that the object appears referenced to this support. |
|||
: For example: <code>support=[(obj, ("Face1"))]</code>. |
|||
* If {{incode|map_mode}} is given, it is a string defining a type of mapping, for example: <code>map_mode='FlatFace'</code>, <code>map_mode='ThreePointsPlane'</code>, etc. See [[Part_EditAttachment|Part EditAttachment]] for more information. |
|||
* If {{incode|primitive}} is {{incode|True}}, the arc created will be a simple [[Part_Feature|Part Feature]], not a complex Draft object. |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD as App |
|||
import Draft |
|||
doc = App.newDocument() |
|||
points = [App.Vector(0, 0, 0), |
|||
App.Vector(5, 10, 0), |
|||
App.Vector(10, 0, 0)] |
|||
arc = Draft.make_arc_3points(points) |
|||
doc.recompute() |
|||
}} |
|||
{{Docnav |
|||
|[[Draft_Arc|Arc]] |
|||
|[[Draft_Circle|Circle]] |
|||
|[[Draft_Workbench|Draft]] |
|||
|IconL=Draft_Arc.svg |
|||
|IconR=Draft_Circle.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{Draft Tools navi{{#translation:}}}} |
|||
{{Userdocnavi}} |
|||
{{Userdocnavi{{#translation:}}}} |
|||
{{clear}} |
Latest revision as of 04:55, 9 January 2024
Draft Arc 3Points |
Menu location |
---|
Drafting → Arc tools → Arc by 3 points |
Workbenches |
Draft, Arch |
Default shortcut |
A T |
Introduced in version |
0.19 |
See also |
Draft Arc, Draft Circle |
描述
底图三圆周点绘弧工具通过输入4个点:中点、半径、第一个点、最后一点,或拾取的切线,或上述若干组合,在当前的工作平面上创建一条圆弧。它将根据Draft Tray中的Draft Linestyle设置来创建对应圆弧。
A Draft Arc is in fact a Draft Circle with a 数据First Angle that is not the same as its 数据Last Angle.
根据圆周上的3个点而定义的弧
如何使用
See also: Draft Tray, Draft Snap and Draft Constrain.
- 按下 Draft Arc 3Points按钮,或先按A键再按T键。
- 在3D视图中点击第一个点,或输入一个坐标并按下 add point按钮。
- 在3D视图中点击第二个点,或输入一个半径值。
- 在3D视图中点击第三个点,或输入一个起始角度。
选项
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts (for version 0.22).
- To manually enter coordinates enter the X, Y and Z component, and press Enter after each. Or you can press the Enter point button when you have the desired values. It is advisable to move the pointer out of the 3D view before entering coordinates.
- Press R or click the Relative checkbox to toggle relative mode. If relative mode is on, coordinates are relative to the last point, if available, else they are relative to the coordinate system origin.
- Press G or click the Global checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the working plane coordinate system. introduced in version 0.20
- Press N or click the Continue checkbox to toggle continue mode. If continue mode is on, the command will restart after finishing, allowing you to continue creating arcs. introduced in version 0.20
- Press S to switch Draft snapping on or off.
- Press Esc or the Close button to abort the command.
Notes
- A Draft Arc can be edited with the Draft Edit command.
Preferences
See also: Preferences Editor and Draft Preferences.
- If the Edit → Preferences... → Draft → General → Create Part primitives if possible option is checked, the command will create a non-editable Part Feature instead of a Draft Circle.
属性
属性
弧对象享有Draft Circle中的所有属性,但是有些属性仅对圆形而言才有意义。
脚本
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To create a Draft Arc by 3 points use the make_arc_3points
method of the Draft module:
arc = make_arc_3points(points, placement=None, face=False, support=None, map_mode="Deactivated", primitive=False)
- Creates an
arc
object from the givenpoints
list. - If a
placement
is given, the center of the circular arc will be moved to this place. See Placement for more information. - If
face
isTrue
, the arc will make a face, that is, it will appear filled. - If
support
is given, it is aLinkSubList
, that is, a list indicating an object and a subelement of that object. This is used so that the object appears referenced to this support.
- For example:
support=[(obj, ("Face1"))]
.
- If
map_mode
is given, it is a string defining a type of mapping, for example:map_mode='FlatFace'
,map_mode='ThreePointsPlane'
, etc. See Part EditAttachment for more information. - If
primitive
isTrue
, the arc created will be a simple Part Feature, not a complex Draft object.
Example:
import FreeCAD as App
import Draft
doc = App.newDocument()
points = [App.Vector(0, 0, 0),
App.Vector(5, 10, 0),
App.Vector(10, 0, 0)]
arc = Draft.make_arc_3points(points)
doc.recompute()
Draft
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub