Salome HOME
Merge remote-tracking branch 'remotes/origin/EDF_2020_Lot2'
[modules/shaper.git] / src / FeaturesPlugin / doc / filletFeature.rst
1 .. |fillet.icon|    image:: images/fillet.png
2
3 .. _featureFillet:
4
5 Fillet
6 ======
7
8 **Fillet** feature creates fillets on the edges of a shape. 
9
10 To create a Fillet in the active part:
11
12 #. select in the Main Menu *Feature - > Fillet* item  or
13 #. click |fillet.icon| **Fillet** button in the toolbar
14
15 There are 2 types of fillet:
16
17 .. figure:: images/fillet_fixed_radius.png   
18    :align: left
19    :height: 24px
20
21 fillet by fixed radius
22
23 .. figure:: images/fillet_var_radius.png   
24    :align: left
25    :height: 24px
26
27 fillet by variable radius
28
29 --------------------------------------------------------------------------------
30
31 Fillet by fixed radius
32 ----------------------
33
34 The  property panel is shown below.
35
36 .. figure:: images/FilletFixed.png
37    :align: center
38
39    Fillet by fixed radius property panel
40
41 Input fields:
42
43 - **Faces or/and edges** panel contains filleted faces and edges. All edges of a face are subject to fillet operation. Faces and edges are selected in 3D OCC viewer;
44 - **Radius** defines fillet radius.
45
46 **TUI Command**:
47
48 .. py:function:: model.addFillet(Part_doc, [face,edge], radius)
49
50     :param part: The current part object.
51     :param list: A list of faces and edges subject to fillet operation in format *model.selection(TYPE, shape)*.
52     :param number: Radius value.
53     :return: Created object.
54
55 Result
56 """"""
57
58 Result of **Fillet by fixed radius** is shown below.
59
60 .. figure:: images/fillet_fix_rad.png
61    :align: center
62
63    Fillet by fixed radius
64
65 **See Also** a sample TUI Script of :ref:`tui_create_fillet1` operation.
66
67 Fillet by variable radius
68 -------------------------
69
70 Alternatively, there is a possibility to create a fillet with a variable radius.
71
72 .. figure:: images/FilletVarious.png
73    :align: center
74
75    Fillet by variable radius
76
77 Input fields:
78
79 - **Faces or/and edges** panel contains filleted faces and edges. All edges of a face are subject to fillet operation. Faces and edges are selected in 3D OCC viewer;
80 - **Start radius** defines  the  fillet radius at the start of the selected edge(s);  
81 - **End radius** defines  the  fillet radius at the end of the selected edge(s).
82
83 **TUI Command**:
84
85 .. py:function:: model.addFillet(Part_doc, [face,edge], R1, R2)
86
87     :param part: The current part object.
88     :param list: A list of faces and edges subject to fillet operation in format *model.selection(TYPE, shape)*.
89     :param number: Start radius value.
90     :param number: End radius value.
91     :return: Created object.
92
93 Result
94 """"""
95
96 Result of **Fillet by variable radius** is shown below.
97
98 .. figure:: images/fillet_var_rad.png
99    :align: center
100
101    Fillet by variable radius
102
103 **See Also** a sample TUI Script of :ref:`tui_create_fillet2` operation.