Salome HOME
Improve extrusion feature.
[modules/shaper.git] / src / PythonAPI / model / features / roots.py
1
2
3 from model.roots import Interface
4
5
6 class CompositeBoolean(Interface):
7
8     def __init__(self, feature, *args):
9         Interface.__init__(self, feature)
10
11         self._sketch = self._feature.reference("sketch")
12         self._sketch_selection = self._feature.selection("sketch_selection")
13         self._boolean_objects = self._feature.selectionList("boolean_objects")
14
15         if not args:
16             return
17
18 class CompositeSketch(Interface):
19
20     def __init__(self, feature, *args):
21         Interface.__init__(self, feature)
22
23         self._sketch = self._feature.reference("sketch")
24         self._sketch_selection = self._feature.selection("sketch_selection")
25
26         if not args:
27             return