Draft Snap/zh-cn: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(5 intermediate revisions by the same user not shown)
Line 12: Line 12:
{{TOCright}}
{{TOCright}}


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


Line 29: Line 30:
== Snap tools ==
== Snap tools ==


These tools are available in the Draft Snap toolbar and in the [[Draft_snap_widget|Draft snap widget]].
These tools are available in the Draft snap toolbar and in the [[Draft_snap_widget|Draft snap widget]].


Note that circular edges do not have to be full circles.
Note that circular edges do not have to be full circles.


* [[Image:Draft_Snap_Lock.svg|32px]] [[Draft_Snap_Lock|Snap Lock]]: enables or disables snapping globally.
* [[Image:Draft_Snap_Lock.svg|32px]] [[Draft_Snap_Lock|Snap lock]]: enables or disables snapping globally.


* [[Image:Draft_Snap_Endpoint.svg|32px]] [[Draft_Snap_Endpoint|Snap Endpoint]]: snaps to the endpoints of edges.
* [[Image:Draft_Snap_Endpoint.svg|32px]] [[Draft_Snap_Endpoint|Snap endpoint]]: snaps to the endpoints of edges.


* [[Image:Draft_Snap_Midpoint.svg|32px]] [[Draft_Snap_Midpoint|Snap Midpoint]]: snaps to the midpoint of edges.
* [[Image:Draft_Snap_Midpoint.svg|32px]] [[Draft_Snap_Midpoint|Snap midpoint]]: snaps to the midpoint of edges.


* [[Image:Draft_Snap_Center.svg|32px]] [[Draft_Snap_Center|Snap Center]]: snaps to the center point of faces and circular edges, and to the {{PropertyData|Placement}} point of [[Draft_WorkingPlaneProxy|Draft WorkingPlaneProxies]] and [[Arch_BuildingPart|Arch BuildingParts]].
* [[Image:Draft_Snap_Center.svg|32px]] [[Draft_Snap_Center|Snap center]]: snaps to the center point of faces and circular edges, and to the {{PropertyData|Placement}} point of [[Draft_WorkingPlaneProxy|Draft WorkingPlaneProxies]] and [[Arch_BuildingPart|Arch BuildingParts]].


* [[Image:Draft_Snap_Angle.svg|32px]] [[Draft_Snap_Angle|Snap Angle]]: snaps to the special cardinal points on circular edges, at multiples of 30° and 45°.
* [[Image:Draft_Snap_Angle.svg|32px]] [[Draft_Snap_Angle|Snap angle]]: snaps to the special cardinal points on circular edges, at multiples of 30° and 45°.


* [[Image:Draft_Snap_Intersection.svg|32px]] [[Draft_Snap_Intersection|Snap Intersection]]: snaps to the intersection of two edges.
* [[Image:Draft_Snap_Intersection.svg|32px]] [[Draft_Snap_Intersection|Snap intersection]]: snaps to the intersection of two edges.


* [[Image:Draft_Snap_Perpendicular.svg|32px]] [[Draft_Snap_Perpendicular|Snap Perpendicular]]: snaps to the perpendicular points on faces ({{Version|1.0}}) or edges.
* [[Image:Draft_Snap_Perpendicular.svg|32px]] [[Draft_Snap_Perpendicular|Snap perpendicular]]: snaps to the perpendicular points on faces ({{Version|0.21}}) and edges.


* [[Image:Draft_Snap_Extension.svg|32px]] [[Draft_Snap_Extension|Snap Extension]]: snaps to an imaginary line that extends beyond the endpoints of straight edges.
* [[Image:Draft_Snap_Extension.svg|32px]] [[Draft_Snap_Extension|Snap extension]]: snaps to an imaginary line that extends beyond the endpoints of straight edges.


* [[Image:Draft_Snap_Parallel.svg|32px]] [[Draft_Snap_Parallel|Snap Parallel]]: snaps to an imaginary line parallel to straight edges.
* [[Image:Draft_Snap_Parallel.svg|32px]] [[Draft_Snap_Parallel|Snap parallel]]: snaps to an imaginary line parallel to straight edges.


* [[Image:Draft_Snap_Special.svg|32px]] [[Draft_Snap_Special|Snap Special]]: snaps to special points defined by the object.
* [[Image:Draft_Snap_Special.svg|32px]] [[Draft_Snap_Special|Snap special]]: snaps to special points defined by the object.


* [[Image:Draft_Snap_Near.svg|32px]] [[Draft_Snap_Near|Snap Near]]: snaps to the nearest point on faces or edges.
* [[Image:Draft_Snap_Near.svg|32px]] [[Draft_Snap_Near|Snap near]]: snaps to the nearest point on faces and edges.


* [[Image:Draft_Snap_Ortho.svg|32px]] [[Draft_Snap_Ortho|Snap Ortho]]: snaps to imaginary lines that cross the previous point at 0°, 45°, 90° and 135°.
* [[Image:Draft_Snap_Ortho.svg|32px]] [[Draft_Snap_Ortho|Snap ortho]]: snaps to imaginary lines that cross the previous point at multiples of 45°.


* [[Image:Draft_Snap_Grid.svg|32px]] [[Draft_Snap_Grid|Snap Grid]]: snaps to the intersections of grid lines.
* [[Image:Draft_Snap_Grid.svg|32px]] [[Draft_Snap_Grid|Snap grid]]: snaps to the intersections of grid lines.


* [[Image:Draft_Snap_WorkingPlane.svg|32px]] [[Draft_Snap_WorkingPlane|Snap WorkingPlane]]: projects the snap point onto the current [[Draft_SelectPlane|working plane]].
* [[Image:Draft_Snap_WorkingPlane.svg|32px]] [[Draft_Snap_WorkingPlane|Snap working plane]]: projects snap points onto the current [[Draft_SelectPlane|working plane]].


* [[Image:Draft_Snap_Dimensions.svg|32px]] [[Draft_Snap_Dimensions|Snap Dimensions]]: shows temporary X and Y dimensions.
* [[Image:Draft_Snap_Dimensions.svg|32px]] [[Draft_Snap_Dimensions|Snap dimensions]]: shows temporary X and Y dimensions.


* [[Image:Draft_ToggleGrid.svg|32px]] [[Draft_ToggleGrid|Toggle Grid]]: switches the grid on or off.
* [[Image:Draft_ToggleGrid.svg|32px]] [[Draft_ToggleGrid|Toggle grid]]: changes the visibility of the grid.


== Advanced snapping ==
== Advanced snapping ==
Line 88: Line 89:
See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft Preferences]].
See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft Preferences]].


* When a [[Draft_Workbench|Draft]] or [[Arch_Workbench|Arch]] command requiring point input is active, the maximum distance at which [[Draft_Snap_Grid|Draft Snap Grid]] detects the intersections of grid lines can be changed on-the-fly by pressing {{KEY|P}} (increase key) or {{KEY|M}} (decrease key). This setting is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → Mod → Draft → snapRange}}. It can also be changed in the task panel of the [[Draft_SelectPlane|Draft SelectPlane]] command.
Note that after changing some preferences you must restart FreeCAD.
* To only snap when the {{MenuCommand|Snap modifier}} key is held down:

** Deselect: {{MenuCommand|Edit → Preferences... → Draft → Grid and snappingAlways snap}}.
* When a [[Draft_Workbench|Draft]] or [[Arch_Workbench|Arch]] command requiring point input is active, the maximum distance at which [[Draft_Snap_Grid|Draft Snap Grid]] detects the intersections of grid lines can be changed on-the-fly by pressing {{KEY|[}} (increase key) or {{KEY|]}} (decrease key). This setting is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → Mod → Draft → snapRange}}. It can also be changed in the task panel of the [[Draft_SelectPlane|Draft SelectPlane]] command.
** The default {{MenuCommand|Snap modifier}} key, {{KEY|Ctrl}}, can be changed: {{MenuCommand|Edit → Preferences... → Draft → Grid and snappingSnap modifier}}.
* To only snap when the {{MenuCommand|Snap mod}} key is held down:
** Deselect: {{MenuCommand|Edit → Preferences... → Draft → Grid and snappingSnapping Always snap (disable snap mod)}}.
* To only show the Draft snap toolbar when a command is active select: {{MenuCommand|Edit → Preferences... → Draft → InterfaceOnly show the Draft snap toolbar during commands}}. {{Version|1.0}}
** The default {{MenuCommand|Snap mod}} key, {{KEY|Ctrl}}, can be changed: {{MenuCommand|Edit → Preferences... → Draft → Grid and snapping → Snapping → Snap mod}}.
* The snap symbols can be changed: {{MenuCommand|Edit → Preferences... → Draft → Grid and snapping → Snap symbol style}}.
* The color of the snap symbols and the dimensions of [[Draft_Snap_Dimensions|Draft Snap Dimensions]] can be changed: {{MenuCommand|Edit → Preferences... → Draft → Grid and snappingSnap symbol color}}.
* To only show the Draft Snap toolbar when a command is active:
** Select: {{MenuCommand|Edit → Preferences... → DraftGrid and snappingSnapping → Show Draft Snap toolbar}}.
* The size of the snap symbols depends on: {{MenuCommand|Edit → Preferences... → Display3D ViewMarker size}}. {{Version|1.0}}
** Select: {{MenuCommand|Edit → Preferences... → Draft → Grid and snappingSnapping → Hide Draft Snap toolbar after use}}.
* The mentioned single character keyboard shortcuts can be changed: {{MenuCommand|Edit → Preferences... → Draft → InterfaceIn-command shortcuts}}.
* The snap symbols can be changed: {{MenuCommand|Edit → Preferences... → Draft → Visual settings → Visual settingsSnap symbol style}}.
* The color of the snap symbols and the dimensions of [[Draft_Snap_Dimensions|Draft Snap Dimensions]] can be changed: {{MenuCommand|Edit → Preferences... → Draft → Visual settingsVisual settings → Color}}.
* The mentioned single character keyboard shortcuts can be changed: {{MenuCommand|Edit → Preferences... → Draft → User interface settingsIn-Command Shortcuts}}.





Latest revision as of 09:21, 21 April 2024

描述

底图工作台工具中,您可以通过指针单击3D视图来拾取图形中的点、距离、半径与角度。

捕捉功能可用于底图工作台建筑工作台(Arch Workbench)中的大多工具,利用捕捉工具栏中的 Draft ToggleSnap按钮即可对此功能进行全局开启或关闭。而通过View → Toolbars → Draft Snap菜单便可以激活捕捉工具栏。通过点选捕捉工具栏中的各按钮,即可开启或关闭对应的捕捉方法。

利用捕捉功能,令所绘线段垂直于另一线段

Snap tools

These tools are available in the Draft snap toolbar and in the Draft snap widget.

Note that circular edges do not have to be full circles.

  • Snap lock: enables or disables snapping globally.
  • Snap angle: snaps to the special cardinal points on circular edges, at multiples of 30° and 45°.
  • Snap extension: snaps to an imaginary line that extends beyond the endpoints of straight edges.
  • Snap parallel: snaps to an imaginary line parallel to straight edges.
  • Snap special: snaps to special points defined by the object.
  • Snap near: snaps to the nearest point on faces and edges.
  • Snap ortho: snaps to imaginary lines that cross the previous point at multiples of 45°.
  • Snap grid: snaps to the intersections of grid lines.

Advanced snapping

  • Additional snap points can be obtained by combining two snap options. For example combining Draft Snap Ortho and Draft Snap Extension will give you a snap point at the intersection of their imaginary lines.
  • Snapping can be combined with constraining.
  • Press Q to insert a "hold point" at the current location of the cursor. You can snap to the orthogonal axes of hold points, and to the intersections of these axes. If the Draft Snap Midpoint option is active, you can also snap to the midpoint between two hold points.
  • Press ` one or more times to snap to an object that is obscured by other geometry. This is called "snap cycling". Note that you must move the cursor by a small amount in the 3D view after pressing the key.

Snap cycling 1: The red rectangle was created first therefore it has snap priority. Without snap cycling you cannot snap to the green rectangle where it is overlapped by the red rectangle.

Snap cycling 2: After using the snap cycle key once the green rectangle receives snap priority. Snapping to the midpoint of the overlapped green edge is now possible.

Notes

同时采用多种捕捉方法,可能会便于您将对象绘制在预期位置上。但如果您的鼠标指针频繁被导向在一个错误的点上,那也许就是采用多种捕捉方法所带来的副作用,此时,请尝试仅采用一种捕捉方法。

Preferences

See also: Preferences Editor and Draft Preferences.

  • When a Draft or Arch command requiring point input is active, the maximum distance at which Draft Snap Grid detects the intersections of grid lines can be changed on-the-fly by pressing P (increase key) or M (decrease key). This setting is stored: Tools → Edit parameters... → BaseApp → Preferences → Mod → Draft → snapRange. It can also be changed in the task panel of the Draft SelectPlane command.
  • To only snap when the Snap modifier key is held down:
    • Deselect: Edit → Preferences... → Draft → Grid and snapping → Always snap.
    • The default Snap modifier key, Ctrl, can be changed: Edit → Preferences... → Draft → Grid and snapping → Snap modifier.
  • To only show the Draft snap toolbar when a command is active select: Edit → Preferences... → Draft → Interface → Only show the Draft snap toolbar during commands. introduced in version 1.0
  • The snap symbols can be changed: Edit → Preferences... → Draft → Grid and snapping → Snap symbol style.
  • The color of the snap symbols and the dimensions of Draft Snap Dimensions can be changed: Edit → Preferences... → Draft → Grid and snapping → Snap symbol color.
  • The size of the snap symbols depends on: Edit → Preferences... → Display → 3D View → Marker size. introduced in version 1.0
  • The mentioned single character keyboard shortcuts can be changed: Edit → Preferences... → Draft → Interface → In-command shortcuts.