Draft Arc: Difference between revisions

From FreeCAD Documentation
(Updated Description)
mNo edit summary
Line 27: Line 27:


<!--T:21-->
<!--T:21-->
The [[Image:Draft_Arc.svg|24px]] [[Draft_Arc|Draft Arc]] command creates a circular arc in the current [[Draft_SelectPlane|working plane]] from a center, a radius, a start angle and an aperture angle. The radius and the angles can be defined by clicking points.
The [[Image:Draft_Arc.svg|24px]] [[Draft_Arc|Draft Arc]] command creates a circular arc in the current [[Draft_SelectPlane|working plane]] from a center, a radius, a start angle and an aperture angle. The radius and the angles can be defined by picking points.


</translate>
</translate>
Line 45: Line 45:
#* Use the keyboard shortcut: {{KEY|A}} then {{KEY|R}}.
#* Use the keyboard shortcut: {{KEY|A}} then {{KEY|R}}.
# The {{MenuCommand|Arc}} task panel opens. See [[#Options|Options]] for more information.
# The {{MenuCommand|Arc}} task panel opens. See [[#Options|Options]] for more information.
# Click the first point, the center of the arc, in the [[3D_view|3D view]], or type [[Draft_Coordinates|coordinates]] and press the {{Button|[[Image:Draft_AddPoint.svg|16px]] Enter point}} button.
# Pick the first point, the center of the arc, in the [[3D_view|3D view]], or type [[Draft_Coordinates|coordinates]] and press the {{Button|[[Image:Draft_AddPoint.svg|16px]] Enter point}} button.
# Click the second point in the [[3D_view|3D view]], or enter a {{MenuCommand|Radius}}.
# Pick the second point in the [[3D_view|3D view]], or enter a {{MenuCommand|Radius}}.
# Click the third point in the [[3D_view|3D view]], or enter a {{MenuCommand|Start angle}}.
# Pick the third point in the [[3D_view|3D view]], or enter a {{MenuCommand|Start angle}}.
# Click the fourth point in the [[3D_view|3D view]], or enter an {{MenuCommand|Aperture angle}}.
# Pick the fourth point in the [[3D_view|3D view]], or enter an {{MenuCommand|Aperture angle}}.


==Options==
==Options==

Revision as of 15:08, 29 April 2021

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Draft Arc

Menu location
Drafting → Arc tools → Arc
Workbenches
Draft, Arch
Default shortcut
A R
Introduced in version
0.7
See also
Draft Arc 3Points, Draft Circle

Description

The Draft Arc command creates a circular arc in the current working plane from a center, a radius, a start angle and an aperture angle. The radius and the angles can be defined by picking points.

Arc defined by four points, center, radius, initial point of arc and final point of arc

Usage

See also: Draft Tray, Draft Snap and Draft Constrain.

  1. There are several ways to invoke the command:
    • Press the Draft Arc button.
    • Select the Drafting → Arc tools → Arc option from the menu.
    • Use the keyboard shortcut: A then R.
  2. The Arc task panel opens. See Options for more information.
  3. Pick the first point, the center of the arc, in the 3D view, or type coordinates and press the Enter point button.
  4. Pick the second point in the 3D view, or enter a Radius.
  5. Pick the third point in the 3D view, or enter a Start angle.
  6. Pick the fourth point in the 3D view, or enter an Aperture angle.

Options

The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.

  • To enter the coordinates for the center manually 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.
  • The Relative checkbox has no purpose for this command.
  • 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 T or click the Continue checkbox to toggle continue mode. If continue mode is on, the command will restart after finishing the arc, allowing you to continue drawing arcs.
  • Press Esc or the Close button to abort the command.

Notes

  • A Draft Arc can be edited with the Draft Edit command.

Properties

A Draft Arc is in fact a Draft Circle with a DataFirst Angle that is not the same as its DataLast Angle and has the same properties.

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To create a Draft Arc use the make_circle method (introduced in version 0.19) of the Draft module. This method replaces the deprecated makeCircle method.

Example:

import FreeCAD as App
import Draft

doc = App.newDocument()

arc1 = Draft.make_circle(200, startangle=0, endangle=90)
arc2 = Draft.make_circle(500, startangle=20, endangle=160)
arc3 = Draft.make_circle(750, startangle=-30, endangle=-150)

doc.recompute()