mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-14 17:48:34 +05:00
6c8b26afa5
Add a sample script + remove line numbers from codes in docs
118 lines
2.4 KiB
ReStructuredText
118 lines
2.4 KiB
ReStructuredText
.. _tui_grouping_elements_page:
|
|
|
|
*****************
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|