Draft Fillet/it: Difference between revisions
Renatorivo (talk | contribs) |
Renatorivo (talk | contribs) |
||
Line 96: | Line 96: | ||
{{Docnav|[[Draft_Wire| |
{{Docnav/it|[[Draft_Wire/it|Polilinea]]|[[Draft_Circle/it|Cerchio]]|[[Draft_Module/it|Draft]]|IconL=Draft_Wire.svg|IconC=Workbench_Draft.svg|IconR=Draft_Circle.svg}} |
||
{{Draft Tools navi}} |
|||
{{Userdocnavi}} |
|||
{{clear}} |
{{clear}} |
Revision as of 20:33, 8 September 2019
Draft Fillet |
Menu location |
---|
Draft → Fillet |
Workbenches |
Draft |
Default shortcut |
None |
Introduced in version |
0.19 |
See also |
Draft Line, Draft Wire |
Description
The Draft Fillet tool creates a fillet, a rounded corner, between to simple Draft Lines. Alternatively, it can create a chamfer, a straight edge, between those two lines.
Several fillets and chamfers created between two lines
How to use
- Select two Draft Lines already placed on the document, and which meet at one point.
- Press the Draft Fillet button.
- Choose the radius of fillet, and then hit Enter.
Notes:
- If the radius is too large that the produced arc would not be tangent to one of the lines, the operation will not succeed.
- Only single lines are supported at the moment; Draft Wires, that is, lines with multiple points, may not produce the desired result.
Alternative creation of fillets and chamfers
A Draft Wire that has at least three points can also create a fillet or a chamfer.
- Select two Draft Lines already placed on the document, and which meet at one point.
- Press the Draft Wire button. This will fuse the two lines into a single Wire object.
- In the property editor, enter the desired numerical value for DatiFillet Radius or DatiChamfer Size.
This method works also when joining two different polylines.
Options
- Check the "Delete original objects" checkbox if you want to delete the two original lines, and leave only the new fillet object.
- Check the "Create chamfer" checkbox if you want to create a straight edge, instead of a rounded edge, between the two lines.
- Press Esc or the Close button to abort the current command.
Properties
A Fillet object shares most properties from a Draft Wire, however, only some of these properties are applicable to the Fillet.
Data
- DatiStart: (read-only) specifies the start point.
- DatiEnd: (read-only) specifies the end point.
- DatiLength: (read-only) specifies the length of the entire segment.
- DatiFillet Radius: (read-only) radius with which the fillet was created.
View
- VistaEnd Arrow: if it is
true
it will display a symbol at the last point of the line, so it can be used as an annotation line. - VistaArrow Size: specifies the size of the symbol displayed at the end of the line.
- VistaArrow Type: specifies the type of symbol displayed at the end of the line, which can be "Dot", "Circle", "Arrow", "Tick", or "Tick-2".
Scripting
See also: Draft API and FreeCAD Scripting Basics.
The Fillet tool can be used in macros and from the Python console by using the following function:
Fillet = makeFillet([line1, line2], radius=100, chamfer=False, delete=False)
- Creates a
Fillet
object between linesline1
andline2
, usingradius
for the curvature. - If
chamfer
isTrue
it will create a straight edge with the length ofradius
, instead of a rounded edge. - If
delete
isTrue
it will delete the givenline1
andline2
, and leave only the new object.
Example:
import FreeCAD as App
import Draft
import DraftFillet
p1 = App.Vector(0, 0, 0)
p2 = App.Vector(1000, 1000, 0)
p3 = App.Vector(2000, 0, 0)
Line1 = Draft.makeLine(p1, p2)
Line2 = Draft.makeLine(p2, p3)
App.ActiveDocument.recompute()
Fillet = DraftFillet.makeFillet([Line1, Line2], radius=500)