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