mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 01:40:33 +05:00
122 lines
2.6 KiB
ReStructuredText
122 lines
2.6 KiB
ReStructuredText
*****************
|
|
Grouping Elements
|
|
*****************
|
|
|
|
.. contents:: `Table of contents`
|
|
|
|
|
|
.. _tui_create_standalone_group:
|
|
|
|
Create a Standalone Group
|
|
=========================
|
|
|
|
.. literalinclude:: ../../examples/grouping_elements_ex01.py
|
|
:language: python
|
|
|
|
:download:`Download this script <../../examples/grouping_elements_ex01.py>`
|
|
|
|
.. image:: ../images/create_group.png
|
|
:align: center
|
|
|
|
|
|
.. _tui_create_group_on_geometry:
|
|
|
|
Create a Group on Geometry
|
|
==========================
|
|
|
|
.. literalinclude:: ../../examples/grouping_elements_ex02.py
|
|
:language: python
|
|
|
|
:download:`Download this script <../../examples/grouping_elements_ex02.py>`
|
|
|
|
.. _tui_create_group_on_filter:
|
|
|
|
Create a Group on Filter
|
|
========================
|
|
|
|
.. literalinclude:: ../../examples/grouping_elements_ex03.py
|
|
:language: python
|
|
|
|
:download:`Download this script <../../examples/grouping_elements_ex03.py>`
|
|
|
|
.. _tui_edit_group:
|
|
|
|
Edit a Group
|
|
============
|
|
|
|
.. literalinclude:: ../../examples/grouping_elements_ex04.py
|
|
:language: python
|
|
|
|
:download:`Download this script <../../examples/grouping_elements_ex04.py>`
|
|
|
|
.. image:: ../images/editing_groups1.png
|
|
:align: center
|
|
|
|
|
|
.. _tui_union_of_groups:
|
|
|
|
Union of groups
|
|
===============
|
|
|
|
.. literalinclude:: ../../examples/grouping_elements_ex05.py
|
|
:language: python
|
|
|
|
:download:`Download this script <../../examples/grouping_elements_ex05.py>`
|
|
|
|
.. image:: ../images/union_groups1.png
|
|
:align: center
|
|
|
|
|
|
.. _tui_intersection_of_groups:
|
|
|
|
Intersection of groups
|
|
======================
|
|
|
|
.. literalinclude:: ../../examples/grouping_elements_ex06.py
|
|
:language: python
|
|
|
|
:download:`Download this script <../../examples/grouping_elements_ex06.py>`
|
|
|
|
.. image:: ../images/intersect_groups1.png
|
|
:align: center
|
|
|
|
|
|
.. _tui_cut_of_groups:
|
|
|
|
Cut of groups
|
|
=============
|
|
|
|
.. literalinclude:: ../../examples/grouping_elements_ex07.py
|
|
:language: python
|
|
|
|
:download:`Download this script <../../examples/grouping_elements_ex07.py>`
|
|
|
|
.. image:: ../images/cut_groups1.png
|
|
:align: center
|
|
|
|
|
|
.. _tui_create_dim_group:
|
|
|
|
Creating groups of entities basing on nodes of other groups
|
|
===========================================================
|
|
|
|
.. literalinclude:: ../../examples/grouping_elements_ex08.py
|
|
:language: python
|
|
|
|
:download:`Download this script <../../examples/grouping_elements_ex08.py>`
|
|
|
|
.. image:: ../images/dimgroup_tui1.png
|
|
:align: center
|
|
|
|
|
|
.. _tui_groups_by_sharp_edges:
|
|
|
|
Creating face groups separated by sharp edges
|
|
=============================================
|
|
|
|
.. literalinclude:: ../../examples/grouping_elements_ex09.py
|
|
:language: python
|
|
|
|
:download:`Download this script <../../examples/grouping_elements_ex09.py>`
|
|
|