|
|
| Menu location |
|---|
| Drafting → Fillet 2D Drafting → Fillet |
| Workbenches |
| Draft, BIM |
| Default shortcut |
| F I |
| Introduced in version |
| 0.19 |
| See also |
| Draft Line, Draft Wire |
The Draft Fillet command creates a fillet, a rounded corner, or a chamfer, a straight edge, between two selected edges.
In 0.21 and below the command only works properly if both selected edges are straight.
In 1.0 and below if the selected objects have multiple edges, their first edge will be used. This may not be the edge that was picked in the 3D View.
Several fillets and chamfers created between two edges
See also: Property View.
A Draft Fillet object is derived from a Part Part2DObject and inherits all its properties. It also has the following additional properties:
Draft
VectorDistance): (read-only) specifies the end point of the fillet.Length): (read-only) radius with which the fillet was created.Length): (read-only) specifies the total length of the fillet.VectorDistance): (read-only) specifies the start point of the fillet.
Draft
Length): specifies the size of the symbol displayed at the end of the fillet.Enumeration): specifies the type of symbol displayed at the end of the fillet, which can be Dot, Circle, Arrow, Tick or Tick-2.Bool): specifies whether to show a symbol at the end of the fillet, so it can be used as an annotation line.Enumeration): not used.Float): not used.See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To create a Draft Fillet use the make_fillet method of the Draft module:
fillet = make_fillet([edge1, edge2], radius=100, chamfer=False, delete=False)
Fillet object between edge objects edge1 and edge2, using radius for the curvature.chamfer is True it will create a straight edge instead of a rounded edge.delete is True it will delete the given edge1 and edge2, and leave only the new object.Example:
import FreeCAD as App
import Draft
doc = App.newDocument()
p1 = App.Vector(0, 0, 0)
p2 = App.Vector(1000, 1000, 0)
p3 = App.Vector(2000, 0, 0)
edge1 = Draft.make_line(p1, p2)
edge2 = Draft.make_line(p2, p3)
doc.recompute()
fillet = Draft.make_fillet([edge1, edge2], radius=500)
doc.recompute()