mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
410 lines
7.3 KiB
ReStructuredText
410 lines
7.3 KiB
ReStructuredText
.. _tui_modifying_meshes_page:
|
|
|
|
****************
|
|
Modifying Meshes
|
|
****************
|
|
|
|
.. contents:: `Table of contents`
|
|
|
|
|
|
.. _tui_adding_nodes_and_elements:
|
|
|
|
Adding Nodes and Elements
|
|
=========================
|
|
|
|
.. _tui_add_node:
|
|
|
|
Add Node
|
|
********
|
|
|
|
.. _modifying_meshes_ex01.py:
|
|
|
|
``modifying_meshes_ex01.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex01.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex01.py`
|
|
|
|
.. _tui_add_0DElement:
|
|
|
|
Add 0D Element
|
|
**************
|
|
|
|
.. _modifying_meshes_ex02.py:
|
|
|
|
``modifying_meshes_ex02.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex02.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex02.py`
|
|
|
|
.. _tui_add_0DElement_on_all_nodes:
|
|
|
|
Add 0D Element on Element Nodes
|
|
*******************************
|
|
|
|
.. _modifying_meshes_ex03.py:
|
|
|
|
``modifying_meshes_ex03.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex03.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex03.py`
|
|
|
|
.. _tui_add_edge:
|
|
|
|
Add Edge
|
|
********
|
|
|
|
.. _modifying_meshes_ex04.py:
|
|
|
|
``modifying_meshes_ex04.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex04.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex04.py`
|
|
|
|
.. _tui_add_triangle:
|
|
|
|
Add Triangle
|
|
************
|
|
|
|
.. _modifying_meshes_ex05.py:
|
|
|
|
``modifying_meshes_ex05.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex05.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex05.py`
|
|
|
|
.. _tui_add_quadrangle:
|
|
|
|
Add Quadrangle
|
|
**************
|
|
|
|
.. _modifying_meshes_ex06.py:
|
|
|
|
``modifying_meshes_ex06.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex06.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex06.py`
|
|
|
|
.. _tui_add_tetrahedron:
|
|
|
|
Add Tetrahedron
|
|
***************
|
|
|
|
.. _modifying_meshes_ex07.py:
|
|
|
|
``modifying_meshes_ex07.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex07.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex07.py`
|
|
|
|
.. _tui_add_hexahedron:
|
|
|
|
Add Hexahedron
|
|
**************
|
|
|
|
.. _modifying_meshes_ex08.py:
|
|
|
|
``modifying_meshes_ex08.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex08.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex08.py`
|
|
|
|
.. _tui_add_polygon:
|
|
|
|
Add Polygon
|
|
***********
|
|
|
|
.. _modifying_meshes_ex09.py:
|
|
|
|
``modifying_meshes_ex09.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex09.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex09.py`
|
|
|
|
.. _tui_add_polyhedron:
|
|
|
|
Add Polyhedron
|
|
**************
|
|
|
|
.. _modifying_meshes_ex10.py:
|
|
|
|
``modifying_meshes_ex10.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex10.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex10.py`
|
|
|
|
.. _tui_removing_nodes_and_elements:
|
|
|
|
Removing Nodes and Elements
|
|
===========================
|
|
|
|
.. _tui_removing_nodes:
|
|
|
|
Removing Nodes
|
|
**************
|
|
|
|
.. _modifying_meshes_ex11.py:
|
|
|
|
``modifying_meshes_ex11.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex11.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex11.py`
|
|
|
|
.. _tui_removing_elements:
|
|
|
|
Removing Elements
|
|
*****************
|
|
|
|
.. _modifying_meshes_ex12.py:
|
|
|
|
``modifying_meshes_ex12.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex12.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex12.py`
|
|
|
|
.. _tui_removing_orphan_nodes:
|
|
|
|
Removing Orphan Nodes
|
|
*********************
|
|
|
|
.. _modifying_meshes_ex13.py:
|
|
|
|
``modifying_meshes_ex13.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex13.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex13.py`
|
|
|
|
.. _tui_moving_nodes:
|
|
|
|
Moving Nodes
|
|
============
|
|
|
|
.. _modifying_meshes_ex15.py:
|
|
|
|
``modifying_meshes_ex15.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex15.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex15.py`
|
|
|
|
.. _tui_diagonal_inversion:
|
|
|
|
Diagonal Inversion
|
|
==================
|
|
|
|
.. _modifying_meshes_ex16.py:
|
|
|
|
``modifying_meshes_ex16.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex16.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex16.py`
|
|
|
|
.. _tui_uniting_two_triangles:
|
|
|
|
Uniting two Triangles
|
|
=====================
|
|
|
|
.. _modifying_meshes_ex17.py:
|
|
|
|
``modifying_meshes_ex17.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex17.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex17.py`
|
|
|
|
.. _tui_uniting_set_of_triangles:
|
|
|
|
Uniting a Set of Triangles
|
|
==========================
|
|
|
|
.. _modifying_meshes_ex18.py:
|
|
|
|
``modifying_meshes_ex18.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex18.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex18.py`
|
|
|
|
.. _tui_orientation:
|
|
|
|
Orientation
|
|
===========
|
|
|
|
.. _modifying_meshes_ex19.py:
|
|
|
|
``modifying_meshes_ex19.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex19.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex19.py`
|
|
|
|
.. _tui_cutting_quadrangles:
|
|
|
|
Cutting Quadrangles
|
|
===================
|
|
|
|
.. _modifying_meshes_ex20.py:
|
|
|
|
``modifying_meshes_ex20.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex20.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex20.py`
|
|
|
|
.. _tui_smoothing:
|
|
|
|
Smoothing
|
|
=========
|
|
|
|
.. _modifying_meshes_ex21.py:
|
|
|
|
``modifying_meshes_ex21.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex21.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex21.py`
|
|
|
|
.. _tui_extrusion:
|
|
|
|
Extrusion
|
|
=========
|
|
|
|
.. _modifying_meshes_ex22.py:
|
|
|
|
``modifying_meshes_ex22.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex22.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex22.py`
|
|
|
|
.. _tui_extrusion_along_path:
|
|
|
|
Extrusion along a Path
|
|
======================
|
|
|
|
.. _modifying_meshes_ex23.py:
|
|
|
|
``modifying_meshes_ex23.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex23.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex23.py`
|
|
|
|
.. _tui_revolution:
|
|
|
|
Revolution
|
|
==========
|
|
|
|
.. _modifying_meshes_ex24.py:
|
|
|
|
``modifying_meshes_ex24.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex24.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex24.py`
|
|
|
|
.. _tui_pattern_mapping:
|
|
|
|
Pattern Mapping
|
|
===============
|
|
|
|
.. _modifying_meshes_ex25.py:
|
|
|
|
``modifying_meshes_ex25.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex25.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex25.py`
|
|
|
|
.. _tui_quadratic:
|
|
|
|
Convert mesh to/from quadratic
|
|
==============================
|
|
|
|
.. _modifying_meshes_ex26.py:
|
|
|
|
``modifying_meshes_ex26.py``
|
|
|
|
.. literalinclude:: ../../../examples/modifying_meshes_ex26.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/modifying_meshes_ex26.py`
|
|
|
|
.. _tui_split_biquad:
|
|
|
|
Split bi-quadratic into linear
|
|
==============================
|
|
|
|
.. _split_biquad.py:
|
|
|
|
``split_biquad.py``
|
|
|
|
.. literalinclude:: ../../../examples/split_biquad.py
|
|
:linenos:
|
|
:language: python
|
|
|
|
:download:`../../../examples/split_biquad.py`
|
|
|