|
Menu location |
---|
Drafting → Arc tools → Arc by 3 points 2D Drafting → Arc by 3 points |
Workbenches |
Draft, BIM |
Default shortcut |
A T |
Introduced in version |
0.19 |
See also |
Draft Arc, Draft Circle |
The Draft Arc 3Points command creates a circular arc on the current working plane from three points that define its circumference. The center and radius are calculated from these points.
A Draft Arc is in fact a Draft Circle with a DataFirst Angle that is not the same as its DataLast Angle.
Arc defined by three points on its circumference
See also: Draft Tray, Draft Snap and Draft Constrain.
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 1.0).
See also: Preferences Editor and Draft Preferences.
See 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)
arc
object from the given points
list.placement
is given, the center of the circular arc will be moved to this place. See Placement for more information.face
is True
, the arc will make a face, that is, it will appear filled.support
is given, it is a 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.support=[(obj, ("Face1"))]
.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.primitive
is True
, 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()