From: vsr Date: Tue, 12 Feb 2008 15:47:41 +0000 (+0000) Subject: Merge from branch BR_Dev_For_4_0 (from tag mergeto_BR_QT4_Dev_12Feb08) X-Git-Tag: VSR_280308~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a6a410efbe65138f4c389111f734879205b64b1d;p=modules%2Fsmesh.git Merge from branch BR_Dev_For_4_0 (from tag mergeto_BR_QT4_Dev_12Feb08) --- diff --git a/doc/salome/gui/SMESH/files/about_hypotheses.htm b/doc/salome/gui/SMESH/files/about_hypotheses.htm deleted file mode 100755 index 449308c20..000000000 --- a/doc/salome/gui/SMESH/files/about_hypotheses.htm +++ /dev/null @@ -1,213 +0,0 @@ - - - - - -About hypotheses - - - - - - - - - - - - - -

About hypotheses

- -

Hypotheses represent - boundary conditions which will be taken into account at calculations of - meshes or submeshes basing on geometrical objects. These hypotheses allow - you to manage the level of detail of the resulting meshes or submeshes: - when applying different hypotheses with different parameters you can preset - the quantity of meshing elements which will compose your mesh. So, it - will be possible to generate a rough or a more refined mesh or submesh. -

- -

 

- -

In MESH there are the following - Basic Hypotheses (to introduce them, you operate numerical values):

- - - -
    - - -
- - - -

 

- -

There also exist some Additional - Hypotheses

- - - -

 

- -

The choice of a hypothesis depends on:

- - - -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/about_meshes.htm b/doc/salome/gui/SMESH/files/about_meshes.htm deleted file mode 100755 index 353b6a7a8..000000000 --- a/doc/salome/gui/SMESH/files/about_meshes.htm +++ /dev/null @@ -1,250 +0,0 @@ - - - - - -About meshes - - - - - - - - - - - - -

About meshes

- -

MESH represents - a discretization of a geometrical CAD model into a set of entities with - a simple topology. In MESH there are two options of creation of meshes, - you can:

- -

 

- - - -

 

- -

The topology of a mesh is described by the relationships between its - entities including:

- -

 

- - - -

 

- -

These entities are considered as topological - entities and they don't imply any geometric representation. Only Nodes reference  geometric - representations of points with definite coordinates. The - node entity will contain  additional - information about its position in the space and its relations with the - meshed CAD model. Its position could be described in the following way:

- -

 

- - - -

 

- -

 

- -

Connections

- -

Each mesh entity bounds 0 or more mesh entities - of higher dimension. In the same way each mesh entity is bounded by 0 - or more mesh entities of lower dimension:

- -

 

- - - -

 

- -

You can notice that there are two types of - connections: inverse and direct connections.

- -

 

- -

Inverse connections

- -

 

- -

This relationship has a particularity that - the order of bounded entities has not a direct meaning. Also the number - of bounded entities is not fixed.

- -

 

- -

The edges surrounding a node. - The 3rd edge has no more sense that the 5th one.

- -

 

- -

Direct connections

- -

 

- -

This relationship has a particularity that - the order of bounding entities is meaningful. The number of bounding entities - is fixed and depends on the type of the entity (hexahedron, tetrahedron,…).

- -

 

- -

An edge is composed of two - nodes. A face is composed of 3 or 4 edges depending if we are dealing - with triangles or quadrangles.

- -

 

- -

The connections are not only restricted to - entities of one dimension higher or lower. For example some algorithms - may be interested to retrieve all the faces surrounding a node.

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/about_meshing_algorithms.htm b/doc/salome/gui/SMESH/files/about_meshing_algorithms.htm deleted file mode 100755 index ab45f9183..000000000 --- a/doc/salome/gui/SMESH/files/about_meshing_algorithms.htm +++ /dev/null @@ -1,253 +0,0 @@ - - - - - -About meshing algorithms - - - - - - - - - - - - - -

Basic meshing algorithms

- -

The MESH module contains a set of meshing algorithms, - which are used for meshing entities (1D, 2D, 3D) composing geometrical - objects.

- -

 

- - - -

 

- -
    - - -
- -

 

- - - -

 

- -
    - - -
- -

 

- - --- - - - -
-

-

- -

 

- -

 

- - - -

 

- -
    - - -
- -

 

- - --- - - - -
-

-

- -

 

- -

 

- -

There also is a number of more specific algorithms:

- - - -

Constructing - meshes page describes in detail - how to apply meshing algorithms. -

- -

See Also - a sample TUI Script of a Define - Meshing Algorithm operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/about_quality_controls.htm b/doc/salome/gui/SMESH/files/about_quality_controls.htm deleted file mode 100755 index e8bd41667..000000000 --- a/doc/salome/gui/SMESH/files/about_quality_controls.htm +++ /dev/null @@ -1,175 +0,0 @@ - - - - - -About quality controls - - - - - - - - - - - - -

About quality controls

- -

Mesh - quality control in MESH is destined for visual control of the generated - mesh.

- -

Application of a definite quality control - consists of usage of the corresponding algorithm, which calculates a value - of a definite geometric characteristic (Area, Length of edges, etc) for - all meshing elements, composing your mesh. Then all meshing elements are - colored according the calculated values. The reference between the coloring - of the meshing elements and these calculated values is shown with the - help of a scalar bar, which is displayed near the presentation of your - mesh.      

- -

 

- -

There are 1D, 2D and 3D quality controls. -

- -

  

- -

1D mesh quality controls:

- -

 

- - - -

 

- -

2D mesh quality controls:

- -

 

- - - - - -

 

- -

3D mesh quality controls:

- -

 

- - - -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/adding_nodes_and_elements.htm b/doc/salome/gui/SMESH/files/adding_nodes_and_elements.htm deleted file mode 100755 index 014d6120d..000000000 --- a/doc/salome/gui/SMESH/files/adding_nodes_and_elements.htm +++ /dev/null @@ -1,303 +0,0 @@ - - - - - -Adding nodes and elements - - - - - - - - - - - - -

Adding nodes and elements

- -

In MESH you can add to your mesh different elements such as:

- -

 

- - - -

 

- -

To add a node or an element to your mesh:

- -

 

- -

1. Select your mesh in the Object Browser - or in the 3D viewer.

- -

 

- -

2. From the Modification - menu choose the Add item, - the following associated submenu will appear:

- -

 

- -

- -

 

- -

From this submenu select the type of element - which you would like to add to your mesh.

- -

 

- -

  See - Also sample TUI Scripts of  Adding - Nodes and Elements operations. -  

- -

 

- -

Adding nodes

- -

    

- -

 

- -

 

- -

 

- -

In this dialog box set coordinates for your - node in the Coordinates set of - fields and click the Apply or - OK button. Your node will be created:

- -

 

- -

Adding edges

- -

 

- -

      

- -

 

- -

In this dialog box specify the nodes which - will form your edge by selecting them in the 3D viewer with pressed Shift - button and click the Apply or - OK button. Your edge will be created:

- -

 

- -

Adding triangles

- -

 

- -

        

- -

 

- -

In this dialog box specify the nodes which - will form your triangle by selecting them in the 3D viewer with pressed - Shift button and click the Apply or - OK button. Your triangle will - be created:

- -

 

- -

Adding quadrangles

- -

        

- -

In this dialog box specify the nodes which - will form your quadrangle by selecting them in the 3D viewer with pressed - Shift button and click the Apply or - OK button. Your quadrangle will - be created:

- -

 

- -

Adding polygons -

- -

          

- -

In this dialog box specify the nodes which - will form your polygon by selecting them in the 3D viewer with pressed - Shift button and click the Apply or - OK button.

- -

 

- -

Adding tetrahedrons

- -

- -

 

- -

In this dialog box specify the nodes which - will form your tetrahedron by selecting them in the 3D viewer with pressed - Shift button and click the Apply or - OK button. Your tetrahedron will - be created:

- -

 

- -

- -

Adding hexahedrons

- -

- -

 

- -

In this dialog box specify the nodes which - will form your hexahedron by selecting them in the 3D viewer with pressed - Shift button and click the Apply or - OK button. Your hexahedron will - be created:

- -

 

- -

 

- -

- -

 

- -

Adding polyhedrons

- -

        

- -

 

- -

There are two different ways to add polyhedral - volumes.

- -

If you select Node - as Elements Type you will specify - the nodes which will form the faces of your polyhedron by selecting the - nodes in the 3D viewer with pressed Shift button and clicking the Add button to add the face in the list - of Faces by Nodes, which will form your polyhedron. Note, that it could - be very useful to toggle Polyhedron Preview checkbox to see the results - of your selection.

- -

The second way is somewhat simpler, however, - there are cases when it does not provide you with the necessary level - of precision. If you select Face - as Elements Type, you will be - able to select the faces  which - will form your polyhedron in the 3D viewer with pressed Shift button. - If you've managed to

- -

obtain the necessary result, click the Apply or OK - button. Your hexahedron will be - created.

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/area_of_elements.htm b/doc/salome/gui/SMESH/files/area_of_elements.htm deleted file mode 100755 index 5947a248c..000000000 --- a/doc/salome/gui/SMESH/files/area_of_elements.htm +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -Area of elements - - - - - - - - - - - - - -

Area

- -

Area mesh quality - control is based on the algorithm of area calculation of  meshing - elements. It can be applied to meshes consisting of 2D meshing elements - with 3 and 4 nodes (triangles and quadrangles).    

- -

 

- -

To apply the Area quality control to your mesh:

- -

 

- -

1. Display your mesh in the viewer.

- -

 

- -

2. Choose Controls - > Area or click button. Your mesh will be displayed - in the viewer with its elements colored according to the applied mesh - quality control criterion:

- -

 

- -

 

- -

- -

 

- -

See Also - a sample TUI Script of an Area - quality control operation.  

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/arithmetic_1d.htm b/doc/salome/gui/SMESH/files/arithmetic_1d.htm deleted file mode 100755 index e6cac0059..000000000 --- a/doc/salome/gui/SMESH/files/arithmetic_1d.htm +++ /dev/null @@ -1,330 +0,0 @@ - - - - - -Arithmetic 1D - - - - - - - - - - - - - -

1D Meshing Hypotheses

- - - -

Arithmetic 1D hypothesis

- -

Arithmetic 1D hypothesis allows - to split edges into segments with a length that changes in arithmetic - progression (Lk = Lk-1 + d) beginning from a given starting length and - up to a given end length.

- -

 

- -

     

- -

 

- -

See Also - a sample TUI Script of a Defining - Arithmetic 1D hypothesis operation.  

- -

Deflection 1D hypothesis

- -

Deflection ID hypothesis can - be applied for meshing curvilinear edges composing your geometrical object. - It uses only one parameter: the value of deflection.  

- -

A geometrical edge is divided into equal segments. The maximum distance - between a point on the edge within a segment and the line connecting the - ends of the segment should not exceed the specified value of deflection - . Then mesh nodes are constructed at end segment locations and 1D mesh - elements are constructed on segments.

- -

 

- -

      

- -

 

- -

See Also - a sample TUI Script of a Defining - Deflection 1D hypothesis operation.  

- -

 

- -

- -

Average Length hypothesis

- -

Average Length hypothesis can - be applied for meshing of edges composing your geometrical object. Definition - of this hypothesis consists of setting the length - of segments, which will split these edges. The points on the edges generated - by these segments will represent nodes of your mesh. Later these nodes - will be used for meshing of the faces abutting to these edges.

- -

 

- -

       

- -

 

- -

See Also - a sample TUI Script of a Defining - Average Length hypothesis operation.  

- -

 

- -

- -

Number of segments hypothesis

- -

Number of segments hypothesis - can be applied for meshing of edges composing your geometrical object. - Definition of this hypothesis consists of setting the number - of segments, which will split these edges. In other words your edges will - be split into a definite number of segments with approximately the same - length. The points on the edges generated by these segments will represent - nodes of your mesh. Later these nodes will be used for meshing of the - faces abutting to these edges.

- -

 

- -

You can set the type of distribution for this - hypothesis in the Hypothesis Construction - dialog bog :

- -

 

- -

Equidistant - Distribution - all segments will have the same length, you define - only the Number of Segments.

- -

 

- -

         

- -

 

- -

Scale Distribution - each - next segment differs from the previous according to the formula: - Ai+1 = Ai - * k, where k is - a Scale Factor.

- -

\

- -

 

- -

Distribution with Table Density - you - input a number of pairs t - F(t), - where t ranges from 0 to 1, -  and - the module computes the formula, which will rule the change of length - of segments and shows the curve in the plot. You can select the Conversion - mode from Exponent - and Cut negative.

- -

 

- -

- -

 

- -

Distribution with Analytic Density - you input the formula, which will rule the - change of length of segments and the module shows the curve in the plot.

- -

- -

See Also - a sample TUI Script of a Defining - Number of Segments hypothesis operation.  

- -

 

- -

Start and End Length hypothesis.

- -

Start and End Length hypothesis - allows to divide a geometrical edge into segments so that the first and - the last segments have a specified length. The length of each but the - first segment differs from length of the previous one by a constant factor. - Then mesh nodes are constructed at segment ends location and 1D mesh elements - are constructed on them.

- -

 

- -

      

- -

 

- -

See Also - a sample TUI Script of a Defining - Start and End Length  hypothesis - operation.  

- -

 

- -

Automatic Length

- -

This hypothesis is automatically applied when you select Assign - a set of hypotheses option in Create Mesh menu.

- -

 

- -

- -

 

- -

The dialog box prompts you to define the quality of the future mesh - by only one parameter, which is Fineness, - ranging from 0 (coarse mesh, low number of elements) to 1 (extremely fine - mesh, great number of elements). Compare one and the same object (sphere) - meshed with minimum and maximum value of this parameter.

- -

 

- -

   

- -

 

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/aspect_ratio.htm b/doc/salome/gui/SMESH/files/aspect_ratio.htm deleted file mode 100755 index d10a24b01..000000000 --- a/doc/salome/gui/SMESH/files/aspect_ratio.htm +++ /dev/null @@ -1,212 +0,0 @@ - - - - - -Aspect Ratio - - - - - - - - - - - - - -

Aspect Ratio

- -

The Aspect Ratio - quality criterion for mesh elements reveals the degree of conformity of - a mesh element to the regular element of its type (with all edges having - the same length).  The - criterion can be defined as

- -

where К - is the considered element of the mesh, hmax is the diameter of the element - К (i.e. the length of the longest edge), рк is the radius of the sphere - inscribed in the element K, and a - is a normalisation value chosen so that QK = 1 when К is an equilateral - simplex.

- -

 

- -

The value of QK varies between 1 and +oo and the - closer it is to 1, the better the element К is.

- - - -

 

- -

- -

,

- -

 

- -

where рк is the half perimeter of the - element K and SK is its surface.

- -

 

- -

- -

 

- - - -

- -

Note, that the Aspect Ratio criterion is - applicable to 2D mesh elements only. For 3D elements we use the Aspect - Ratio 3D criterion.   

- -

 

- -

To apply the Aspect Ratio quality criterion to your mesh:

- -

 

- -

1. Display your mesh in the viewer.

- -

 

- -

2. Choose Controls - > Aspect Ratio or click button in the toolbar. - Your mesh will be displayed in the viewer with its elements colored according - to the applied mesh quality control criterion:

- -

 

- -

- -

 

- -

See Also - a sample TUI Script of an Aspect - Ratio quality control operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/changing_orientation_of_elements.htm b/doc/salome/gui/SMESH/files/changing_orientation_of_elements.htm deleted file mode 100755 index c282fe13b..000000000 --- a/doc/salome/gui/SMESH/files/changing_orientation_of_elements.htm +++ /dev/null @@ -1,159 +0,0 @@ - - - - - -Changing orientation of elements - - - - - - - - - - - - -

Changing orientation of elements

- -

Orientation of an element is changed by reverting the order of nodes - of the selected elements.

- -

 

- -

To change orientation of elements:

- -

 

- -

1. Display a mesh or a submesh in the 3D - viewer.

- -

 

- -

2. In the Modification - menu select the Orientation item - or click button in the toolbar. The following dialog box - will appear:

- -

 

- -

 

- -

- -

 

- -

 

- - - -

 

- -

3. Click the Apply - or OK button to confirm - the operation.

- -

 

- -

  See - Also a sample TUI Script of a Change - Orientation operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/constructing_groups_of_specific_elements.htm b/doc/salome/gui/SMESH/files/constructing_groups_of_specific_elements.htm deleted file mode 100755 index 0b8e2f5e6..000000000 --- a/doc/salome/gui/SMESH/files/constructing_groups_of_specific_elements.htm +++ /dev/null @@ -1,103 +0,0 @@ - - - - - -Constructing groups of specific elements - - - - - - - - - - - - -

Constructing groups of specific elements

- -

In MESH you can easily construct groups of specific elements (nodes, - edges, faces or volumes) which will be taken from a definite submesh.

- -

 

- -

To construct a group of specific elements:

- -

 

- -

Right-click on a submesh in the Object Browser - and choose the Construct Group item - or select your submesh in the Object Browser and in the Mesh - menu choose the Construct Group - item. MESH will construct several groups consisting of elements - of the definite type: nodes, edges, faces or volumes.

- - - - diff --git a/doc/salome/gui/SMESH/files/constructing_meshes.htm b/doc/salome/gui/SMESH/files/constructing_meshes.htm deleted file mode 100755 index 5a4fbc6fe..000000000 --- a/doc/salome/gui/SMESH/files/constructing_meshes.htm +++ /dev/null @@ -1,242 +0,0 @@ - - - - - -Constructing meshes - - - - - - - - - - - - - -

Constructing meshes

- -

Construction of a mesh consists of:

- -

 

- - - -

 

- -

To construct a mesh:

- -

1. In the Mesh - menu select Create Mesh or - click button in the toolbar. The following dialog box will - appear:

- -

 

- -

- -

 

- -

2. For example, you need to mesh a 3d object. -

- -

First, type the name for your mesh in the - "Name" box, by default, it is "Mesh_1". Then select - the object you wish to mesh in the Object Browser and click - the "Add" button.

- -

Now you can define 1d Algorithm and 1d Hypotheses, - which will be applied to the edges of your object. (Note that any object - has edges, even if their existence is not apparent, for example, a sphere - has 4 edges). Click the   button to add a hypothesis. Click the button - to define values for the current hypothesis. The use of additional hypotheses - is optional (i.e. you may leave "None" in this box).   

- -

 

- -

Proceed in the same way with 2d and 3d Algorithms - and Hypotheses, note that the choice of hypotheses depends on the algorithm. - There must be one Algorithm and one or several Hypotheses for each dimension - of your object, otherwise you will not get any mesh at all. Of course, - if you wish to mesh a face, which is a 2d object, you don't need to define - 3d Algorithm and Hypotheses.

- -

In the Object - Browser the structure of the new mesh will be displayed as follows:

- -

It contains:

- - - -

 

- -

There is an alternative way to create a mesh - on an object simply by clicking Assign - a set of hypotheses button and selecting between Automatic Tetrahedralization - or Hexahedralization.  The - program will automatically generate a 3D mesh with the most appropriate - settings. In the same way you can apply this functionality for meshing - 2D objects, in which case 3D algorithms are not applied.

- -

 

- -

3. Now, when everything is ready, select - your mesh in the Object Browser. -  From the - Mesh menu select - Compute or click button of the toolbar. The Mesh - Computation information box appears.

- -

 

- -

- -

 

- -

If the mesh computation failed, the information - about the cause of the failure is provided.

- -

 

- -

- -

 

- -

After you select the error, Show - Subshape button allows visualizing the mesh elements that cause - it

- -

 

- -

- -

 

- -

Publish - Subshape button allows importing it in a separate MED or UNV file. -

- -

 

- -

Consider trying a sample script for construction - of a mesh from our TUI Scripts - section.

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/constructing_submeshes.htm b/doc/salome/gui/SMESH/files/constructing_submeshes.htm deleted file mode 100755 index 53d39c3e7..000000000 --- a/doc/salome/gui/SMESH/files/constructing_submeshes.htm +++ /dev/null @@ -1,185 +0,0 @@ - - - - - -Constructing submeshes - - - - - - - - - - - - - -

Constructing submeshes

- -

Construction of a submesh consists of:

- -

 

- - - -

 

- -

To construct a submesh:

- -

 

- -

From the Mesh - menu select Local Hyp. or - click button in the toolbar. The following dialog box will - appear:

- -

 

- -

- -

 

- -

It allows to define the Name, - the parent Mesh and the Geometry (e.g. a face if the parent - mesh has been built on box) of the submesh. You can define algorithms - and hypotheses in the same way as in Create - mesh menu.  

- -

 

- -

In the Object Browser the structure of the - new submesh will be displayed as follows:

- -

 

- -

- -

 

- -

It contains:

- -

 

- - - -

 

- -

 

- -

See Also - a sample TUI Script of a Construct - Submesh operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/creating_groups.htm b/doc/salome/gui/SMESH/files/creating_groups.htm deleted file mode 100755 index 1200e5969..000000000 --- a/doc/salome/gui/SMESH/files/creating_groups.htm +++ /dev/null @@ -1,281 +0,0 @@ - - - - - -Creating groups - - - - - - - - - - - - - -

Creating groups

- -

  In MESH you - can create groups of elements of different types. To create a group of - elements - in the Mesh - menu select Create Group. -

- -

To create any group - you should define the following:   

- - - -

SALOME Platform distinguishes - between the two Group types: Standalone - Group and Group on Geometry. -  

- -

Standalone Group

- -

Standalone - Group consists of mesh elements, which you can define in two possible - ways.

- - - -

To remove a selected element or elements - from the list click the Remove button. - The Sort List button allows to - sort the list of IDs of mesh elements.

- -

Select from - set of fields allows to choose a submesh or an existing group whose - elements of the previously defined type will be added to the list of elements - which will form your group.

- -

Color Number - (integer only, ranging from 0 to 9999) - allows to assign to the group - a certain index, for example, defining boundary conditions. This feature - introduces a useful element of preprocessing in Mesh module. Note that - Color number attribute has nothing - to do with the colors used for the display of the elements of the group.

- -

 

- - --- - - - -
-

-

  

-

 

-

 

-

 

-

 

-

 

-

In this picture the brown cells belong to - a group defined manually.

-

 

-

  In this picture the brown cells belong to the group defined - by the criterion
-Taper > 0.

-

 

-

 

- -

 

- -

   See - Also a sample TUI Script of a Create - a Standalone Group operation.  

- -

Group on Geometry

- -

To create a group on - geometry check Group on geometry - in the Group type field. Group on geometry contains the elements - of a certain type belonging to the selected - geometrical object. To define a group select in the Objet Browser - or in the 3D viewer a geometrical object from which the elements will - be taken. After confirmation of the operation a new group of mesh elements - will be created.

- -

 

- - --- - - - -
-

-

In this picture the cells which belong to a certain face - are selected in green.

- -

 

- -

   See - Also a sample TUI Script of a Create - a Group on Geometry operation. -  

- -

 

- -

 

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/cutting_quadrangles.htm b/doc/salome/gui/SMESH/files/cutting_quadrangles.htm deleted file mode 100755 index 3ffa9a6ae..000000000 --- a/doc/salome/gui/SMESH/files/cutting_quadrangles.htm +++ /dev/null @@ -1,208 +0,0 @@ - - - - - -Cutting quadrangles - - - - - - - - - - - - - -

Cutting quadrangles

- -

This operation allows to cut one or several quadrangle - elements by addition of a supplementary edge which will connect two opposite - corners.

- -

 

- -

To cut quadrangles:

- -

 

- -

1. Display a mesh or a submesh in the 3D - viewer.

- -

2. In the Modification - menu select the Cutting of quadrangles - item or click button in the toolbar. The following - dialog box will appear:

- -

 

- -

- -

 

- - - -

 

- -

3. Click the Apply - or OK button to confirm - the operation.

- -

 

- - --- - - - -
-

-

- -

 

- -

  See - Also a sample TUI Script of a Cutting - Quadrangles operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/diagonal_iversion_of_elements.htm b/doc/salome/gui/SMESH/files/diagonal_iversion_of_elements.htm deleted file mode 100755 index 3976832f6..000000000 --- a/doc/salome/gui/SMESH/files/diagonal_iversion_of_elements.htm +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Diagonal iversion of elements - - - - - - - - - - - - -

Diagonal inversion of elements

- -

 In MESH - you can inverse the diagonal (edge) of a pseudo-quadrangle formed by two - neighboring triangles with one common edge.

- -

 

- -

To inverse the diagonal:

- -

 

- -

1. From the Modification - menu choose the Diagonal inversion - item or click button in the toolbar. The following - dialog box shall appear:

- -

 

- -

- -

 

- -

2. Enter the ID of the required edge in the - Edge  field - or select this edge in the 3D viewer.

- -

 

- -

3. Click the Apply - or OK button.

- -

 

- -

 

- - --- - - - -
-

-

- -

 

- -

  See - Also a sample TUI Script of a Diagonal - Inversion of Elements operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/displacing_nodes.htm b/doc/salome/gui/SMESH/files/displacing_nodes.htm deleted file mode 100755 index 14898fac2..000000000 --- a/doc/salome/gui/SMESH/files/displacing_nodes.htm +++ /dev/null @@ -1,170 +0,0 @@ - - - - - -Displacing nodes - - - - - - - - - - - - - -

Moving nodes

- -

In MESH you can change the location of any node of your mesh. In this - case all adjacent elements (edges) will be also transformed right after - the displaced node.

- -

 

- -

To displace a node:

- -

 

- -

1. From the Modification - menu choose the Move node item - or click button in the toolbar. The following dialog box - shall appear:

- -

 

- -

- -

 

- -

2. Enter the ID of the required node in the - Node ID  field - or select this node in the 3D viewer. The coordinates of your node will - be automatically displayed in the Coordinates - set of fields.

- -

 

- -

3. Set new coordinates for your node in the - Coordinates set of fields.

- -

 

- -

4. Click the Apply - or OK button.

- -

 

- - --- - - - -
-

-

- -

 

- -

  See - Also a sample TUI Script of a Moving - Nodes operation.  

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/displaying_nodes_numbers.htm b/doc/salome/gui/SMESH/files/displaying_nodes_numbers.htm deleted file mode 100755 index 94a2d5425..000000000 --- a/doc/salome/gui/SMESH/files/displaying_nodes_numbers.htm +++ /dev/null @@ -1,159 +0,0 @@ - - - - - -Displaying nodes numbers - - - - - - - - - - - - - -

Displaying nodes numbers

- -

In MESH you can display the ID numbers of all nodes of your mesh in - the viewer.

- -

 

- -

To display ID numbers of nodes:

- -

 

- -

1. Display your mesh in the viewer

- -

 

- -

2. Right-click on the mesh in the 3D viewer - and from the associated pop-up menu choose Numbering - > Display Nodes #.

- -

 

- -

It will look like as follows:

- -

 

- -

- -

 

- -

Displaying elements numbers

- -

In MESH you can display the ID numbers of all meshing elements composing - your mesh in the viewer.

- -

 

- -

To display ID numbers of elements:

- -

 

- -

1. Display your mesh in the viewer

- -

 

- -

2. Right-click on the mesh in the 3D viewer - and from the associated pop-up menu choose Numbering - > Display Elements #.

- -

 

- -

It will look like as follows:

- -

 

- -

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/editing_groups.htm b/doc/salome/gui/SMESH/files/editing_groups.htm deleted file mode 100755 index adf5054d3..000000000 --- a/doc/salome/gui/SMESH/files/editing_groups.htm +++ /dev/null @@ -1,134 +0,0 @@ - - - - - -Editing groups - - - - - - - - - - - - - -

Editing groups

- -

To edit an existing group of elements:

- -

 

- -

1. Select your group in the Object Browser - and in the Mesh menu click the - Edit Group item or icon in the toolbar. The following dialog box will appear:

- -

 

- -

- -

 

- -

In this dialog box you can modify the name of your group and add or remove the - elements forming it. For more information see - Creating Groups page.

- -

2. Click the OK - or  Apply - button to confirm modification of the group.

- -

 

- -

See Also - a sample TUI Script of an Edit - Group operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/importing_and_exporting_meshes.htm b/doc/salome/gui/SMESH/files/importing_and_exporting_meshes.htm deleted file mode 100755 index 5cfa16047..000000000 --- a/doc/salome/gui/SMESH/files/importing_and_exporting_meshes.htm +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Importing and exporting meshes - - - - - - - - - - - - - -

Importing and exporting meshes

- -

In MESH there is a functionality allowing importation/exportation - of meshes from MED and UNV - (I-DEAS 10) format files.

- -

 

- -

To import a mesh:

- -

 

- -

1. From the File - menu choose the Import item, from - its sub-menu select the corresponding format (MED,  UNV) - of the file containing your mesh.

- -

2. In the standard Search - File dialog box find the file for importation.

- -

3. Click the OK - button.

- -

 

- -

- -

 

- -

To export a mesh:

- -

 

- -

1. Select the object you wish to export.

- -

2. From the File - menu choose the Export item, from - its sub-menu select the format (MED, UNV) of the file which will contain - your exported mesh..

- -

3. In the standard Search - File select a location for the exported file and enter its - name.

- -

4. Click the OK - button.

- -

 

- -

- -

 

- -

See Also - a sample TUI Script of an Export - Mesh operation.  

- - - - diff --git a/doc/salome/gui/SMESH/files/length_of_edges.htm b/doc/salome/gui/SMESH/files/length_of_edges.htm deleted file mode 100755 index 54cf22553..000000000 --- a/doc/salome/gui/SMESH/files/length_of_edges.htm +++ /dev/null @@ -1,137 +0,0 @@ - - - - - -Length of edges - - - - - - - - - - - - - -

Length 2D

- -

This quality control criterion consists of calculation - of length of the edges combining the meshing elements (triangles and quadrangles) - of your mesh.

- -

   

- -

To apply the Length 2D quality criterion to your mesh:

- -

 

- -

1. Display your mesh in the viewer.

- -

 

- -

2. Choose Controls - > Length 2D or click button in the toolbar. Your - mesh will be displayed in the viewer with its elements colored according - to the applied mesh quality control criterion:

- -

 

- -

- -

 

- -

See Also - a sample TUI Script of a  Length - 2D quality control operation.  

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/max._element_area_hypothesis.htm b/doc/salome/gui/SMESH/files/max._element_area_hypothesis.htm deleted file mode 100755 index 213603d7b..000000000 --- a/doc/salome/gui/SMESH/files/max._element_area_hypothesis.htm +++ /dev/null @@ -1,172 +0,0 @@ - - - - - -Length from edges - - - - - - - - - - - - - -

2D Meshing Hypotheses

- - - -

Max Element Area

- -

Max Element Area hypothesis - is applied for meshing of 2D faces composing your geometrical object. - Definition of this hypothesis consists of setting the maximum - area of meshing elements (depending on the chosen meshing algorithm - it can be triangles or quadrangles), - which will compose the mesh of these 2D faces.

- -

 

- -

- -

 

- -

See Also - a sample TUI Script of a Maximum - Element Area hypothesis operation.  

- -

 

- -

- -

 

- -

 

- -

Length from Edges

- -

Length from edges hypothesis - builds 2D mesh segments having a length calculated as an average edge - length for a given wire.

- -

 

- -

See Also - a sample TUI Script of a Length - from Edges hypothesis operation.  

- -

 

- -

Quadrangle Preference

- -

This algorithm can be used only together with Quadrangle (Mapping) algorithm. - It allows to build quadrangular meshes even if the number of nodes at - the opposite edges of a meshed face is not equal, otherwise this mesh - will contain some triangular elements.

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/max._element_volume_hypothsis.htm b/doc/salome/gui/SMESH/files/max._element_volume_hypothsis.htm deleted file mode 100755 index b9be27030..000000000 --- a/doc/salome/gui/SMESH/files/max._element_volume_hypothsis.htm +++ /dev/null @@ -1,122 +0,0 @@ - - - - - -Non conform mesh allowed hypothesis - - - - - - - - - - - - - -

Max Element Volume hypothesis

- -

Max - Element Area hypothesis is applied for meshing of 3D objects composing - your geometrical object. Definition of this hypothesis consists of setting - the maximum volume of 3D meshing - elements (depending on the chosen meshing algorithm it can be hexahedrons - or tetrahedrons), which - will compose the mesh of these 3D objects.

- -

 

- -

- -

 

- -

See Also - a sample TUI Script of a Maximum - Element Volume hypothesis operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/merging_nodes.htm b/doc/salome/gui/SMESH/files/merging_nodes.htm deleted file mode 100755 index 62089e843..000000000 --- a/doc/salome/gui/SMESH/files/merging_nodes.htm +++ /dev/null @@ -1,177 +0,0 @@ - - - - - -Merging nodes - - - - - - - - - - - - -

Merging nodes

- -

This functionality allows user to detect groups of coincident - nodes with desirable tolerance, edit these groups and merge.

- -

 

- -

To merge nodes of your mesh:

- -

 

- -

1. From the Modification - choose Transformation and -  from its - sub-menu select the Merge nodes item. - The following dialog box shall appear:

- -

 

- -

- -

 

- - - -

 

- -

To confirm your choice click OK - or Apply button.

- -

 

- -

            

- -

 

- -

 

- -

  See - Also a sample TUI Script of a Merge - Nodes operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/minimum_angle.htm b/doc/salome/gui/SMESH/files/minimum_angle.htm deleted file mode 100755 index edf891759..000000000 --- a/doc/salome/gui/SMESH/files/minimum_angle.htm +++ /dev/null @@ -1,134 +0,0 @@ - - - - - -Minimum angle - - - - - - - - - - - - - -

Minimum angle

- -

Minimum angle - mesh quality criterion consists of calculation of the minimum value of - angle between two adjacent sides of a 2D meshing element (triangle or - quadrangle).

- -

 

- -

To apply the Minimum angle quality criterion to your mesh:

- -

 

- -

1. Display your mesh in the viewer.

- -

 

- -

2. Choose Controls - > Minimum angle or click button. Your mesh will - be displayed in the viewer with its elements colored according to the - applied mesh quality control criterion:

- -

 

- -

- -

 

- -

See Also - a sample TUI Script of a Minimum - Angle quality control operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/non_conform_mesh_allowed_hypothesis.htm b/doc/salome/gui/SMESH/files/non_conform_mesh_allowed_hypothesis.htm deleted file mode 100755 index f79a74bc2..000000000 --- a/doc/salome/gui/SMESH/files/non_conform_mesh_allowed_hypothesis.htm +++ /dev/null @@ -1,142 +0,0 @@ - - - - - -Non conform mesh allowed hypothesis - - - - - - - - - - - - - -

Additional Hypotheses

- -

Additional Hypotheses can be - applied as a supplement to the main hypotheses, introducing additional - concepts to mesh creation.

- -

 

- -

To define an Additional Hypothesis - simply select it in Create Mesh - menu. These hypotheses are actually changes in the rules of mesh creation - and as such don't possess adjustable values.

- -

Non Conform mesh allowed hypothesis

- -

Non Conform mesh allowed hypothesis - allows to generate non-conform meshes (that is, meshes having some edges - ending on an edge or face of adjacent elements).

- -

Quadratic Mesh

- -

Quadratic Mesh hypothesis allows to build a quadratic mesh (whose edges - are not straight but broken lines and can be defined by three points: - first, middle and last) instead of an ordinary one.  

- -

Propagation of 1D Hypothesis on opposite edges

- -

Propagation of 1D Hypothesis on opposite - edges allows to propagate a hypothesis onto an opposite edge. If - a local hypothesis and propagation are defined on an edge of a quadrangular - face, the opposite edge will have the same hypothesis, unless another - hypothesis has been locally defined on the opposite edge.

- -

 

- -

See Also - a sample TUI Script of a Propagation - hypothesis operation.  

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/reassigning_hypotheses_and_algorithms.htm b/doc/salome/gui/SMESH/files/reassigning_hypotheses_and_algorithms.htm deleted file mode 100755 index 95141e9ec..000000000 --- a/doc/salome/gui/SMESH/files/reassigning_hypotheses_and_algorithms.htm +++ /dev/null @@ -1,147 +0,0 @@ - - - - - -Reassigning hypotheses and algorithms - - - - - - - - - - - - - -

Editing Meshes

- -

After you have created a mesh or submesh with definite applied hypotheses - and algorithms you can edit your mesh by assigning - new hypotheses and algorithms or unassigning - the applied hypotheses and algorithms. The editing proceeds in - the same way as Mesh Creation. -

- -

 

- -

- -

You can also change values for the current hypothesis by clicking the - button.

- -

 

- -

See how a mesh constructed on one and the same geometrical object changes - if we apply different algorithms to it.

- -

 

- -

 

- -

 

- -

- -

 

- -

 

- -

See Also - a sample TUI Script of an Edit - Mesh operation.  

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/removing_nodes_and_elements.htm b/doc/salome/gui/SMESH/files/removing_nodes_and_elements.htm deleted file mode 100755 index 9b720e967..000000000 --- a/doc/salome/gui/SMESH/files/removing_nodes_and_elements.htm +++ /dev/null @@ -1,246 +0,0 @@ - - - - - -Removing nodes and elements - - - - - - - - - - - - - -

Removing nodes and elements

- -

In MESH you can remove nodes and all types of cells of your mesh.

- -

 

- - - -

 

- -

To remove a node:

- -

 

- -

1. Select your mesh in the Object Browser - or in the 3D viewer.

- -

 

- -

2. From the Modification - menu choose Remove and - from the associated submenu select the Remove - nodes, or just click icon in the toolbar. The - following dialog box will appear:

- -

 

- -

- -

 

- -

In this dialog box you can specify one or - several nodes (with pressed Shift button) by choosing them in the 3D viewer.

- -

 

- -

3. Click OK - or Apply  to - confirm deletion of the specified nodes.

- -

 

- -

Be careful while removing - nodes because if you remove a definite node of your mesh all adjacent - elements will be also deleted.

- -

 

- - --- - - - -
-

-

- -

 

- -

 

- -

To remove an element:

- -

 

- -

1. Select your mesh in the Object Browser - or in the 3D viewer.

- -

 

- -

2. From the Modification - menu choose Remove and - from the associated submenu select the Remove - elements, or just click icon in the toolbar. The - following dialog box will appear:

- -

 

- -

- -

 

- -

In this dialog box you can specify one or - several elements of your mesh (with pressed Shift button) by choosing - them in the 3D viewer.

- -

 

- -

3. Click OK - or Apply  to - confirm deletion of the specified elements.

- -

 

- - --- - - - -
-

-

- -

 

- -

 

- -

  See - Also a sample TUI Script of a Removing - Nodes and Elements operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/renumbering_nodes_and_elements.htm b/doc/salome/gui/SMESH/files/renumbering_nodes_and_elements.htm deleted file mode 100755 index 577cd3356..000000000 --- a/doc/salome/gui/SMESH/files/renumbering_nodes_and_elements.htm +++ /dev/null @@ -1,176 +0,0 @@ - - - - - -Renumbering nodes and elements - - - - - - - - - - - - -

Renumbering nodes and elements

- -

In MESH you can renumber the nodes and elements of your mesh.

- -

 

- - - -

 

- -

To renumber the nodes of your mesh:

- -

 

- -

1. In the Modification - menu select Renumbering submenu - and choose the Nodes item or click - button in the toolbar. The following dialog box will - appear:

- -

 

- -

- -

 

- -

2. Fill the Mesh - field by selecting your mesh in the Object Browser or in the 3D - viewer.

- -

 

- -

3. Click the Apply - or OK button - to perform the operation.

- -

 

- -

 

- -

To renumber the elements of your - mesh:

- -

 

- -

1. In the Modification - menu select Renumbering submenu - and choose the Elements item or - click button in the toolbar. The following dialog box will - appear:

- -

 

- -

- -

 

- -

2. Fill the Mesh - field by selecting your mesh in the Object Browser or in the 3D - viewer.

- -

 

- -

3. Click the Apply - or OK button - to perform the operation.

- -

 

- -

  See - Also a sample TUI Script of a Renumbering - Nodes and Elements operation. -  

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/rotation.htm b/doc/salome/gui/SMESH/files/rotation.htm deleted file mode 100755 index 2e825820b..000000000 --- a/doc/salome/gui/SMESH/files/rotation.htm +++ /dev/null @@ -1,142 +0,0 @@ - - - - - -Rotation - - - - - - - - - - - - -

Rotation

- -

This geometrical operation allows to rotate in space your mesh or some - of its elements.

- -

 

- -

 To - rotate your mesh:

- -

 

- -

From the Modification - choose Transformation and -  from its - sub-menu select the Rotation item. - The following dialog box shall appear:

- -

 

- -

- -

 

- -

In this dialog box you can specify the elements - which should be rotated and the rotation parameters:

- - - -

 

- -

Create a - copy radio button allows to copy the rotated object.

- -

 

- -

  See - Also a sample TUI Script of a Rotation - operation.  

- -

 

- -

  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/running_smesh_module.htm b/doc/salome/gui/SMESH/files/running_smesh_module.htm deleted file mode 100755 index a00aac946..000000000 --- a/doc/salome/gui/SMESH/files/running_smesh_module.htm +++ /dev/null @@ -1,111 +0,0 @@ - - - - - -Running SMESH module - - - - - - - - - - - - -

Running MESH module

- -

To start MESH module in SALOME click icon in the - bottom toolbar or select MESH -  from the - Choose box:                      

- -

 

- -

The desktop of the SALOME - platform will be updated with additional toolbars and menus related to - the MESH component .

- -

 

- -

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/sewing_meshes.htm b/doc/salome/gui/SMESH/files/sewing_meshes.htm deleted file mode 100755 index 3a461cf25..000000000 --- a/doc/salome/gui/SMESH/files/sewing_meshes.htm +++ /dev/null @@ -1,342 +0,0 @@ - - - - - -Sewing meshes - - - - - - - - - - - - - -

Sewing meshes

- -

In SMESH you can sew elements of  different - meshes. The current functionality allows you to sew:

- -

 

- - - -

 

- -

To sew elements of different meshes:

- -

 

- -

1. From the Modification - menu choose the Transformation - item and  from - its sub-menu select the Sewing item. -

- -

2. Check in the dialog box one of the radio - buttons corresponding to the type of sewing operation you would like to - perform.

- -

3. Fill the other fields available in the - dialog box

- -

4. Click the OK - or Apply button - to perform the operation of sewing.

- -

Sew free borders

- -

This functionality allows you to unite two free borders of a 2D mesh.

- -

 

- -

For sewing free borders you should define three points on each border: - first, second and the last node:

- -

 

- - - -

 

- -

You can select these nodes in the 3D viewer or define by its id.

- -

 

- -

The first and the second nodes should belong to the same link of a face. - The second and the last nodes of a border can be the same. The first and - the last nodes of two borders can be the same. The corresponding end nodes - of two borders will be merged. Intermediate nodes of two borders will - be either merged or inserted into faces of the opposite border.

- -

 

- -

The sewing algorithm is as follows:

- -

 

- -

1. The parameter (U) of each node within - a border is computed. So that the first node has U=0.0, the last node - has U=1.0, for the rest nodes 0.0 < U < 1.0;

- -

2. Compare node parameters of the two borders. - If two nodes of the opposite borders have close parameters, they are merged, - i.e. a node of the first border is replaced in all elements by a node - of the second border. If a node has no node with a close parameter in - the opposite border, it is inserted into an edge of element of the opposite - border, an element is split. Two nodes are considered close enough to - merge, if difference of their parameters is less than one fifth of minimum - length of adjacent face edges on the borders.

- -

 

- -

- -

 

- -

  See - Also a sample TUI Script of a Sew - Free Borders operation.  

- -

 

- -

 

- -

Sew conform free borders

- -

This functionality can be used to unite two free borders of a 2D mesh. -

- -

 

- -

The borders of meshes for sewing are defined as for "Sew free borders" - except that the second free border is not limited and can be defined by - the first and the second nodes only. The first nodes of two borders can - be the same.

- -

 

- -

The algorithm is following: counting nodes starting at the first ones, - the n-th node of the first border is merged with the n-th node of the - other border, until the end of either of borders. Nodes of the first border - are replaced in all elements with corresponding nodes of the second border.

- -

For sewing conform free borders you should define three points on the - first border and two points on the second one. User can select these nodes - in 3D viewer or define node by its id.

- -

 

- -

 

- -

 

- -

 

- -

 

- -

 

- -

 

- -

  See - Also a sample TUI Script of a Sew - Conform Free Borders operation.  

- -

 

- -

 

- -

Sew border to side

- -

"Sew border to side" is intended to sew a free border to a - mesh surface.

- -

The free border is defined as for "Sewing of free borders". - The place where to sew the border is defined by two nodes, between which - the border faces are placed, so that the first border node is merged with - the first node on the side and the last node of the border is merged with - the second specified node on the side.

- -

 

- -

 

- -

The algorithm is following.

- -

1. Find a sequence of linked nodes on the side such that the found links - to be most co-directed with the links of the free border.

- -

2. Sew two sequences of nodes using algorithm of "Sewing of free - berders".

- -

For sewing border to side you should define three points on the border - and two points on the side. User can select these nodes in 3D viewer or - define node by its id.

- -

- -

  See - Also a sample TUI Script of a Sew - Border to Side operation.  

- -

 

- -

 

- -

Sew side elements

- -

This operation is intended to unite two mesh - surfaces.

- -

 

- -

Surfaces may be defined by either 2d or 3d elements. The number of given - elements of the sides must be the same. The sets of given elements must - be topologically equal, i.e. each node of one element set must have a - corresponding node in the other element set and corresponding nodes must - be equally linked. If there are 3d elements in a set, only their free - faces must obey to that rule.

- -

Two corresponding nodes on each side must be specified. They must belong - to one element and must be located on an element set boundary.

- -

 

- -

Sewing algorithm finds and merges the corresponding nodes starting from - the specified ones.

- -

- -

- -

For sewing side elements you should define elements for sewing and two - nodes for merging on the each side. User can select these elements and - nodes in 3D viewer or define them by its id.

- -

 

- -

See Also a sample TUI Script - of a Sew Side Elements - operation.  

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/skew.htm b/doc/salome/gui/SMESH/files/skew.htm deleted file mode 100755 index cfeac0793..000000000 --- a/doc/salome/gui/SMESH/files/skew.htm +++ /dev/null @@ -1,141 +0,0 @@ - - - - - -Skew - - - - - - - - - - - - - -

Skew

- -

Skew mesh quality - criterion reflects the angle between the lines that join opposite sides - of the element. SKEW  is - a maximum value of all skew angles. This - mesh quality criterion can be applied to elements composed of 4 and 3 - nodes (quadrangles and triangles)

- -

 

- -

- -

 

- -

To apply the Skew quality criterion to your mesh:

- -

 

- -

1. Display your mesh in the viewer.

- -

 

- -

2. Choose Controls - > Skew or click button of the toolbar. Your mesh - will be displayed in the viewer with its elements colored according to - the applied mesh quality control criterion:

- -

 

- -

- -

 

- -

See Also - a sample TUI Script of a Skew - quality control operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/smoothing.htm b/doc/salome/gui/SMESH/files/smoothing.htm deleted file mode 100755 index 5b34249e0..000000000 --- a/doc/salome/gui/SMESH/files/smoothing.htm +++ /dev/null @@ -1,196 +0,0 @@ - - - - - -Smoothing - - - - - - - - - - - - -

Smoothing

- -

Smoothing is used to adjust the locations of element - corners (nodes) to reduce distortions in these elements.

- -

 

- -

To apply smoothing to the elements of your mesh:

- -

 

- -

1. Display a mesh or a submesh in the 3D - viewer.

- -

2. In the Modification - menu select the Smoothing item - or click button in the toolbar. The dialog - box contains the following fields which should be specified:

- -

 

- -

       

- - - -

 

- -

- - - -

 

- -

3. Click the Apply - or OK button to confirm - the operation.

- -

 

- -

        

- -

 

- -

  See - Also a sample TUI Script of a Smoothing - operation.  

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/symmetry.htm b/doc/salome/gui/SMESH/files/symmetry.htm deleted file mode 100755 index b8e622996..000000000 --- a/doc/salome/gui/SMESH/files/symmetry.htm +++ /dev/null @@ -1,147 +0,0 @@ - - - - - -Symmetry - - - - - - - - - - - - -

Symmetry

- -

This geometrical operation allows to perform a symmetrical copy of your - mesh or some of its elements.

- -

 

- -

 To - apply symmetry to your mesh:

- -

 

- -

From the Modification - choose Transformation and -  from its - sub-menu select the Symmetry item. - The following dialog box shall appear:

- -

 

- -

- -

 

- -

- -

 

- -

- -

 

- -

This operation has three options, you can - symmetrically copy your mesh or some of its elements specifying:

- - - -

 

- -

Create a - copy radio button allows to keep the initial elements or mesh.

- -

 

- -

  See - Also a sample TUI Script of a Symmetry - operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/taper.htm b/doc/salome/gui/SMESH/files/taper.htm deleted file mode 100755 index 9ea8a26a7..000000000 --- a/doc/salome/gui/SMESH/files/taper.htm +++ /dev/null @@ -1,141 +0,0 @@ - - - - - -Taper - - - - - - - - - - - - - -

Taper

- -

Taper mesh quality - criterion represents the ratio of the areas of two triangles separated - by a diagonal. So it can be calculated only for elements consisting of - 4 nodes.

- -

 

- -

- -

 

- -

 

- -

To apply the Taper quality criterion to your mesh:

- -

 

- -

1. Display your mesh in the viewer.

- -

 

- -

2. Choose Controls - > Taper or click button in the toolbar. Your mesh - will be displayed in the viewer with its elements colored according to - the applied mesh quality control criterion:

- -

 

- -

- -

 

- -

See Also - a sample TUI Script of a Taper - quality control operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/translation.htm b/doc/salome/gui/SMESH/files/translation.htm deleted file mode 100755 index 82be5851d..000000000 --- a/doc/salome/gui/SMESH/files/translation.htm +++ /dev/null @@ -1,137 +0,0 @@ - - - - - -Translation - - - - - - - - - - - - -

Translation

- -

This geometrical operation allows to translate in space your mesh or - some of its elements.

- -

 

- -

 To - translate your mesh:

- -

 

- -

From the Modification - choose Transformation and -  from its - sub-menu select the Translation item. - The following dialog box shall appear:

- -

 

- -

  

- -

 

- -

This operation has two options, you can translate - in space your mesh or some of its elements specifying:

- - - -

Toggle the corresponding checkbox to Select whole mesh, submesh or group.

- -

Create a - copy button allows to copy the translated object.

- -

 

- -

  See - Also a sample TUI Script of a Translation - operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/uniting_a_set_of_triangles.htm b/doc/salome/gui/SMESH/files/uniting_a_set_of_triangles.htm deleted file mode 100755 index 69e6ea13b..000000000 --- a/doc/salome/gui/SMESH/files/uniting_a_set_of_triangles.htm +++ /dev/null @@ -1,183 +0,0 @@ - - - - - -Uniting a set of triangles - - - - - - - - - - - - - -

Uniting a set of triangles

- -

In contrast to the - previous operation this one allows to unite at once many triangles - if they have adjacent edges.

- -

 

- -

To union several triangles:

- -

 

- -

- -

 

- -

1. Display a mesh or a submesh in the 3D - viewer.

- -

2. In the Modification - menu select the Union of triangles - item or click button in the toolbar. The following - dialog box will appear:

- -

 

- - - -

 

- -

3. Click the Apply - or OK button to confirm - the operation.

- -

 

- -

If some selected triangle - elements have no adjacent edges with one of the others, the operation - on these elements shall take no effect.

- -

 

- -

   

- -

 

- -

 See - Also a sample TUI Script of a Uniting - a Set of Triangles operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/uniting_two_triangles.htm b/doc/salome/gui/SMESH/files/uniting_two_triangles.htm deleted file mode 100755 index 738ef90f0..000000000 --- a/doc/salome/gui/SMESH/files/uniting_two_triangles.htm +++ /dev/null @@ -1,151 +0,0 @@ - - - - - -Uniting two triangles - - - - - - - - - - - - -

Uniting two triangles

- -

 In MESH - you can union two neighboring triangles (cells) by deletion of the common - edge.

- -

 

- -

To unite two triangles:

- -

 

- -

1. From the Modification - menu choose the Union of two triangles - item or click button in the toolbar. The following - dialog box shall appear:

- -

 

- -

- -

 

- -

2. Enter the ID of the required edge in the - Edge  field - or select this edge in the 3D viewer.

- -

 

- -

3. Click the Apply - or OK button.

- -

 

- -

 

- - --- - - - -
-

-

- -

 

- -

  See - Also a sample TUI Script of a Uniting - Two Triangles operation.  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/using_operations_on_groups.htm b/doc/salome/gui/SMESH/files/using_operations_on_groups.htm deleted file mode 100755 index 4cd9fa069..000000000 --- a/doc/salome/gui/SMESH/files/using_operations_on_groups.htm +++ /dev/null @@ -1,315 +0,0 @@ - - - - - -Using operations on groups - - - - - - - - - - - - - -

Using operations on groups

- -

In MESH you can - perform some Boolean operations on groups, which belong to one and the - same mesh.

- -

 

- - - -

 

- -

Union of two groups

- -

This operation allows to create a new group in such a way that all mesh - elements that are present in the initial groups will be added to the new - one.

- -

 

- -

To union two groups:

- -

 

- -

1. In the Mesh - menu select the Union Groups item. - The following dialog box will appear:

- -

 

- - --- - - - -
-

-

       

-

            Group1 -                         Group2 -                          Group12

-

 

-

For example, we have two groups Group1 and Group2.

-

The result of their Union will - be Group12   

- -

  

- -

 In - this dialog box you should specify the name - of the resulting group and two - groups which will be united.

- -

 

- -

2. Click the Ok - or  Apply - button to confirm creation of the group.

- -

 

- -

See Also - a sample TUI Script of a Union - of two Groups operation.  

- -

 

- -

 

- -

 

- -

Intersection of two groups

- -

This operation allows to create a new group in such a way that all mesh - elements that are present in both initial groups are added to the new - one.

- -

 

- -

To intersect two groups:

- -

 

- -

1. In the Mesh - menu select the Intersect Groups - item. The following dialog box will appear:

- -

 

- - --- - - - -
-

-

 

-

            Group1 -                         Group2 -                    Group12a

-

 

-

For example, we have two groups Group1 and Group2.

-

The result of their Intersection - will be Group12a   

- -

 

- -

In this dialog box you should specify the - name of the resulting group and - two groups which will be intersected.

- -

 

- -

2. Click the Ok - or  Apply - button to confirm creation of the group.

- -

 

- -

 See - Also a sample TUI Script of an  Intersection - of two Groups operation.  

- -

 

- -

Cut of two groups

- -

This operation allows to create a new group in such a way that all mesh - elements that are present in the main group but are absent in the tool - group are added to the new one.

- -

 

- -

To cut two groups:

- -

 

- -

1. In the Mesh - menu select the Cut Groups item. - The following dialog box will appear:

- -

 

- - --- - - - -
-

-

    

-

           Group1 -                          Group2 -                        Group12b

-

 

-

For example, we have two groups Group1 and Group2.

-

The result of their Cut will - be Group12b   

- -

 

- -

In this dialog box you should specify the - name of the resulting group and - two groups which will be cut.

- -

 

- -

2. Click the Ok - or  Apply - button to confirm creation of the group.  

- -

 

- -

  See - Also a sample TUI Script of a  Cut - of two Groups operation.  

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/viewing_mesh_info.htm b/doc/salome/gui/SMESH/files/viewing_mesh_info.htm deleted file mode 100755 index 79ea7f764..000000000 --- a/doc/salome/gui/SMESH/files/viewing_mesh_info.htm +++ /dev/null @@ -1,194 +0,0 @@ - - - - - -Viewing mesh info - - - - - - - - - - - - - -

Mesh infos

- -

There are two types of information boxes: Standard - Mesh Infos, Advanced Mesh Infos and Mesh Element Info.

- -

 

- - - -

 

- -

Standard Mesh Infos

- -

The Standard - Mesh Infos box gives only the information on the number of elements - of maximum dimension and the number of nodes in the mesh. However, from - this Info you can learn about groups selected on this mesh.

- -

To view the Standard - Mesh Infos, select your mesh or submesh in the Object - Browser and select Standard Mesh Infos from - the Mesh menu or click - button in the toolbar. The following information will - be displayed:

- -

 

- -

- -

 

- -

Advanced Mesh Infos

- - -

The Advanced Mesh - Infos gives more information about the mesh, including the total - number of faces and volumes and their geometrical types.

- -

To view the Advanced Mesh Infos, select - your mesh or submesh in the Object Browser - and select Advanced - Mesh Infos from the Mesh menu or click button - in the toolbar. The following information will be displayed:

- -

 

- -

- -

 

- -

 

- -

In case you get Mesh Infos via a TUI - script, the information is displayed in Python Console.

- -

 

- -

- -

 

- -

Mesh Element Infos

- -

The Mesh Element Infos box gives - basic information about the type and the coordinates of the selected mesh - element.

- -

 

- -

  

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/files/warp.htm b/doc/salome/gui/SMESH/files/warp.htm deleted file mode 100755 index a67d0e2f3..000000000 --- a/doc/salome/gui/SMESH/files/warp.htm +++ /dev/null @@ -1,156 +0,0 @@ - - - - - -Warp - - - - - - - - - - - - - -

Warping

- -

Warping indicates - that a face is not planar and is applied only to 2D elements with 4 nodes. - This quality control criterion is based on a projection plane created - by:

- -

1. bisecting the four element edges,

- -

2. creating a point on the plane at the vector - average of the corners, where the x-axis extends from the point to the - bisector on edge 2.

- -

The plane normal is in the direction of the - cross product of the x-axis and the vector from the origin to the bisector - of edge 3. Every corner of the quad will then be a distance “h” from the - plane. The length of each half edge is measured and the shortest length - is assigned “l”. The warp angle is the arcsine of the ratio of the projection - height “h” to the half edge length “l”.

- -

 

- -

- -

 

- -

 

- -

To apply the Warping quality criterion to your mesh:

- -

 

- -

1. Display your mesh in the viewer.

- -

 

- -

2. Choose Controls - > Warp or click button of the toolbar. Your mesh - will be displayed in the viewer with its elements colored according to - the applied mesh quality control criterion:

- -

 

- -

- -

 

- -

See Also - a sample TUI Script of a Warping - quality control operation.  

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/SMESH/pics/a-arithmetic1d.png b/doc/salome/gui/SMESH/pics/a-arithmetic1d.png deleted file mode 100755 index d34a5e24c..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-arithmetic1d.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-averagelength.png b/doc/salome/gui/SMESH/pics/a-averagelength.png deleted file mode 100755 index dc007eb57..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-averagelength.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-clipping2.png b/doc/salome/gui/SMESH/pics/a-clipping2.png deleted file mode 100755 index 639792ca3..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-clipping2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-creategroup.png b/doc/salome/gui/SMESH/pics/a-creategroup.png deleted file mode 100755 index 38ef5a856..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-creategroup.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-createpolyhedralvolume.png b/doc/salome/gui/SMESH/pics/a-createpolyhedralvolume.png deleted file mode 100755 index 532eac08f..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-createpolyhedralvolume.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-cuttingofquadrangles.png b/doc/salome/gui/SMESH/pics/a-cuttingofquadrangles.png deleted file mode 100755 index ff9ae68e1..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-cuttingofquadrangles.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-deflection1d.png b/doc/salome/gui/SMESH/pics/a-deflection1d.png deleted file mode 100755 index 57fd8597a..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-deflection1d.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-extusionalongapath2.png b/doc/salome/gui/SMESH/pics/a-extusionalongapath2.png deleted file mode 100755 index f120fc3c0..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-extusionalongapath2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-filteronedges.png b/doc/salome/gui/SMESH/pics/a-filteronedges.png deleted file mode 100755 index 48b3ece01..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-filteronedges.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-maxelarea.png b/doc/salome/gui/SMESH/pics/a-maxelarea.png deleted file mode 100755 index b4af4b23f..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-maxelarea.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-maxelvolume.png b/doc/salome/gui/SMESH/pics/a-maxelvolume.png deleted file mode 100755 index 2611807fd..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-maxelvolume.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-nbsegments1.png b/doc/salome/gui/SMESH/pics/a-nbsegments1.png deleted file mode 100755 index 35c09094d..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-nbsegments1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-nbsegments2.png b/doc/salome/gui/SMESH/pics/a-nbsegments2.png deleted file mode 100755 index 7f33c61ff..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-nbsegments2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-patterntype.png b/doc/salome/gui/SMESH/pics/a-patterntype.png deleted file mode 100755 index 3383cd75e..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-patterntype.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-patterntype1.png b/doc/salome/gui/SMESH/pics/a-patterntype1.png deleted file mode 100755 index 38449225a..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-patterntype1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-standmeshinfo.png b/doc/salome/gui/SMESH/pics/a-standmeshinfo.png deleted file mode 100755 index 6b35f0a99..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-standmeshinfo.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-startendlength.png b/doc/salome/gui/SMESH/pics/a-startendlength.png deleted file mode 100755 index e48f617d2..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-startendlength.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-transparency.png b/doc/salome/gui/SMESH/pics/a-transparency.png deleted file mode 100755 index 8e7498d58..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-transparency.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-unionoftriangles.png b/doc/salome/gui/SMESH/pics/a-unionoftriangles.png deleted file mode 100755 index d9ef53c11..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-unionoftriangles.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/a-viewgeneral.png b/doc/salome/gui/SMESH/pics/a-viewgeneral.png deleted file mode 100755 index 09b7c2391..000000000 Binary files a/doc/salome/gui/SMESH/pics/a-viewgeneral.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/add.gif b/doc/salome/gui/SMESH/pics/add.gif deleted file mode 100644 index 26350e420..000000000 Binary files a/doc/salome/gui/SMESH/pics/add.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/add_edge.png b/doc/salome/gui/SMESH/pics/add_edge.png deleted file mode 100755 index 8a532e1d9..000000000 Binary files a/doc/salome/gui/SMESH/pics/add_edge.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/add_node.png b/doc/salome/gui/SMESH/pics/add_node.png deleted file mode 100755 index cb50bf6e6..000000000 Binary files a/doc/salome/gui/SMESH/pics/add_node.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/add_polygone.png b/doc/salome/gui/SMESH/pics/add_polygone.png deleted file mode 100755 index a76baceae..000000000 Binary files a/doc/salome/gui/SMESH/pics/add_polygone.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/add_polyhedron.png b/doc/salome/gui/SMESH/pics/add_polyhedron.png deleted file mode 100755 index 2e23634c9..000000000 Binary files a/doc/salome/gui/SMESH/pics/add_polyhedron.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/add_quadrangle.png b/doc/salome/gui/SMESH/pics/add_quadrangle.png deleted file mode 100755 index f25b94d9f..000000000 Binary files a/doc/salome/gui/SMESH/pics/add_quadrangle.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/add_triangle.png b/doc/salome/gui/SMESH/pics/add_triangle.png deleted file mode 100755 index 41c335929..000000000 Binary files a/doc/salome/gui/SMESH/pics/add_triangle.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/addedge.png b/doc/salome/gui/SMESH/pics/addedge.png deleted file mode 100755 index c9eeaf970..000000000 Binary files a/doc/salome/gui/SMESH/pics/addedge.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/addhexahedron.png b/doc/salome/gui/SMESH/pics/addhexahedron.png deleted file mode 100755 index fd2ef245a..000000000 Binary files a/doc/salome/gui/SMESH/pics/addhexahedron.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/addnode.png b/doc/salome/gui/SMESH/pics/addnode.png deleted file mode 100755 index 167a966b8..000000000 Binary files a/doc/salome/gui/SMESH/pics/addnode.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/addpolygon.png b/doc/salome/gui/SMESH/pics/addpolygon.png deleted file mode 100755 index 785a62341..000000000 Binary files a/doc/salome/gui/SMESH/pics/addpolygon.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/addquadrangle.png b/doc/salome/gui/SMESH/pics/addquadrangle.png deleted file mode 100755 index 2bbddf158..000000000 Binary files a/doc/salome/gui/SMESH/pics/addquadrangle.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/addtetrahedron.png b/doc/salome/gui/SMESH/pics/addtetrahedron.png deleted file mode 100755 index 0a415707a..000000000 Binary files a/doc/salome/gui/SMESH/pics/addtetrahedron.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/addtriangle.png b/doc/salome/gui/SMESH/pics/addtriangle.png deleted file mode 100755 index 405d6f57f..000000000 Binary files a/doc/salome/gui/SMESH/pics/addtriangle.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/advanced_mesh_infos.png b/doc/salome/gui/SMESH/pics/advanced_mesh_infos.png deleted file mode 100755 index f8341e892..000000000 Binary files a/doc/salome/gui/SMESH/pics/advanced_mesh_infos.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/aqt.png b/doc/salome/gui/SMESH/pics/aqt.png deleted file mode 100755 index 32e36bd0e..000000000 Binary files a/doc/salome/gui/SMESH/pics/aqt.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/automaticlength.png b/doc/salome/gui/SMESH/pics/automaticlength.png deleted file mode 100755 index d96ffc82d..000000000 Binary files a/doc/salome/gui/SMESH/pics/automaticlength.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/b-art_end_length.png b/doc/salome/gui/SMESH/pics/b-art_end_length.png deleted file mode 100755 index 26da5fa73..000000000 Binary files a/doc/salome/gui/SMESH/pics/b-art_end_length.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/b-erage_length.png b/doc/salome/gui/SMESH/pics/b-erage_length.png deleted file mode 100755 index f64077c90..000000000 Binary files a/doc/salome/gui/SMESH/pics/b-erage_length.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/b-flection1d.png b/doc/salome/gui/SMESH/pics/b-flection1d.png deleted file mode 100755 index e160cf55d..000000000 Binary files a/doc/salome/gui/SMESH/pics/b-flection1d.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/b-ithmetic1d.png b/doc/salome/gui/SMESH/pics/b-ithmetic1d.png deleted file mode 100755 index 72f76b951..000000000 Binary files a/doc/salome/gui/SMESH/pics/b-ithmetic1d.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/b-mberofsegments.png b/doc/salome/gui/SMESH/pics/b-mberofsegments.png deleted file mode 100755 index 27f68685e..000000000 Binary files a/doc/salome/gui/SMESH/pics/b-mberofsegments.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/b-mesh_infos.png b/doc/salome/gui/SMESH/pics/b-mesh_infos.png deleted file mode 100755 index 6abd3c184..000000000 Binary files a/doc/salome/gui/SMESH/pics/b-mesh_infos.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/buildcompound.png b/doc/salome/gui/SMESH/pics/buildcompound.png deleted file mode 100755 index 79a6073f2..000000000 Binary files a/doc/salome/gui/SMESH/pics/buildcompound.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/circle_angles_after.png b/doc/salome/gui/SMESH/pics/circle_angles_after.png deleted file mode 100644 index f4c606bde..000000000 Binary files a/doc/salome/gui/SMESH/pics/circle_angles_after.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/circle_simple_after.png b/doc/salome/gui/SMESH/pics/circle_simple_after.png deleted file mode 100644 index 99f65b558..000000000 Binary files a/doc/salome/gui/SMESH/pics/circle_simple_after.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/circle_simple_before.png b/doc/salome/gui/SMESH/pics/circle_simple_before.png deleted file mode 100644 index 95b90373f..000000000 Binary files a/doc/salome/gui/SMESH/pics/circle_simple_before.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/create_group.png b/doc/salome/gui/SMESH/pics/create_group.png deleted file mode 100755 index 6fc2367b3..000000000 Binary files a/doc/salome/gui/SMESH/pics/create_group.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/creategroup.png b/doc/salome/gui/SMESH/pics/creategroup.png deleted file mode 100755 index 207e2099e..000000000 Binary files a/doc/salome/gui/SMESH/pics/creategroup.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/createmesh-inv.png b/doc/salome/gui/SMESH/pics/createmesh-inv.png deleted file mode 100755 index 8273aac45..000000000 Binary files a/doc/salome/gui/SMESH/pics/createmesh-inv.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/createmesh-inv2.png b/doc/salome/gui/SMESH/pics/createmesh-inv2.png deleted file mode 100755 index 2bee11b7c..000000000 Binary files a/doc/salome/gui/SMESH/pics/createmesh-inv2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/createmesh-inv3.png b/doc/salome/gui/SMESH/pics/createmesh-inv3.png deleted file mode 100755 index 6dfabaaa8..000000000 Binary files a/doc/salome/gui/SMESH/pics/createmesh-inv3.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/curvi_angles_after.png b/doc/salome/gui/SMESH/pics/curvi_angles_after.png deleted file mode 100644 index 9d06262b0..000000000 Binary files a/doc/salome/gui/SMESH/pics/curvi_angles_after.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/curvi_simple_after.png b/doc/salome/gui/SMESH/pics/curvi_simple_after.png deleted file mode 100644 index ae1d98fdf..000000000 Binary files a/doc/salome/gui/SMESH/pics/curvi_simple_after.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/curvi_simple_before.png b/doc/salome/gui/SMESH/pics/curvi_simple_before.png deleted file mode 100644 index a0bbf73bd..000000000 Binary files a/doc/salome/gui/SMESH/pics/curvi_simple_before.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/cut_groups1.png b/doc/salome/gui/SMESH/pics/cut_groups1.png deleted file mode 100755 index f066a5541..000000000 Binary files a/doc/salome/gui/SMESH/pics/cut_groups1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/cut_groups2.png b/doc/salome/gui/SMESH/pics/cut_groups2.png deleted file mode 100755 index 3ec7a93d1..000000000 Binary files a/doc/salome/gui/SMESH/pics/cut_groups2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/cut_groups3.png b/doc/salome/gui/SMESH/pics/cut_groups3.png deleted file mode 100755 index 1c5ebed80..000000000 Binary files a/doc/salome/gui/SMESH/pics/cut_groups3.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/cutgroups.png b/doc/salome/gui/SMESH/pics/cutgroups.png deleted file mode 100755 index 87e6da88b..000000000 Binary files a/doc/salome/gui/SMESH/pics/cutgroups.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/deletegroups.png b/doc/salome/gui/SMESH/pics/deletegroups.png deleted file mode 100755 index 383a79aa8..000000000 Binary files a/doc/salome/gui/SMESH/pics/deletegroups.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/diagonalinversion.png b/doc/salome/gui/SMESH/pics/diagonalinversion.png deleted file mode 100755 index 967e7a12e..000000000 Binary files a/doc/salome/gui/SMESH/pics/diagonalinversion.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/dialog.png b/doc/salome/gui/SMESH/pics/dialog.png deleted file mode 100755 index 38ece87dc..000000000 Binary files a/doc/salome/gui/SMESH/pics/dialog.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/distribution_of_layers.png b/doc/salome/gui/SMESH/pics/distribution_of_layers.png deleted file mode 100644 index 3d01d66f4..000000000 Binary files a/doc/salome/gui/SMESH/pics/distribution_of_layers.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/distributionwithanalyticdensity.png b/doc/salome/gui/SMESH/pics/distributionwithanalyticdensity.png deleted file mode 100755 index 87ebc5ffe..000000000 Binary files a/doc/salome/gui/SMESH/pics/distributionwithanalyticdensity.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/distributionwithtabledensity.png b/doc/salome/gui/SMESH/pics/distributionwithtabledensity.png deleted file mode 100755 index 9ea6cab98..000000000 Binary files a/doc/salome/gui/SMESH/pics/distributionwithtabledensity.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/edge_wire_3d_after.png b/doc/salome/gui/SMESH/pics/edge_wire_3d_after.png deleted file mode 100644 index 3fab59803..000000000 Binary files a/doc/salome/gui/SMESH/pics/edge_wire_3d_after.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/edge_wire_3d_before.png b/doc/salome/gui/SMESH/pics/edge_wire_3d_before.png deleted file mode 100644 index 28f986830..000000000 Binary files a/doc/salome/gui/SMESH/pics/edge_wire_3d_before.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/edge_wire_after.png b/doc/salome/gui/SMESH/pics/edge_wire_after.png deleted file mode 100644 index 408480ecd..000000000 Binary files a/doc/salome/gui/SMESH/pics/edge_wire_after.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/edge_wire_before.png b/doc/salome/gui/SMESH/pics/edge_wire_before.png deleted file mode 100644 index 186528ec7..000000000 Binary files a/doc/salome/gui/SMESH/pics/edge_wire_before.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/edit_mesh1.png b/doc/salome/gui/SMESH/pics/edit_mesh1.png deleted file mode 100755 index 4369e51b4..000000000 Binary files a/doc/salome/gui/SMESH/pics/edit_mesh1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/edit_mesh_change_value_hyp.png b/doc/salome/gui/SMESH/pics/edit_mesh_change_value_hyp.png deleted file mode 100755 index 7dee01f7d..000000000 Binary files a/doc/salome/gui/SMESH/pics/edit_mesh_change_value_hyp.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/edit_mesh_remove_hyp.png b/doc/salome/gui/SMESH/pics/edit_mesh_remove_hyp.png deleted file mode 100755 index 0a45639aa..000000000 Binary files a/doc/salome/gui/SMESH/pics/edit_mesh_remove_hyp.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/editgroup.png b/doc/salome/gui/SMESH/pics/editgroup.png deleted file mode 100755 index c0a50f36f..000000000 Binary files a/doc/salome/gui/SMESH/pics/editgroup.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/editing_groups1.png b/doc/salome/gui/SMESH/pics/editing_groups1.png deleted file mode 100755 index beb946ab7..000000000 Binary files a/doc/salome/gui/SMESH/pics/editing_groups1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/editing_groups2.png b/doc/salome/gui/SMESH/pics/editing_groups2.png deleted file mode 100755 index 7cff1819c..000000000 Binary files a/doc/salome/gui/SMESH/pics/editing_groups2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/eleminfo1.png b/doc/salome/gui/SMESH/pics/eleminfo1.png deleted file mode 100755 index 5e2c2a0c0..000000000 Binary files a/doc/salome/gui/SMESH/pics/eleminfo1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/eleminfo2.png b/doc/salome/gui/SMESH/pics/eleminfo2.png deleted file mode 100755 index 3ff8d1d9c..000000000 Binary files a/doc/salome/gui/SMESH/pics/eleminfo2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/exemple.gif b/doc/salome/gui/SMESH/pics/exemple.gif deleted file mode 100755 index 6350d1737..000000000 Binary files a/doc/salome/gui/SMESH/pics/exemple.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/extrusion1.png b/doc/salome/gui/SMESH/pics/extrusion1.png deleted file mode 100644 index b7b155931..000000000 Binary files a/doc/salome/gui/SMESH/pics/extrusion1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/extrusionalongaline1.png b/doc/salome/gui/SMESH/pics/extrusionalongaline1.png deleted file mode 100755 index 86b2cba30..000000000 Binary files a/doc/salome/gui/SMESH/pics/extrusionalongaline1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/extrusionalongaline2.png b/doc/salome/gui/SMESH/pics/extrusionalongaline2.png deleted file mode 100755 index b039cfce5..000000000 Binary files a/doc/salome/gui/SMESH/pics/extrusionalongaline2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/failed_computation.png b/doc/salome/gui/SMESH/pics/failed_computation.png deleted file mode 100644 index e44a538f2..000000000 Binary files a/doc/salome/gui/SMESH/pics/failed_computation.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/free_borders1.png b/doc/salome/gui/SMESH/pics/free_borders1.png deleted file mode 100755 index 6e73c9329..000000000 Binary files a/doc/salome/gui/SMESH/pics/free_borders1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/free_edges.png b/doc/salome/gui/SMESH/pics/free_edges.png deleted file mode 100755 index 6f1100c87..000000000 Binary files a/doc/salome/gui/SMESH/pics/free_edges.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/graduatedaxes1.png b/doc/salome/gui/SMESH/pics/graduatedaxes1.png deleted file mode 100755 index cf021ba42..000000000 Binary files a/doc/salome/gui/SMESH/pics/graduatedaxes1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image100.gif b/doc/salome/gui/SMESH/pics/image100.gif deleted file mode 100755 index c44d68ffc..000000000 Binary files a/doc/salome/gui/SMESH/pics/image100.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image102.gif b/doc/salome/gui/SMESH/pics/image102.gif deleted file mode 100755 index 3507814ba..000000000 Binary files a/doc/salome/gui/SMESH/pics/image102.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image107.gif b/doc/salome/gui/SMESH/pics/image107.gif deleted file mode 100755 index ae9d7f1e6..000000000 Binary files a/doc/salome/gui/SMESH/pics/image107.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image108.gif b/doc/salome/gui/SMESH/pics/image108.gif deleted file mode 100755 index bec69e662..000000000 Binary files a/doc/salome/gui/SMESH/pics/image108.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image109.gif b/doc/salome/gui/SMESH/pics/image109.gif deleted file mode 100755 index 5dbba4646..000000000 Binary files a/doc/salome/gui/SMESH/pics/image109.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image138.gif b/doc/salome/gui/SMESH/pics/image138.gif deleted file mode 100755 index 1659aab9f..000000000 Binary files a/doc/salome/gui/SMESH/pics/image138.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image139.gif b/doc/salome/gui/SMESH/pics/image139.gif deleted file mode 100755 index 03943831c..000000000 Binary files a/doc/salome/gui/SMESH/pics/image139.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image157.gif b/doc/salome/gui/SMESH/pics/image157.gif deleted file mode 100644 index 2f66e05e7..000000000 Binary files a/doc/salome/gui/SMESH/pics/image157.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image21.gif b/doc/salome/gui/SMESH/pics/image21.gif deleted file mode 100755 index 5dbd12184..000000000 Binary files a/doc/salome/gui/SMESH/pics/image21.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image23.gif b/doc/salome/gui/SMESH/pics/image23.gif deleted file mode 100755 index 5a1216dc6..000000000 Binary files a/doc/salome/gui/SMESH/pics/image23.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image27.gif b/doc/salome/gui/SMESH/pics/image27.gif deleted file mode 100755 index 6c8485ca9..000000000 Binary files a/doc/salome/gui/SMESH/pics/image27.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image77.gif b/doc/salome/gui/SMESH/pics/image77.gif deleted file mode 100755 index ef7a62f32..000000000 Binary files a/doc/salome/gui/SMESH/pics/image77.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image78.gif b/doc/salome/gui/SMESH/pics/image78.gif deleted file mode 100755 index 9466aa6ce..000000000 Binary files a/doc/salome/gui/SMESH/pics/image78.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image89.gif b/doc/salome/gui/SMESH/pics/image89.gif deleted file mode 100755 index 373a6c026..000000000 Binary files a/doc/salome/gui/SMESH/pics/image89.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image91.gif b/doc/salome/gui/SMESH/pics/image91.gif deleted file mode 100755 index 9e93c1c72..000000000 Binary files a/doc/salome/gui/SMESH/pics/image91.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image96.gif b/doc/salome/gui/SMESH/pics/image96.gif deleted file mode 100755 index 4580d5b5c..000000000 Binary files a/doc/salome/gui/SMESH/pics/image96.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image97.gif b/doc/salome/gui/SMESH/pics/image97.gif deleted file mode 100755 index 1d78de1bc..000000000 Binary files a/doc/salome/gui/SMESH/pics/image97.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image98.gif b/doc/salome/gui/SMESH/pics/image98.gif deleted file mode 100755 index 6519dbb67..000000000 Binary files a/doc/salome/gui/SMESH/pics/image98.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/image99.gif b/doc/salome/gui/SMESH/pics/image99.gif deleted file mode 100755 index 3711be813..000000000 Binary files a/doc/salome/gui/SMESH/pics/image99.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/intersect_groups1.png b/doc/salome/gui/SMESH/pics/intersect_groups1.png deleted file mode 100755 index 9251b0e7a..000000000 Binary files a/doc/salome/gui/SMESH/pics/intersect_groups1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/intersect_groups2.png b/doc/salome/gui/SMESH/pics/intersect_groups2.png deleted file mode 100755 index eeaed8da1..000000000 Binary files a/doc/salome/gui/SMESH/pics/intersect_groups2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/intersect_groups3.png b/doc/salome/gui/SMESH/pics/intersect_groups3.png deleted file mode 100755 index 74f5c2d76..000000000 Binary files a/doc/salome/gui/SMESH/pics/intersect_groups3.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/intersectgroups.png b/doc/salome/gui/SMESH/pics/intersectgroups.png deleted file mode 100755 index b28b4d4d6..000000000 Binary files a/doc/salome/gui/SMESH/pics/intersectgroups.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/length-crit.png b/doc/salome/gui/SMESH/pics/length-crit.png deleted file mode 100755 index 96836cd87..000000000 Binary files a/doc/salome/gui/SMESH/pics/length-crit.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/length2d.png b/doc/salome/gui/SMESH/pics/length2d.png deleted file mode 100755 index 9a5264a02..000000000 Binary files a/doc/salome/gui/SMESH/pics/length2d.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/lengthnearvertex.png b/doc/salome/gui/SMESH/pics/lengthnearvertex.png deleted file mode 100755 index 008dcb16e..000000000 Binary files a/doc/salome/gui/SMESH/pics/lengthnearvertex.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/max_el_area.png b/doc/salome/gui/SMESH/pics/max_el_area.png deleted file mode 100755 index 88db3d6f8..000000000 Binary files a/doc/salome/gui/SMESH/pics/max_el_area.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/mergeelems.png b/doc/salome/gui/SMESH/pics/mergeelems.png deleted file mode 100755 index dbd87877e..000000000 Binary files a/doc/salome/gui/SMESH/pics/mergeelems.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/mergenodes.png b/doc/salome/gui/SMESH/pics/mergenodes.png deleted file mode 100755 index d7437e400..000000000 Binary files a/doc/salome/gui/SMESH/pics/mergenodes.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/merging_nodes1.png b/doc/salome/gui/SMESH/pics/merging_nodes1.png deleted file mode 100755 index f64bdcbe2..000000000 Binary files a/doc/salome/gui/SMESH/pics/merging_nodes1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/merging_nodes2.png b/doc/salome/gui/SMESH/pics/merging_nodes2.png deleted file mode 100755 index 8d7cfdd09..000000000 Binary files a/doc/salome/gui/SMESH/pics/merging_nodes2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/mesh_for_extr_along_path.png b/doc/salome/gui/SMESH/pics/mesh_for_extr_along_path.png deleted file mode 100644 index 4ee52ebfa..000000000 Binary files a/doc/salome/gui/SMESH/pics/mesh_for_extr_along_path.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/meshcomputationfail.png b/doc/salome/gui/SMESH/pics/meshcomputationfail.png deleted file mode 100644 index 9c26158e2..000000000 Binary files a/doc/salome/gui/SMESH/pics/meshcomputationfail.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/meshcomputationsucceed.png b/doc/salome/gui/SMESH/pics/meshcomputationsucceed.png deleted file mode 100644 index ab2357910..000000000 Binary files a/doc/salome/gui/SMESH/pics/meshcomputationsucceed.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/meshexportmesh.png b/doc/salome/gui/SMESH/pics/meshexportmesh.png deleted file mode 100755 index a84b25207..000000000 Binary files a/doc/salome/gui/SMESH/pics/meshexportmesh.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/meshimportmesh.png b/doc/salome/gui/SMESH/pics/meshimportmesh.png deleted file mode 100755 index f87250bf4..000000000 Binary files a/doc/salome/gui/SMESH/pics/meshimportmesh.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/meshtopass.png b/doc/salome/gui/SMESH/pics/meshtopass.png deleted file mode 100755 index 044c0164b..000000000 Binary files a/doc/salome/gui/SMESH/pics/meshtopass.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/meshtrianglemergeelem1.png b/doc/salome/gui/SMESH/pics/meshtrianglemergeelem1.png deleted file mode 100755 index 0f9bd5215..000000000 Binary files a/doc/salome/gui/SMESH/pics/meshtrianglemergeelem1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/movenodes.png b/doc/salome/gui/SMESH/pics/movenodes.png deleted file mode 100755 index 16e9e6262..000000000 Binary files a/doc/salome/gui/SMESH/pics/movenodes.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/moving_nodes1.png b/doc/salome/gui/SMESH/pics/moving_nodes1.png deleted file mode 100755 index 2bae38850..000000000 Binary files a/doc/salome/gui/SMESH/pics/moving_nodes1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/moving_nodes2.png b/doc/salome/gui/SMESH/pics/moving_nodes2.png deleted file mode 100755 index b65e57ae9..000000000 Binary files a/doc/salome/gui/SMESH/pics/moving_nodes2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/netgen2d.png b/doc/salome/gui/SMESH/pics/netgen2d.png deleted file mode 100644 index b2a9f25ed..000000000 Binary files a/doc/salome/gui/SMESH/pics/netgen2d.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/number_of_layers.png b/doc/salome/gui/SMESH/pics/number_of_layers.png deleted file mode 100644 index 846fa2c3e..000000000 Binary files a/doc/salome/gui/SMESH/pics/number_of_layers.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/orientaation1.png b/doc/salome/gui/SMESH/pics/orientaation1.png deleted file mode 100755 index c23b0b8a8..000000000 Binary files a/doc/salome/gui/SMESH/pics/orientaation1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/patternmapping1.png b/doc/salome/gui/SMESH/pics/patternmapping1.png deleted file mode 100755 index 14daae187..000000000 Binary files a/doc/salome/gui/SMESH/pics/patternmapping1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/patternmapping2.png b/doc/salome/gui/SMESH/pics/patternmapping2.png deleted file mode 100755 index fbcf35544..000000000 Binary files a/doc/salome/gui/SMESH/pics/patternmapping2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/projection_1d.png b/doc/salome/gui/SMESH/pics/projection_1d.png deleted file mode 100644 index 1560acaee..000000000 Binary files a/doc/salome/gui/SMESH/pics/projection_1d.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/projection_2d.png b/doc/salome/gui/SMESH/pics/projection_2d.png deleted file mode 100644 index 91d446b5c..000000000 Binary files a/doc/salome/gui/SMESH/pics/projection_2d.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/projection_3d.png b/doc/salome/gui/SMESH/pics/projection_3d.png deleted file mode 100644 index aeffc7a48..000000000 Binary files a/doc/salome/gui/SMESH/pics/projection_3d.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/remove.gif b/doc/salome/gui/SMESH/pics/remove.gif deleted file mode 100644 index 8b81cb25e..000000000 Binary files a/doc/salome/gui/SMESH/pics/remove.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/remove_elements1.png b/doc/salome/gui/SMESH/pics/remove_elements1.png deleted file mode 100755 index 538460f43..000000000 Binary files a/doc/salome/gui/SMESH/pics/remove_elements1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/remove_elements2.png b/doc/salome/gui/SMESH/pics/remove_elements2.png deleted file mode 100755 index 888188cc7..000000000 Binary files a/doc/salome/gui/SMESH/pics/remove_elements2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/remove_nodes1.png b/doc/salome/gui/SMESH/pics/remove_nodes1.png deleted file mode 100755 index 94caae679..000000000 Binary files a/doc/salome/gui/SMESH/pics/remove_nodes1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/remove_nodes2.png b/doc/salome/gui/SMESH/pics/remove_nodes2.png deleted file mode 100755 index e9f806402..000000000 Binary files a/doc/salome/gui/SMESH/pics/remove_nodes2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/removeelements.png b/doc/salome/gui/SMESH/pics/removeelements.png deleted file mode 100755 index 42a79b5b1..000000000 Binary files a/doc/salome/gui/SMESH/pics/removeelements.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/removenodes.png b/doc/salome/gui/SMESH/pics/removenodes.png deleted file mode 100755 index cfcb777c6..000000000 Binary files a/doc/salome/gui/SMESH/pics/removenodes.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/renumberelements.png b/doc/salome/gui/SMESH/pics/renumberelements.png deleted file mode 100755 index 0812b5066..000000000 Binary files a/doc/salome/gui/SMESH/pics/renumberelements.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/renumbernodes.png b/doc/salome/gui/SMESH/pics/renumbernodes.png deleted file mode 100755 index 90a0eda13..000000000 Binary files a/doc/salome/gui/SMESH/pics/renumbernodes.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/revolution1.png b/doc/salome/gui/SMESH/pics/revolution1.png deleted file mode 100755 index d459cf463..000000000 Binary files a/doc/salome/gui/SMESH/pics/revolution1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/revolution2.png b/doc/salome/gui/SMESH/pics/revolution2.png deleted file mode 100755 index a3c005202..000000000 Binary files a/doc/salome/gui/SMESH/pics/revolution2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/rotation.png b/doc/salome/gui/SMESH/pics/rotation.png deleted file mode 100755 index 372b9b307..000000000 Binary files a/doc/salome/gui/SMESH/pics/rotation.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/rotation1.png b/doc/salome/gui/SMESH/pics/rotation1.png deleted file mode 100755 index 5a4ad9901..000000000 Binary files a/doc/salome/gui/SMESH/pics/rotation1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/rotation2.png b/doc/salome/gui/SMESH/pics/rotation2.png deleted file mode 100755 index 366771a69..000000000 Binary files a/doc/salome/gui/SMESH/pics/rotation2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/selectionfilterlibrary.png b/doc/salome/gui/SMESH/pics/selectionfilterlibrary.png deleted file mode 100755 index f07c09641..000000000 Binary files a/doc/salome/gui/SMESH/pics/selectionfilterlibrary.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/set_rotation_point_dialog1.png b/doc/salome/gui/SMESH/pics/set_rotation_point_dialog1.png deleted file mode 100644 index bdab73b7d..000000000 Binary files a/doc/salome/gui/SMESH/pics/set_rotation_point_dialog1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/set_rotation_point_dialog2.png b/doc/salome/gui/SMESH/pics/set_rotation_point_dialog2.png deleted file mode 100644 index 7f3696a56..000000000 Binary files a/doc/salome/gui/SMESH/pics/set_rotation_point_dialog2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/sewing1.png b/doc/salome/gui/SMESH/pics/sewing1.png deleted file mode 100755 index 795d7a06b..000000000 Binary files a/doc/salome/gui/SMESH/pics/sewing1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/sewing2.png b/doc/salome/gui/SMESH/pics/sewing2.png deleted file mode 100755 index 66a409973..000000000 Binary files a/doc/salome/gui/SMESH/pics/sewing2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/sewing3.png b/doc/salome/gui/SMESH/pics/sewing3.png deleted file mode 100755 index 6c74f1cbf..000000000 Binary files a/doc/salome/gui/SMESH/pics/sewing3.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/sewing4.png b/doc/salome/gui/SMESH/pics/sewing4.png deleted file mode 100755 index cd9869a85..000000000 Binary files a/doc/salome/gui/SMESH/pics/sewing4.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/smoothing.png b/doc/salome/gui/SMESH/pics/smoothing.png deleted file mode 100755 index 0fda00a22..000000000 Binary files a/doc/salome/gui/SMESH/pics/smoothing.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/smoothing1.png b/doc/salome/gui/SMESH/pics/smoothing1.png deleted file mode 100755 index 763a5300b..000000000 Binary files a/doc/salome/gui/SMESH/pics/smoothing1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/smoothing2.png b/doc/salome/gui/SMESH/pics/smoothing2.png deleted file mode 100755 index bfce45739..000000000 Binary files a/doc/salome/gui/SMESH/pics/smoothing2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/sort.gif b/doc/salome/gui/SMESH/pics/sort.gif deleted file mode 100644 index 28a5dff29..000000000 Binary files a/doc/salome/gui/SMESH/pics/sort.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/straight_after.png b/doc/salome/gui/SMESH/pics/straight_after.png deleted file mode 100644 index 4572fea7b..000000000 Binary files a/doc/salome/gui/SMESH/pics/straight_after.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/straight_before.png b/doc/salome/gui/SMESH/pics/straight_before.png deleted file mode 100644 index 200aad85d..000000000 Binary files a/doc/salome/gui/SMESH/pics/straight_before.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/symmetry1.png b/doc/salome/gui/SMESH/pics/symmetry1.png deleted file mode 100755 index 0fe145964..000000000 Binary files a/doc/salome/gui/SMESH/pics/symmetry1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/symmetry2.png b/doc/salome/gui/SMESH/pics/symmetry2.png deleted file mode 100755 index 99c456463..000000000 Binary files a/doc/salome/gui/SMESH/pics/symmetry2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/symmetry3.png b/doc/salome/gui/SMESH/pics/symmetry3.png deleted file mode 100755 index 0ded9ce79..000000000 Binary files a/doc/salome/gui/SMESH/pics/symmetry3.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/translation1.png b/doc/salome/gui/SMESH/pics/translation1.png deleted file mode 100755 index 745506149..000000000 Binary files a/doc/salome/gui/SMESH/pics/translation1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/translation2.png b/doc/salome/gui/SMESH/pics/translation2.png deleted file mode 100755 index f321be118..000000000 Binary files a/doc/salome/gui/SMESH/pics/translation2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/union_groups1.png b/doc/salome/gui/SMESH/pics/union_groups1.png deleted file mode 100755 index 7b2fc7511..000000000 Binary files a/doc/salome/gui/SMESH/pics/union_groups1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/union_groups2.png b/doc/salome/gui/SMESH/pics/union_groups2.png deleted file mode 100755 index 980e48d41..000000000 Binary files a/doc/salome/gui/SMESH/pics/union_groups2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/union_groups3.png b/doc/salome/gui/SMESH/pics/union_groups3.png deleted file mode 100755 index caf6bb42b..000000000 Binary files a/doc/salome/gui/SMESH/pics/union_groups3.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/uniongroups.png b/doc/salome/gui/SMESH/pics/uniongroups.png deleted file mode 100755 index 936c3b9f7..000000000 Binary files a/doc/salome/gui/SMESH/pics/uniongroups.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/unionoftwotriangles.png b/doc/salome/gui/SMESH/pics/unionoftwotriangles.png deleted file mode 100755 index b9d2bdbd7..000000000 Binary files a/doc/salome/gui/SMESH/pics/unionoftwotriangles.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/uniting_a_set_of_triangles1.png b/doc/salome/gui/SMESH/pics/uniting_a_set_of_triangles1.png deleted file mode 100755 index fb00167a5..000000000 Binary files a/doc/salome/gui/SMESH/pics/uniting_a_set_of_triangles1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/uniting_a_set_of_triangles2.png b/doc/salome/gui/SMESH/pics/uniting_a_set_of_triangles2.png deleted file mode 100755 index 16d135112..000000000 Binary files a/doc/salome/gui/SMESH/pics/uniting_a_set_of_triangles2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/uniting_two_triangles1.png b/doc/salome/gui/SMESH/pics/uniting_two_triangles1.png deleted file mode 100755 index e94be3a0f..000000000 Binary files a/doc/salome/gui/SMESH/pics/uniting_two_triangles1.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/uniting_two_triangles2.png b/doc/salome/gui/SMESH/pics/uniting_two_triangles2.png deleted file mode 100755 index 5cac5f541..000000000 Binary files a/doc/salome/gui/SMESH/pics/uniting_two_triangles2.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/pics/view_rotation_point.png b/doc/salome/gui/SMESH/pics/view_rotation_point.png deleted file mode 100644 index 7fe8f8389..000000000 Binary files a/doc/salome/gui/SMESH/pics/view_rotation_point.png and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh.html deleted file mode 100644 index a9096b2e6..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh.html +++ /dev/null @@ -1,6622 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh Class Reference

Class to define a mesh. -More... -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Constructor.
def SetMesh
 Method that inits the Mesh object from SMESH_Mesh interface.
def GetMesh
 Method that returns the mesh.
def GetName
 Get mesh name.
def SetName
 Set name to mesh.
def GetSubMesh
 Get the subMesh object associated to a subShape.
def GetShape
 Method that returns the shape associated to the mesh.
def SetShape
 Method that associates given shape to the mesh(entails the mesh recreation).
def IsReadyToCompute
 Return true if hypotheses are defined well.
def GetAlgoState
 Return errors of hypotheses definintion error list is empty if everything is OK.
def GetGeometryByMeshElement
 Return geometrical object the given element is built on.
def MeshDimension
 Returns mesh dimension depending on shape one.
def Segment
 Creates a segment discretization 1D algorithm.
def Triangle
 Creates a triangle 2D algorithm for faces.
def Quadrangle
 Creates a quadrangle 2D algorithm for faces.
def Tetrahedron
 Creates a tetrahedron 3D algorithm for solids.
def Hexahedron
 Creates a hexahedron 3D algorithm for solids.
def Netgen
 Deprecated, only for compatibility!
def Projection1D
 Creates a projection 1D algorithm for edges.
def Projection2D
 Creates a projection 2D algorithm for faces.
def Projection3D
 Creates a projection 3D algorithm for solids.
def Prism
 Creates a 3D extrusion (Prism 3D) or RadialPrism 3D algorithm for solids.
def Compute
 Compute the mesh and return the status of the computation.
def AutomaticTetrahedralization
 Compute tetrahedral mesh using AutomaticLength + MEFISTO + NETGEN The parameter fineness [0,-1] defines mesh fineness.
def AutomaticHexahedralization
 Compute hexahedral mesh using AutomaticLength + Quadrangle + Hexahedron The parameter fineness [0,-1] defines mesh fineness.
def AddHypothesis
 Assign hypothesis.
def GetHypothesisList
 Get the list of hypothesis added on a geom.
def RemoveGlobalHypotheses
 Removes all global hypotheses.
def Group
 Create a mesh group based on geometric object grp and give a name,
- if this parameter is not defined the name is the same as the geometric group name
- Note: Works like GroupOnGeom().
def ExportToMED
 Deprecated, only for compatibility! Please, use ExportMED() method instead.
def ExportMED
 Export the mesh in a file with the MED format.
def ExportDAT
 Export the mesh in a file with the DAT format.
def ExportUNV
 Export the mesh in a file with the UNV format.
def ExportSTL
 Export the mesh in a file with the STL format.
def CreateEmptyGroup
 Creates an empty mesh group.
def GroupOnGeom
 Creates a mesh group based on geometric object grp and give a name,
- if this parameter is not defined the name is the same as the geometric group name.
def MakeGroupByIds
 Create a mesh group by the given ids of elements.
def MakeGroup
 Create a mesh group by the given conditions.
def MakeGroupByCriterion
 Create a mesh group by the given criterion.
def MakeGroupByCriteria
 Create a mesh group by the given criteria(list of criterions).
def MakeGroupByFilter
 Create a mesh group by the given filter.
def GetIdsFromFilter
 Pass mesh elements through the given filter and return ids.
def GetFreeBorders
 Verify whether 2D mesh element has free edges(edges connected to one face only)
- Returns list of special structures(borders).
def RemoveGroup
 Remove a group.
def RemoveGroupWithContents
 Remove group with its contents.
def GetGroups
 Get the list of groups existing in the mesh.
def GetGroupNames
 Get the list of names of groups existing in the mesh.
def UnionGroups
 Union of two groups New group is created.
def IntersectGroups
 Intersection of two groups New group is created.
def CutGroups
 Cut of two groups New group is created.
def GetLog
 Get the log of nodes and elements added or removed since previous clear of the log.
def ClearLog
 Clear the log of nodes and elements added or removed since previous clear.
def GetId
 Get the internal Id.
def GetStudyId
 Get the study Id.
def HasDuplicatedGroupNamesMED
 Check group names for duplications.
def GetMeshEditor
 Obtain instance of SMESH_MeshEditor.
def GetMEDMesh
 Get MED Mesh.
def NbNodes
 Returns number of nodes in mesh.
def NbElements
 Returns number of elements in mesh.
def NbEdges
 Returns number of edges in mesh.
def NbEdgesOfOrder
 Returns number of edges with given order in mesh.
def NbFaces
 Returns number of faces in mesh.
def NbFacesOfOrder
 Returns number of faces with given order in mesh.
def NbTriangles
 Returns number of triangles in mesh.
def NbTrianglesOfOrder
 Returns number of triangles with given order in mesh.
def NbQuadrangles
 Returns number of quadrangles in mesh.
def NbQuadranglesOfOrder
 Returns number of quadrangles with given order in mesh.
def NbPolygons
 Returns number of polygons in mesh.
def NbVolumes
 Returns number of volumes in mesh.
def NbVolumesOfOrder
 Returns number of volumes with given order in mesh.
def NbTetras
 Returns number of tetrahedrons in mesh.
def NbTetrasOfOrder
 Returns number of tetrahedrons with given order in mesh.
def NbHexas
 Returns number of hexahedrons in mesh.
def NbHexasOfOrder
 Returns number of hexahedrons with given order in mesh.
def NbPyramids
 Returns number of pyramids in mesh.
def NbPyramidsOfOrder
 Returns number of pyramids with given order in mesh.
def NbPrisms
 Returns number of prisms in mesh.
def NbPrismsOfOrder
 Returns number of prisms with given order in mesh.
def NbPolyhedrons
 Returns number of polyhedrons in mesh.
def NbSubMesh
 Returns number of submeshes in mesh.
def GetElementsId
 Returns list of mesh elements ids.
def GetElementsByType
 Returns list of ids of mesh elements with given type.
def GetNodesId
 Returns list of mesh nodes ids.
def GetElementType
 Returns type of mesh element.
def GetSubMeshElementsId
 Returns list of submesh elements ids.
def GetSubMeshNodesId
 Returns list of submesh nodes ids.
def GetSubMeshElementType
 Returns list of ids of submesh elements with given type.
def Dump
 Get mesh description.
def GetNodeXYZ
 Get XYZ coordinates of node as list of double
- If there is not node for given ID - returns empty list.
def GetNodeInverseElements
 For given node returns list of IDs of inverse elements
- If there is not node for given ID - returns empty list.
def GetShapeID
 If given element is node returns IDs of shape from position
- If there is not node for given ID - returns -1.
def GetShapeIDForElem
 For given element returns ID of result shape after FindShape() from SMESH_MeshEditor
- If there is not element for given ID - returns -1.
def GetElemNbNodes
 Returns number of nodes for given element
- If there is not element for given ID - returns -1.
def GetElemNode
 Returns ID of node by given index for given element
- If there is not element for given ID - returns -1
- If there is not node for given index - returns -2.
def IsMediumNode
 Returns true if given node is medium node in given quadratic element.
def IsMediumNodeOfAnyElem
 Returns true if given node is medium node in one of quadratic elements.
def ElemNbEdges
 Returns number of edges for given element.
def ElemNbFaces
 Returns number of faces for given element.
def IsPoly
 Returns true if given element is polygon.
def IsQuadratic
 Returns true if given element is quadratic.
def BaryCenter
 Returns XYZ coordinates of bary center for given element as list of double
- If there is not element for given ID - returns empty list.
def RemoveElements
 Removes elements from mesh by ids.
def RemoveNodes
 Removes nodes from mesh by ids.
def AddNode
 Add node to mesh by coordinates.
def AddEdge
 Create edge both similar and quadratic (this is determed by number of given nodes).
def AddFace
 Create face both similar and quadratic (this is determed by number of given nodes).
def AddPolygonalFace
 Add polygonal face to mesh by list of nodes ids.
def AddVolume
 Create volume both similar and quadratic (this is determed by number of given nodes).
def AddPolyhedralVolume
 Create volume of many faces, giving nodes for each face.
def AddPolyhedralVolumeByFaces
 Create volume of many faces, giving IDs of existing faces.
def MoveNode
 Move node with given id.
def FindNodeClosestTo
 Find a node closest to a point.
def MeshToPassThroughAPoint
 Find a node closest to a point and move it to a point location.
def InverseDiag
 Replace two neighbour triangles sharing Node1-Node2 link with ones built on the same 4 nodes but having other common link.
def DeleteDiag
 Replace two neighbour triangles sharing Node1-Node2 link with a quadrangle built on the same 4 nodes.
def Reorient
 Reorient elements by ids.
def ReorientObject
 Reorient all elements of the object.
def TriToQuad
 Fuse neighbour triangles into quadrangles.
def TriToQuadObject
 Fuse neighbour triangles of the object into quadrangles.
def QuadToTri
 Split quadrangles into triangles.
def QuadToTriObject
 Split quadrangles into triangles.
def SplitQuad
 Split quadrangles into triangles.
def SplitQuadObject
 Split quadrangles into triangles.
def BestSplit
 Find better splitting of the given quadrangle.
def SplitQuadsNearTriangularFacets
 Split quafrangle faces near triangular facets of volumes.
def SplitHexaToTetras
 Split hexahedrons into tetrahedrons.
def SplitHexaToPrisms
 Split hexahedrons into prisms.
def Smooth
 Smooth elements.
def SmoothObject
 Smooth elements belong to given object.
def SmoothParametric
 Parametric smooth the given elements.
def SmoothParametricObject
 Parametric smooth elements belong to given object.
def ConvertToQuadratic
 Converts all mesh to quadratic one, deletes old elements, replacing them with quadratic ones with the same id.
def ConvertFromQuadratic
 Converts all mesh from quadratic to ordinary ones, deletes old quadratic elements,
- replacing them with ordinary mesh elements with the same id.
def RenumberNodes
 Renumber mesh nodes.
def RenumberElements
 Renumber mesh elements.
def RotationSweep
 Generate new elements by rotation of the elements around the axis.
def RotationSweepObject
 Generate new elements by rotation of the elements of object around the axis.
def ExtrusionSweep
 Generate new elements by extrusion of the elements with given ids.
def AdvancedExtrusion
 Generate new elements by extrusion of the elements with given ids.
def ExtrusionSweepObject
 Generate new elements by extrusion of the elements belong to object.
def ExtrusionSweepObject1D
 Generate new elements by extrusion of the elements belong to object.
def ExtrusionSweepObject2D
 Generate new elements by extrusion of the elements belong to object.
def ExtrusionAlongPath
 Generate new elements by extrusion of the given elements A path of extrusion must be a meshed edge.
def ExtrusionAlongPathObject
 Generate new elements by extrusion of the elements belong to object A path of extrusion must be a meshed edge.
def Mirror
 Symmetrical copy of mesh elements.
def MirrorObject
 Symmetrical copy of object.
def Translate
 Translates the elements.
def TranslateObject
 Translates the object.
def Rotate
 Rotates the elements.
def RotateObject
 Rotates the object.
def FindCoincidentNodes
 Find group of nodes close to each other within Tolerance.
def FindCoincidentNodesOnPart
 Find group of nodes close to each other within Tolerance.
def MergeNodes
 Merge nodes.
def FindEqualElements
 Find elements built on the same nodes.
def MergeElements
 Merge elements in each given group.
def MergeEqualElements
 Remove all but one of elements built on the same nodes.
def SewFreeBorders
 Sew free borders.
def SewConformFreeBorders
 Sew conform free borders.
def SewBorderToSide
 Sew border to side.
def SewSideElements
 Sew two sides of a mesh.
def ChangeElemNodes
 Set new nodes for given element.
def GetLastCreatedNodes
 If during last operation of MeshEditor some nodes were created this method returns list of it's IDs,
- if new nodes not created - returns empty list.
def GetLastCreatedElems
 If during last operation of MeshEditor some elements were created this method returns list of it's IDs,
- if new elements not creared - returns empty list.

Data Fields

 smeshpyD
 geompyD
 geom
 mesh
 editor

Static Public Attributes

int geom = 0
int mesh = 0
int editor = 0
-


Detailed Description

-The class contains mesh shape, SMESH_Mesh, SMESH_MeshEditor More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.__init__ (  self,
  smeshpyD,
  geompyD,
  obj = 0,
  name = 0 
)
-
-
- -

-Creates mesh on the shape geom(or the empty mesh if geom equal to 0), sets GUI name of this mesh to name.

Parameters:
- - - -
obj Shape to be meshed or SMESH_Mesh object
name Study name of the mesh
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SetMesh (  self,
  theMesh 
)
-
-
- -

-

Parameters:
- - -
theMesh is SMESH_Mesh object
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetMesh (  self  ) 
-
-
- -

-

Returns:
SMESH_Mesh object
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetName (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SetName (  self,
  name 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetSubMesh (  self,
  theSubObject,
  name 
)
-
-
- -

-The subMesh object gives access to nodes and elements IDs.
- SubMesh will be used instead of SubShape in a next idl version to adress a specific subMesh... -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetShape (  self  ) 
-
-
- -

-

Returns:
GEOM_Object
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SetShape (  self,
  geom 
)
-
-
- -

-

Parameters:
- - -
geom shape to be meshed(GEOM_Object)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.IsReadyToCompute (  self,
  theSubObject 
)
-
-
- -

-

Parameters:
- - - -
theMesh is an instance of Mesh class
theSubObject subshape of a mesh shape
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetAlgoState (  self,
  theSubObject 
)
-
-
- -

-

Parameters:
- - - -
theMesh is an instance of Mesh class
theSubObject subshape of a mesh shape
-
-
Returns:
a list of errors
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetGeometryByMeshElement (  self,
  theElementID,
  theGeomName 
)
-
-
- -

-The returned geometrical object, if not nil, is either found in the study or is published by this method with the given name

Parameters:
- - - - -
theMesh is an instance of Mesh class
theElementID an id of the mesh element
theGeomName user defined name of geometrical object
-
-
Returns:
GEOM.GEOM_Object instance
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.MeshDimension (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Segment (  self,
  algo = REGULAR,
  geom = 0 
)
-
-
- -

-If the optional algo parameter is not sets, this algorithm is REGULAR. If the optional geom parameter is not sets, this algorithm is global.
- Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
- - - -
algo values are smesh.REGULAR or smesh.PYTHON for discretization via python function
geom If defined, subshape to be meshed
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Triangle (  self,
  algo = MEFISTO,
  geom = 0 
)
-
-
- -

-If the optional geom parameter is not sets, this algorithm is global.
- Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
- - - -
algo values are: smesh.MEFISTO or smesh.NETGEN
geom If defined, subshape to be meshed
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Quadrangle (  self,
  geom = 0 
)
-
-
- -

-If the optional geom parameter is not sets, this algorithm is global.
- Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
- - -
geom If defined, subshape to be meshed
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Tetrahedron (  self,
  algo = NETGEN,
  geom = 0 
)
-
-
- -

-The parameter algo permits to choice the algorithm: NETGEN or GHS3D If the optional geom parameter is not sets, this algorithm is global.
- Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
- - - -
algo values are: smesh.NETGEN, smesh.GHS3D, smesh.FULL_NETGEN
geom If defined, subshape to be meshed
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Hexahedron (  self,
  geom = 0 
)
-
-
- -

-If the optional geom parameter is not sets, this algorithm is global.
- Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
- - -
geom If defined, subshape to be meshed
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Netgen (  self,
  is3D,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Projection1D (  self,
  geom = 0 
)
-
-
- -

-If the optional geom parameter is not sets, this algorithm is global. Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
- - -
geom If defined, subshape to be meshed
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Projection2D (  self,
  geom = 0 
)
-
-
- -

-If the optional geom parameter is not sets, this algorithm is global. Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
- - -
geom If defined, subshape to be meshed
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Projection3D (  self,
  geom = 0 
)
-
-
- -

-If the optional geom parameter is not sets, this algorithm is global. Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
- - -
geom If defined, subshape to be meshed
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Prism (  self,
  geom = 0 
)
-
-
- -

-If the optional geom parameter is not sets, this algorithm is global. Otherwise, this algorithm define a submesh based on geom subshape.

Parameters:
- - -
geom If defined, subshape to be meshed
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Compute (  self,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AutomaticTetrahedralization (  self,
  fineness = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AutomaticHexahedralization (  self,
  fineness = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AddHypothesis (  self,
  hyp,
  geom = 0 
)
-
-
- -

-

Parameters:
- - - -
hyp is a hypothesis to assign
geom is subhape of mesh geometry
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetHypothesisList (  self,
  geom 
)
-
-
- -

-

Parameters:
- - -
geom is subhape of mesh geometry
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.RemoveGlobalHypotheses (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Group (  self,
  grp,
  name = "" 
)
-
-
- -

-

Parameters:
- - - -
grp is a geometric group, a vertex, an edge, a face or a solid
name is the name of the mesh group
-
-
Returns:
SMESH_GroupOnGeom
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExportToMED (  self,
  f,
  version,
  opt = 0 
)
-
-
- -

-Export the mesh in a file with the MED format and choice the version of MED format

Parameters:
- - - -
f is the file name
version values are SMESH.MED_V2_1, SMESH.MED_V2_2
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExportMED (  self,
  f,
  auto_groups = 0,
  version = MED_V2_2 
)
-
-
- -

-

Parameters:
- - - - -
f is the file name
auto_groups boolean parameter for creating/not creating the groups Group_On_All_Nodes, Group_On_All_Faces, ... ; the typical use is auto_groups=false.
version MED format version(MED_V2_1 or MED_V2_2)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExportDAT (  self,
  f 
)
-
-
- -

-

Parameters:
- - -
f is the file name
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExportUNV (  self,
  f 
)
-
-
- -

-

Parameters:
- - -
f is the file name
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExportSTL (  self,
  f,
  ascii = 1 
)
-
-
- -

-

Parameters:
- - - -
f is the file name
ascii defined the kind of file contents
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.CreateEmptyGroup (  self,
  elementType,
  name 
)
-
-
- -

-

Parameters:
- - - -
elementType is the type of elements in the group
name is the name of the mesh group
-
-
Returns:
SMESH_Group
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GroupOnGeom (  self,
  grp,
  name = "",
  typ = None 
)
-
-
- -

-

Parameters:
- - - -
grp is a geometric group, a vertex, an edge, a face or a solid
name is the name of the mesh group
-
-
Returns:
SMESH_GroupOnGeom
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.MakeGroupByIds (  self,
  groupName,
  elementType,
  elemIDs 
)
-
-
- -

-

Parameters:
- - - - -
groupName is the name of the mesh group
elementType is the type of elements in the group
elemIDs is the list of ids
-
-
Returns:
SMESH_Group
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.MakeGroup (  self,
  groupName,
  elementType,
  CritType = FT_Undefined,
  Compare = FT_EqualTo,
  Treshold = "",
  UnaryOp = FT_Undefined 
)
-
-
- -

-

Parameters:
- - - - - - - -
groupName is the name of the mesh group
elementType is the type of elements in the group
CritType is type of criterion( FT_Taper, FT_Area, FT_RangeOfIds, FT_LyingOnGeom etc. )
Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo}
Treshold is threshold value (range of id ids as string, shape, numeric)
UnaryOp is FT_LogicalNOT or FT_Undefined
-
-
Returns:
SMESH_Group
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.MakeGroupByCriterion (  self,
  groupName,
  Criterion 
)
-
-
- -

-

Parameters:
- - - -
groupName is the name of the mesh group
Criterion is the instance of Criterion class
-
-
Returns:
SMESH_Group
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.MakeGroupByCriteria (  self,
  groupName,
  theCriteria 
)
-
-
- -

-

Parameters:
- - - -
groupName is the name of the mesh group
Criteria is the list of criterions
-
-
Returns:
SMESH_Group
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.MakeGroupByFilter (  self,
  groupName,
  theFilter 
)
-
-
- -

-

Parameters:
- - - -
groupName is the name of the mesh group
Criterion is the instance of Filter class
-
-
Returns:
SMESH_Group
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetIdsFromFilter (  self,
  theFilter 
)
-
-
- -

-

Parameters:
- - -
theFilter is SMESH_Filter
-
-
Returns:
list of ids
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetFreeBorders (  self  ) 
-
-
- -

-

Returns:
list of SMESH.FreeEdges.Border structure: edge id and two its nodes ids.
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.RemoveGroup (  self,
  group 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.RemoveGroupWithContents (  self,
  group 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetGroups (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetGroupNames (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.UnionGroups (  self,
  group1,
  group2,
  name 
)
-
-
- -

-All mesh elements that are present in initial groups are added to the new one -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.IntersectGroups (  self,
  group1,
  group2,
  name 
)
-
-
- -

-All mesh elements that are present in both initial groups are added to the new one. -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.CutGroups (  self,
  mainGroup,
  toolGroup,
  name 
)
-
-
- -

-All mesh elements that are present in main group but do not present in tool group are added to the new one -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetLog (  self,
  clearAfterGet 
)
-
-
- -

-

Parameters:
- - -
clearAfterGet log is emptied after Get (safe if concurrents access)
-
-
Returns:
list of log_block structures: commandType number coords indexes
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.ClearLog (  self  ) 
-
-
- -

-Must be used immediately after GetLog if clearAfterGet is false. -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetId (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetStudyId (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.HasDuplicatedGroupNamesMED (  self  ) 
-
-
- -

-Consider maximum group name length stored in MED file. -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetMeshEditor (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetMEDMesh (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbNodes (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbElements (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbEdges (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.NbEdgesOfOrder (  self,
  elementOrder 
)
-
-
- -

-

Parameters:
- - -
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbFaces (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.NbFacesOfOrder (  self,
  elementOrder 
)
-
-
- -

-

Parameters:
- - -
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbTriangles (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.NbTrianglesOfOrder (  self,
  elementOrder 
)
-
-
- -

-

Parameters:
- - -
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbQuadrangles (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.NbQuadranglesOfOrder (  self,
  elementOrder 
)
-
-
- -

-

Parameters:
- - -
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbPolygons (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbVolumes (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.NbVolumesOfOrder (  self,
  elementOrder 
)
-
-
- -

-

Parameters:
- - -
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbTetras (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.NbTetrasOfOrder (  self,
  elementOrder 
)
-
-
- -

-

Parameters:
- - -
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbHexas (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.NbHexasOfOrder (  self,
  elementOrder 
)
-
-
- -

-

Parameters:
- - -
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbPyramids (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.NbPyramidsOfOrder (  self,
  elementOrder 
)
-
-
- -

-

Parameters:
- - -
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbPrisms (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.NbPrismsOfOrder (  self,
  elementOrder 
)
-
-
- -

-

Parameters:
- - -
elementOrder is order of elements: ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbPolyhedrons (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.NbSubMesh (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetElementsId (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetElementsByType (  self,
  elementType 
)
-
-
- -

-

Parameters:
- - -
elementType is required type of elements
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetNodesId (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetElementType (  self,
  id,
  iselem 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetSubMeshElementsId (  self,
  shapeID 
)
-
-
- -

-

Parameters:
- - -
shapeID is geom object(subshape) IOR
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetSubMeshNodesId (  self,
  shapeID,
  all 
)
-
-
- -

-

Parameters:
- - -
shapeID is geom object(subshape) IOR
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetSubMeshElementType (  self,
  shapeID 
)
-
-
- -

-

Parameters:
- - -
shapeID is geom object(subshape) IOR
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.Dump (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetNodeXYZ (  self,
  id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetNodeInverseElements (  self,
  id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetShapeID (  self,
  id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetShapeIDForElem (  self,
  id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetElemNbNodes (  self,
  id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.GetElemNode (  self,
  id,
  index 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.IsMediumNode (  self,
  elementID,
  nodeID 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.IsMediumNodeOfAnyElem (  self,
  nodeID,
  elementType 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ElemNbEdges (  self,
  id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ElemNbFaces (  self,
  id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.IsPoly (  self,
  id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.IsQuadratic (  self,
  id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.BaryCenter (  self,
  id 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.RemoveElements (  self,
  IDsOfElements 
)
-
-
- -

-

Parameters:
- - -
IDsOfElements is list of ids of elements to remove
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.RemoveNodes (  self,
  IDsOfNodes 
)
-
-
- -

-

Parameters:
- - -
IDsOfNodes is list of ids of nodes to remove
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AddNode (  self,
  x,
  y,
  z 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AddEdge (  self,
  IDsOfNodes 
)
-
-
- -

-

Parameters:
- - -
IdsOfNodes List of node IDs for creation of element. Needed order of nodes in this list corresponds to description of MED.
- This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3.
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AddFace (  self,
  IDsOfNodes 
)
-
-
- -

-

Parameters:
- - -
IdsOfNodes List of node IDs for creation of element. Needed order of nodes in this list corresponds to description of MED.
- This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3.
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AddPolygonalFace (  self,
  IdsOfNodes 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AddVolume (  self,
  IDsOfNodes 
)
-
-
- -

-

Parameters:
- - -
IdsOfNodes List of node IDs for creation of element. Needed order of nodes in this list corresponds to description of MED.
- This description is located by the following link: http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3.
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AddPolyhedralVolume (  self,
  IdsOfNodes,
  Quantities 
)
-
-
- -

-

Parameters:
- - - -
IdsOfNodes List of node IDs for volume creation face by face.
Quantities List of integer values, Quantities[i] gives quantity of nodes in face number i.
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AddPolyhedralVolumeByFaces (  self,
  IdsOfFaces 
)
-
-
- -

-

Parameters:
- - -
IdsOfFaces List of face IDs for volume creation.
-
-Note: The created volume will refer only to nodes of the given faces, not to the faces itself. -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.MoveNode (  self,
  NodeID,
  x,
  y,
  z 
)
-
-
- -

-

Parameters:
- - - - - -
NodeID id of the node
x new X coordinate
y new Y coordinate
z new Z coordinate
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.FindNodeClosestTo (  self,
  x,
  y,
  z 
)
-
-
- -

-

Parameters:
- - - - -
x X coordinate of a point
y Y coordinate of a point
z Z coordinate of a point
-
-
Returns:
id of a node
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.MeshToPassThroughAPoint (  self,
  x,
  y,
  z 
)
-
-
- -

-

Parameters:
- - - - -
x X coordinate of a point
y Y coordinate of a point
z Z coordinate of a point
-
-
Returns:
id of a moved node
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.InverseDiag (  self,
  NodeID1,
  NodeID2 
)
-
-
- -

-

Parameters:
- - - -
NodeID1 first node id
NodeID2 second node id
-
-
Returns:
false if proper faces not found
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.DeleteDiag (  self,
  NodeID1,
  NodeID2 
)
-
-
- -

-

Parameters:
- - - -
NodeID1 first node id
NodeID2 second node id
-
-
Returns:
false if proper faces not found
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Reorient (  self,
  IDsOfElements = None 
)
-
-
- -

-

Parameters:
- - -
IDsOfElements if undefined reorient all mesh elements
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ReorientObject (  self,
  theObject 
)
-
-
- -

-

Parameters:
- - -
theObject is mesh, submesh or group
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.TriToQuad (  self,
  IDsOfElements,
  theCriterion,
  MaxAngle 
)
-
-
- -

-

Parameters:
- - - - -
IDsOfElements The triangles to be fused,
theCriterion is FT_...; used to choose a neighbour to fuse with.
MaxAngle is a max angle between element normals at which fusion is still performed; theMaxAngle is mesured in radians.
-
-
Returns:
TRUE in case of success, FALSE otherwise.
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.TriToQuadObject (  self,
  theObject,
  theCriterion,
  MaxAngle 
)
-
-
- -

-

Parameters:
- - - - -
theObject is mesh, submesh or group
theCriterion is FT_...; used to choose a neighbour to fuse with.
MaxAngle is a max angle between element normals at which fusion is still performed; theMaxAngle is mesured in radians.
-
-
Returns:
TRUE in case of success, FALSE otherwise.
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.QuadToTri (  self,
  IDsOfElements,
  theCriterion 
)
-
-
- -

-

Parameters:
- - - - -
IDsOfElements the faces to be splitted.
theCriterion is FT_...; used to choose a diagonal for splitting.
 TRUE in case of success, FALSE otherwise.
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.QuadToTriObject (  self,
  theObject,
  theCriterion 
)
-
-
- -

-

Parameters:
- - - -
theObject object to taking list of elements from, is mesh, submesh or group
theCriterion is FT_...; used to choose a diagonal for splitting.
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SplitQuad (  self,
  IDsOfElements,
  Diag13 
)
-
-
- -

-

Parameters:
- - - -
theElems The faces to be splitted
the13Diag is used to choose a diagonal for splitting.
-
-
Returns:
TRUE in case of success, FALSE otherwise.
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SplitQuadObject (  self,
  theObject,
  Diag13 
)
-
-
- -

-

Parameters:
- - -
theObject is object to taking list of elements from, is mesh, submesh or group
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.BestSplit (  self,
  IDOfQuad,
  theCriterion 
)
-
-
- -

-

Parameters:
- - - -
IDOfQuad ID of the quadrangle to be splitted.
theCriterion is FT_...; a criterion to choose a diagonal for splitting.
-
-
Returns:
1 if 1-3 diagonal is better, 2 if 2-4 diagonal is better, 0 if error occurs.
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.SplitQuadsNearTriangularFacets (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SplitHexaToTetras (  self,
  theObject,
  theNode000,
  theNode001 
)
-
-
- -

-Use pattern mapping functionality for splitting.

Parameters:
- - - - -
theObject object to take list of hexahedrons from; is mesh, submesh or group.
theNode000,theNode001 is in range [0,7]; give an orientation of the pattern relatively each hexahedron: the (0,0,0) key-point of pattern will be mapped into <theNode000>-th node of each volume, the (0,0,1) key-point will be mapped into <theNode001>-th node of each volume. The (0,0,0) key-point of used pattern corresponds to not split corner.
 TRUE in case of success, FALSE otherwise.
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SplitHexaToPrisms (  self,
  theObject,
  theNode000,
  theNode001 
)
-
-
- -

-Use pattern mapping functionality for splitting.

Parameters:
- - - - -
theObject object to take list of hexahedrons from; is mesh, submesh or group.
theNode000,theNode001 is in range [0,7]; give an orientation of the pattern relatively each hexahedron: the (0,0,0) key-point of pattern will be mapped into <theNode000>-th node of each volume, the (0,0,1) key-point will be mapped into <theNode001>-th node of each volume. The edge (0,0,0)-(0,0,1) of used pattern connects two not split corners.
 TRUE in case of success, FALSE otherwise.
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Smooth (  self,
  IDsOfElements,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
)
-
-
- -

-

Parameters:
- - - - - - -
IDsOfElements list if ids of elements to smooth
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterations maximum number of iterations
MaxAspectRatio varies in range [1.0, inf]
Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SmoothObject (  self,
  theObject,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxxAspectRatio,
  Method 
)
-
-
- -

-

Parameters:
- - - - - - -
theObject object to smooth
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterations maximum number of iterations
MaxAspectRatio varies in range [1.0, inf]
Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SmoothParametric (  self,
  IDsOfElements,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
)
-
-
- -

-

Parameters:
- - - - - - -
IDsOfElements list if ids of elements to smooth
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterations maximum number of iterations
MaxAspectRatio varies in range [1.0, inf]
Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SmoothParametricObject (  self,
  theObject,
  IDsOfFixedNodes,
  MaxNbOfIterations,
  MaxAspectRatio,
  Method 
)
-
-
- -

-

Parameters:
- - - - - - -
theObject object to smooth
IDsOfFixedNodes list of ids of fixed nodes. Note that nodes built on edges and boundary nodes are always fixed.
MaxNbOfIterations maximum number of iterations
MaxAspectRatio varies in range [1.0, inf]
Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ConvertToQuadratic (  self,
  theForce3d 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.ConvertFromQuadratic (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.RenumberNodes (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.RenumberElements (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.RotationSweep (  self,
  IDsOfElements,
  Axix,
  AngleInRadians,
  NbOfSteps,
  Tolerance 
)
-
-
- -

-

Parameters:
- - - - - - -
IDsOfElements list of ids of elements to sweep
Axix axis of rotation, AxisStruct or line(geom object)
AngleInRadians angle of Rotation
NbOfSteps number of steps
Tolerance tolerance
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.RotationSweepObject (  self,
  theObject,
  Axix,
  AngleInRadians,
  NbOfSteps,
  Tolerance 
)
-
-
- -

-

Parameters:
- - - - - - -
theObject object wich elements should be sweeped
Axix axis of rotation, AxisStruct or line(geom object)
AngleInRadians angle of Rotation
NbOfSteps number of steps
Tolerance tolerance
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExtrusionSweep (  self,
  IDsOfElements,
  StepVector,
  NbOfSteps 
)
-
-
- -

-

Parameters:
- - - - -
IDsOfElements list of elements ids for extrusion
StepVector vector, defining the direction and value of extrusion
NbOfSteps the number of steps
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.AdvancedExtrusion (  self,
  IDsOfElements,
  StepVector,
  NbOfSteps,
  ExtrFlags,
  SewTolerance 
)
-
-
- -

-

Parameters:
- - - - - - -
IDsOfElements is ids of elements
StepVector vector, defining the direction and value of extrusion
NbOfSteps the number of steps
ExtrFlags set flags for performing extrusion
SewTolerance uses for comparing locations of nodes if flag EXTRUSION_FLAG_SEW is set
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExtrusionSweepObject (  self,
  theObject,
  StepVector,
  NbOfSteps 
)
-
-
- -

-

Parameters:
- - - - -
theObject object wich elements should be processed
StepVector vector, defining the direction and value of extrusion
NbOfSteps the number of steps
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExtrusionSweepObject1D (  self,
  theObject,
  StepVector,
  NbOfSteps 
)
-
-
- -

-

Parameters:
- - - - -
theObject object wich elements should be processed
StepVector vector, defining the direction and value of extrusion
NbOfSteps the number of steps
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExtrusionSweepObject2D (  self,
  theObject,
  StepVector,
  NbOfSteps 
)
-
-
- -

-

Parameters:
- - - - -
theObject object wich elements should be processed
StepVector vector, defining the direction and value of extrusion
NbOfSteps the number of steps
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExtrusionAlongPath (  self,
  IDsOfElements,
  PathMesh,
  PathShape,
  NodeStart,
  HasAngles,
  Angles,
  HasRefPoint,
  RefPoint,
  LinearVariation = False 
)
-
-
- -

-

Parameters:
- - - - - - - - - - -
IDsOfElements is ids of elements
PathMesh mesh containing a 1D sub-mesh on the edge, along which proceeds the extrusion
PathShape is shape(edge); as the mesh can be complex, the edge is used to define the sub-mesh for the path
NodeStart the first or the last node on the edge. It is used to define the direction of extrusion
HasAngles allows the shape to be rotated around the path to get the resulting mesh in a helical fashion
Angles list of angles
HasRefPoint allows to use base point
RefPoint point around which the shape is rotated(the mass center of the shape by default). User can specify any point as the Base Point and the shape will be rotated with respect to this point.
LinearVariation makes compute rotation angles as linear variation of given Angles along path steps
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ExtrusionAlongPathObject (  self,
  theObject,
  PathMesh,
  PathShape,
  NodeStart,
  HasAngles,
  Angles,
  HasRefPoint,
  RefPoint,
  LinearVariation = False 
)
-
-
- -

-

Parameters:
- - - - - - - - - - -
IDsOfElements is ids of elements
PathMesh mesh containing a 1D sub-mesh on the edge, along which proceeds the extrusion
PathShape is shape(edge); as the mesh can be complex, the edge is used to define the sub-mesh for the path
NodeStart the first or the last node on the edge. It is used to define the direction of extrusion
HasAngles allows the shape to be rotated around the path to get the resulting mesh in a helical fashion
Angles list of angles
HasRefPoint allows to use base point
RefPoint point around which the shape is rotated(the mass center of the shape by default). User can specify any point as the Base Point and the shape will be rotated with respect to this point.
LinearVariation makes compute rotation angles as linear variation of given Angles along path steps
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Mirror (  self,
  IDsOfElements,
  Mirror,
  theMirrorType,
  Copy = 0 
)
-
-
- -

-

Parameters:
- - - - - -
IDsOfElements list of elements ids
Mirror is AxisStruct or geom object(point, line, plane)
theMirrorType is POINT, AXIS or PLANE If the Mirror is geom object this parameter is unnecessary
Copy allows to copy element(Copy is 1) or to replace with its mirroring(Copy is 0)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.MirrorObject (  self,
  theObject,
  Mirror,
  theMirrorType,
  Copy = 0 
)
-
-
- -

-

Parameters:
- - - - - -
theObject mesh, submesh or group
Mirror is AxisStruct or geom object(point, line, plane)
theMirrorType is POINT, AXIS or PLANE If the Mirror is geom object this parameter is unnecessary
Copy allows to copy element(Copy is 1) or to replace with its mirroring(Copy is 0)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Translate (  self,
  IDsOfElements,
  Vector,
  Copy 
)
-
-
- -

-

Parameters:
- - - - -
IDsOfElements list of elements ids
Vector direction of translation(DirStruct or vector)
Copy allows to copy the translated elements
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.TranslateObject (  self,
  theObject,
  Vector,
  Copy 
)
-
-
- -

-

Parameters:
- - - - -
theObject object to translate(mesh, submesh, or group)
Vector direction of translation(DirStruct or geom vector)
Copy allows to copy the translated elements
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.Rotate (  self,
  IDsOfElements,
  Axis,
  AngleInRadians,
  Copy 
)
-
-
- -

-

Parameters:
- - - - - -
IDsOfElements list of elements ids
Axis axis of rotation(AxisStruct or geom line)
AngleInRadians angle of rotation(in radians)
Copy allows to copy the rotated elements
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.RotateObject (  self,
  theObject,
  Axis,
  AngleInRadians,
  Copy 
)
-
-
- -

-

Parameters:
- - - - - -
theObject object to rotate(mesh, submesh, or group)
Axis axis of rotation(AxisStruct or geom line)
AngleInRadians angle of rotation(in radians)
Copy allows to copy the rotated elements
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.FindCoincidentNodes (  self,
  Tolerance 
)
-
-
- -

-

Parameters:
- - - -
Tolerance tolerance value
list of group of nodes
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.FindCoincidentNodesOnPart (  self,
  SubMeshOrGroup,
  Tolerance 
)
-
-
- -

-

Parameters:
- - - - -
Tolerance tolerance value
SubMeshOrGroup SubMesh or Group
list of group of nodes
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.MergeNodes (  self,
  GroupsOfNodes 
)
-
-
- -

-

Parameters:
- - -
list of group of nodes
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.FindEqualElements (  self,
  MeshOrSubMeshOrGroup 
)
-
-
- -

-

Parameters:
- - -
MeshOrSubMeshOrGroup Mesh or SubMesh, or Group of elements for searching
-
-
Returns:
a list of groups of equal elements
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.MergeElements (  self,
  GroupsOfElementsID 
)
-
-
- -

-

Parameters:
- - -
GroupsOfElementsID groups of elements for merging
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.MergeEqualElements (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SewFreeBorders (  self,
  FirstNodeID1,
  SecondNodeID1,
  LastNodeID1,
  FirstNodeID2,
  SecondNodeID2,
  LastNodeID2,
  CreatePolygons,
  CreatePolyedrs 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SewConformFreeBorders (  self,
  FirstNodeID1,
  SecondNodeID1,
  LastNodeID1,
  FirstNodeID2,
  SecondNodeID2 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SewBorderToSide (  self,
  FirstNodeIDOnFreeBorder,
  SecondNodeIDOnFreeBorder,
  LastNodeIDOnFreeBorder,
  FirstNodeIDOnSide,
  LastNodeIDOnSide,
  CreatePolygons,
  CreatePolyedrs 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.SewSideElements (  self,
  IDsOfSide1Elements,
  IDsOfSide2Elements,
  NodeID1OfSide1ToMerge,
  NodeID1OfSide2ToMerge,
  NodeID2OfSide1ToMerge,
  NodeID2OfSide2ToMerge 
)
-
-
- -

-Nodes belonging to Side1 are merged with nodes of elements of Side2. Number of elements in theSide1 and in theSide2 must be equal and they should have similar node connectivity. The nodes to merge should belong to sides borders and the first node should be linked to the second. -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh.ChangeElemNodes (  self,
  ide,
  newIDs 
)
-
-
- -

-

Parameters:
- - - -
ide the element id
newIDs nodes ids
-
-
Returns:
If number of nodes is not corresponded to type of element - returns false
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetLastCreatedNodes (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh.GetLastCreatedElems (  self  ) 
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
int smeshDC.Mesh.geom = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.Mesh.mesh = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.Mesh.editor = 0 [static]
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh.geom
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh.mesh
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh.editor
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Algorithm.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Algorithm.html deleted file mode 100644 index eb602f62b..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Algorithm.html +++ /dev/null @@ -1,408 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Algorithm Class Reference

Mother class to define algorithm, recommended to don't use directly. -More... -

-Inheritance diagram for smeshDC.Mesh_Algorithm:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 smesh
 mesh
 geom
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
)
-
-
- -

- -

-

-


Field Documentation

- -
- -
- -

- -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Algorithm__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Algorithm__inherit__graph.jpg deleted file mode 100644 index 0380c6a14..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Algorithm__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__CompositeSegment.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__CompositeSegment.html deleted file mode 100644 index 1cd07fcc5..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__CompositeSegment.html +++ /dev/null @@ -1,772 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_CompositeSegment Class Reference

Class to define a segment 1D algorithm for discretization. -More... -

-Inheritance diagram for smeshDC.Mesh_CompositeSegment:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def __init__
def LocalLength
 Define "LocalLength" hypothesis to cut an edge in several segments with the same length.
def NumberOfSegments
 Define "NumberOfSegments" hypothesis to cut an edge in several fixed number of segments.
def Arithmetic1D
 Define "Arithmetic1D" hypothesis to cut an edge in several segments with arithmetic length increasing.
def StartEndLength
 Define "StartEndLength" hypothesis to cut an edge in several segments with geometric length increasing.
def Deflection1D
 Define "Deflection1D" hypothesis.
def Propagation
 Define "Propagation" hypothesis that propagate all other hypothesis on all others edges that are in the opposite side in the case of quadrangular faces.
def AutomaticLength
 Define "AutomaticLength" hypothesis.
def LengthNearVertex
 Define "SegmentLengthAroundVertex" hypothesis.
def QuadraticMesh
 Define "QuadraticMesh" hypothesis, forcing construction of quadratic edges.
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 geom
 smesh
 mesh
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_CompositeSegment.__init__ (  self,
  mesh,
  geom = 0 
)
-
-
- -

- -

-Reimplemented from smeshDC.Mesh_Segment. -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.LocalLength (  self,
  l 
) [inherited]
-
-
- -

-

Parameters:
- - -
l for the length of segments that cut an edge
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.NumberOfSegments (  self,
  n,
  s = [] 
) [inherited]
-
-
- -

-

Parameters:
- - - -
n for the number of segments that cut an edge
s for the scale factor (optional)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.Arithmetic1D (  self,
  start,
  end 
) [inherited]
-
-
- -

-

Parameters:
- - - -
start for the length of the first segment
end for the length of the last segment
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.StartEndLength (  self,
  start,
  end 
) [inherited]
-
-
- -

-

Parameters:
- - - -
start for the length of the first segment
end for the length of the last segment
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.Deflection1D (  self,
  d 
) [inherited]
-
-
- -

-

Parameters:
- - -
d for the deflection
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Segment.Propagation (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.AutomaticLength (  self,
  fineness = 0 
) [inherited]
-
-
- -

-

Parameters:
- - -
fineness for the fineness [0-1]
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.LengthNearVertex (  self,
  length,
  vertex = 0 
) [inherited]
-
-
- -

-

Parameters:
- - - -
length for the segment length
vertex for the length localization: vertex index [0,1] | verext object
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Segment.QuadraticMesh (  self  )  [inherited]
-
-
- -

-If the 2D mesher sees that all boundary edges are quadratic ones, it generates quadratic faces, else it generates linear faces using medium nodes as if they were vertex ones. The 3D mesher generates quadratic volumes only if all boundary faces are quadratic ones, else it fails. -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
smeshDC.Mesh_Segment.geom [inherited]
-
-
- -

- -

-Reimplemented from smeshDC.Mesh_Algorithm. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__CompositeSegment__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__CompositeSegment__inherit__graph.jpg deleted file mode 100644 index 7d2fc4773..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__CompositeSegment__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Hexahedron.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Hexahedron.html deleted file mode 100644 index 0cd821ddb..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Hexahedron.html +++ /dev/null @@ -1,436 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Hexahedron Class Reference

Class to define a hexahedron 3D algorithm. -More... -

-Inheritance diagram for smeshDC.Mesh_Hexahedron:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 smesh
 mesh
 geom
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Hexahedron.__init__ (  self,
  mesh,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.geom [inherited]
-
-
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Hexahedron__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Hexahedron__inherit__graph.jpg deleted file mode 100644 index 945396380..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Hexahedron__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Netgen.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Netgen.html deleted file mode 100644 index 8052b1916..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Netgen.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Netgen Class Reference

Class to define a NETGEN-based 2D or 3D algorithm that need no discrete boundary (i.e. -More... -

-Inheritance diagram for smeshDC.Mesh_Netgen:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def Parameters
 Define hypothesis containing parameters of the algorithm.
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 is3D
 smesh
 mesh
 geom
 subm
 algo

Static Public Attributes

int is3D = 0
-

Detailed Description

-independent)

-This class is deprecated, only for compatibility!

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Netgen.__init__ (  self,
  mesh,
  is3D,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Netgen.Parameters (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
int smeshDC.Mesh_Netgen.is3D = 0 [static]
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.geom [inherited]
-
-
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Netgen__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Netgen__inherit__graph.jpg deleted file mode 100644 index 73b7e43a0..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Netgen__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Prism3D.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Prism3D.html deleted file mode 100644 index 6a5f8f092..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Prism3D.html +++ /dev/null @@ -1,436 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Prism3D Class Reference

Class to define a 3D extrusion algorithm. -More... -

-Inheritance diagram for smeshDC.Mesh_Prism3D:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 smesh
 mesh
 geom
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Prism3D.__init__ (  self,
  mesh,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.geom [inherited]
-
-
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Prism3D__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Prism3D__inherit__graph.jpg deleted file mode 100644 index 7ce49e449..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Prism3D__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection1D.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection1D.html deleted file mode 100644 index f22c1a796..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection1D.html +++ /dev/null @@ -1,494 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Projection1D Class Reference

Class to define a projection 1D algorithm. -More... -

-Inheritance diagram for smeshDC.Mesh_Projection1D:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def SourceEdge
 Define "Source Edge" hypothesis, specifying a meshed edge to take a mesh pattern from, and optionally association of vertices between the source edge and a target one (where a hipothesis is assigned to).
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 smesh
 mesh
 geom
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Projection1D.__init__ (  self,
  mesh,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Projection1D.SourceEdge (  self,
  edge,
  mesh = None,
  srcV = None,
  tgtV = None 
)
-
-
- -

-

Parameters:
- - - - - -
edge to take nodes distribution from
mesh to take nodes distribution from (optional)
srcV is vertex of edge to associate with tgtV (optional)
tgtV is vertex of the edge where the algorithm is assigned, to associate with srcV (optional)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.geom [inherited]
-
-
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection1D__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection1D__inherit__graph.jpg deleted file mode 100644 index b9b516791..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection1D__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection2D.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection2D.html deleted file mode 100644 index fc2d896d4..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection2D.html +++ /dev/null @@ -1,508 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Projection2D Class Reference

Class to define a projection 2D algorithm. -More... -

-Inheritance diagram for smeshDC.Mesh_Projection2D:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def SourceFace
 Define "Source Face" hypothesis, specifying a meshed face to take a mesh pattern from, and optionally association of vertices between the source face and a target one (where a hipothesis is assigned to).
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 smesh
 mesh
 geom
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Projection2D.__init__ (  self,
  mesh,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Projection2D.SourceFace (  self,
  face,
  mesh = None,
  srcV1 = None,
  tgtV1 = None,
  srcV2 = None,
  tgtV2 = None 
)
-
-
- -

-

Parameters:
- - - - - - - -
face to take mesh pattern from
mesh to take mesh pattern from (optional)
srcV1 is vertex of face to associate with tgtV1 (optional)
tgtV1 is vertex of the face where the algorithm is assigned, to associate with srcV1 (optional)
srcV2 is vertex of face to associate with tgtV1 (optional)
tgtV2 is vertex of the face where the algorithm is assigned, to associate with srcV2 (optional)
-
-Note: association vertices must belong to one edge of a face -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.geom [inherited]
-
-
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection2D__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection2D__inherit__graph.jpg deleted file mode 100644 index ac89989bb..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection2D__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection3D.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection3D.html deleted file mode 100644 index 15e2112b0..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection3D.html +++ /dev/null @@ -1,508 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Projection3D Class Reference

Class to define a projection 3D algorithm. -More... -

-Inheritance diagram for smeshDC.Mesh_Projection3D:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def SourceShape3D
 Define "Source Shape 3D" hypothesis, specifying a meshed solid to take a mesh pattern from, and optionally association of vertices between the source solid and a target one (where a hipothesis is assigned to).
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 smesh
 mesh
 geom
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Projection3D.__init__ (  self,
  mesh,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Projection3D.SourceShape3D (  self,
  solid,
  mesh = 0,
  srcV1 = 0,
  tgtV1 = 0,
  srcV2 = 0,
  tgtV2 = 0 
)
-
-
- -

-

Parameters:
- - - - - - - -
solid to take mesh pattern from
mesh to take mesh pattern from (optional)
srcV1 is vertex of solid to associate with tgtV1 (optional)
tgtV1 is vertex of the solid where the algorithm is assigned, to associate with srcV1 (optional)
srcV2 is vertex of solid to associate with tgtV1 (optional)
tgtV2 is vertex of the solid where the algorithm is assigned, to associate with srcV2 (optional)
-
-Note: association vertices must belong to one edge of a solid -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.geom [inherited]
-
-
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection3D__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection3D__inherit__graph.jpg deleted file mode 100644 index 073664314..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Projection3D__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Quadrangle.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Quadrangle.html deleted file mode 100644 index f79cf6885..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Quadrangle.html +++ /dev/null @@ -1,459 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Quadrangle Class Reference

Class to define a quadrangle 2D algorithm. -More... -

-Inheritance diagram for smeshDC.Mesh_Quadrangle:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def QuadranglePreference
 Define "QuadranglePreference" hypothesis, forcing construction of quadrangles if the number of nodes on opposite edges is not the same in the case where the global number of nodes on edges is even.
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 smesh
 mesh
 geom
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Quadrangle.__init__ (  self,
  mesh,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Quadrangle.QuadranglePreference (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.geom [inherited]
-
-
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Quadrangle__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Quadrangle__inherit__graph.jpg deleted file mode 100644 index 531a33969..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Quadrangle__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__RadialPrism3D.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__RadialPrism3D.html deleted file mode 100644 index 2b10bc4de..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__RadialPrism3D.html +++ /dev/null @@ -1,775 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_RadialPrism3D Class Reference

Class to define a Radial Prism 3D algorithm. -More... -

-Inheritance diagram for smeshDC.Mesh_RadialPrism3D:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def Get3DHypothesis
 Return 3D hypothesis holding the 1D one.
def OwnHypothesis
 Private method creating 1D hypothes and storing it in the LayerDistribution hypothes.
def NumberOfLayers
 Define "NumberOfLayers" hypothesis, specifying a number of layers of prisms to build between the inner and outer shells.
def LocalLength
 Define "LocalLength" hypothesis, specifying segment length to build between the inner and outer shells.
def NumberOfSegments
 Define "NumberOfSegments" hypothesis, specifying a number of layers of prisms to build between the inner and outer shells.
def Arithmetic1D
 Define "Arithmetic1D" hypothesis, specifying distribution of segments to build between the inner and outer shells as arithmetic length increasing.
def StartEndLength
 Define "StartEndLength" hypothesis, specifying distribution of segments to build between the inner and outer shells as geometric length increasing.
def AutomaticLength
 Define "AutomaticLength" hypothesis, specifying number of segments to build between the inner and outer shells.
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 distribHyp
 nbLayers
 smesh
 mesh
 geom
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_RadialPrism3D.__init__ (  self,
  mesh,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_RadialPrism3D.Get3DHypothesis (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_RadialPrism3D.OwnHypothesis (  self,
  hypType,
  args = [],
  so = "libStdMeshersEngine.so" 
)
-
-
- -

-Returns the created hypothes -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_RadialPrism3D.NumberOfLayers (  self,
  n 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_RadialPrism3D.LocalLength (  self,
  l 
)
-
-
- -

-

Parameters:
- - -
l for the length of segments
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_RadialPrism3D.NumberOfSegments (  self,
  n,
  s = [] 
)
-
-
- -

-

Parameters:
- - - -
n for the number of segments
s for the scale factor (optional)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_RadialPrism3D.Arithmetic1D (  self,
  start,
  end 
)
-
-
- -

-

Parameters:
- - - -
start for the length of the first segment
end for the length of the last segment
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_RadialPrism3D.StartEndLength (  self,
  start,
  end 
)
-
-
- -

-

Parameters:
- - - -
start for the length of the first segment
end for the length of the last segment
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_RadialPrism3D.AutomaticLength (  self,
  fineness = 0 
)
-
-
- -

-

Parameters:
- - -
fineness for the fineness [0-1]
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
- -
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.geom [inherited]
-
-
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__RadialPrism3D__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__RadialPrism3D__inherit__graph.jpg deleted file mode 100644 index 3624c762b..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__RadialPrism3D__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment.html deleted file mode 100644 index 5c2394041..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment.html +++ /dev/null @@ -1,773 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Segment Class Reference

Class to define a segment 1D algorithm for discretization. -More... -

-Inheritance diagram for smeshDC.Mesh_Segment:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def LocalLength
 Define "LocalLength" hypothesis to cut an edge in several segments with the same length.
def NumberOfSegments
 Define "NumberOfSegments" hypothesis to cut an edge in several fixed number of segments.
def Arithmetic1D
 Define "Arithmetic1D" hypothesis to cut an edge in several segments with arithmetic length increasing.
def StartEndLength
 Define "StartEndLength" hypothesis to cut an edge in several segments with geometric length increasing.
def Deflection1D
 Define "Deflection1D" hypothesis.
def Propagation
 Define "Propagation" hypothesis that propagate all other hypothesis on all others edges that are in the opposite side in the case of quadrangular faces.
def AutomaticLength
 Define "AutomaticLength" hypothesis.
def LengthNearVertex
 Define "SegmentLengthAroundVertex" hypothesis.
def QuadraticMesh
 Define "QuadraticMesh" hypothesis, forcing construction of quadratic edges.
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 geom
 smesh
 mesh
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.__init__ (  self,
  mesh,
  geom = 0 
)
-
- -

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.LocalLength (  self,
  l 
)
-
-
- -

-

Parameters:
- - -
l for the length of segments that cut an edge
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.NumberOfSegments (  self,
  n,
  s = [] 
)
-
-
- -

-

Parameters:
- - - -
n for the number of segments that cut an edge
s for the scale factor (optional)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.Arithmetic1D (  self,
  start,
  end 
)
-
-
- -

-

Parameters:
- - - -
start for the length of the first segment
end for the length of the last segment
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.StartEndLength (  self,
  start,
  end 
)
-
-
- -

-

Parameters:
- - - -
start for the length of the first segment
end for the length of the last segment
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.Deflection1D (  self,
  d 
)
-
-
- -

-

Parameters:
- - -
d for the deflection
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Segment.Propagation (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.AutomaticLength (  self,
  fineness = 0 
)
-
-
- -

-

Parameters:
- - -
fineness for the fineness [0-1]
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.LengthNearVertex (  self,
  length,
  vertex = 0 
)
-
-
- -

-

Parameters:
- - - -
length for the segment length
vertex for the length localization: vertex index [0,1] | verext object
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Segment.QuadraticMesh (  self  ) 
-
-
- -

-If the 2D mesher sees that all boundary edges are quadratic ones, it generates quadratic faces, else it generates linear faces using medium nodes as if they were vertex ones. The 3D mesher generates quadratic volumes only if all boundary faces are quadratic ones, else it fails. -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
- -
- -

- -

-Reimplemented from smeshDC.Mesh_Algorithm. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment__Python.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment__Python.html deleted file mode 100644 index 81b2c0e57..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment__Python.html +++ /dev/null @@ -1,816 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Segment_Python Class Reference

Class to define a segment 1D algorithm for discretization with python function. -More... -

-Inheritance diagram for smeshDC.Mesh_Segment_Python:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def PythonSplit1D
 Define "PythonSplit1D" hypothesis based on the Erwan Adam patch, awaiting equivalent SALOME functionality.
def __init__
def LocalLength
 Define "LocalLength" hypothesis to cut an edge in several segments with the same length.
def NumberOfSegments
 Define "NumberOfSegments" hypothesis to cut an edge in several fixed number of segments.
def Arithmetic1D
 Define "Arithmetic1D" hypothesis to cut an edge in several segments with arithmetic length increasing.
def StartEndLength
 Define "StartEndLength" hypothesis to cut an edge in several segments with geometric length increasing.
def Deflection1D
 Define "Deflection1D" hypothesis.
def Propagation
 Define "Propagation" hypothesis that propagate all other hypothesis on all others edges that are in the opposite side in the case of quadrangular faces.
def AutomaticLength
 Define "AutomaticLength" hypothesis.
def LengthNearVertex
 Define "SegmentLengthAroundVertex" hypothesis.
def QuadraticMesh
 Define "QuadraticMesh" hypothesis, forcing construction of quadratic edges.
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 geom
 smesh
 mesh
 subm
 algo
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment_Python.__init__ (  self,
  mesh,
  geom = 0 
)
-
-
- -

- -

-Reimplemented from smeshDC.Mesh_Segment. -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment_Python.PythonSplit1D (  self,
  n,
  func 
)
-
-
- -

-

Parameters:
- - - -
n for the number of segments that cut an edge
func for the python function that calculate the length of all segments
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.LocalLength (  self,
  l 
) [inherited]
-
-
- -

-

Parameters:
- - -
l for the length of segments that cut an edge
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.NumberOfSegments (  self,
  n,
  s = [] 
) [inherited]
-
-
- -

-

Parameters:
- - - -
n for the number of segments that cut an edge
s for the scale factor (optional)
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.Arithmetic1D (  self,
  start,
  end 
) [inherited]
-
-
- -

-

Parameters:
- - - -
start for the length of the first segment
end for the length of the last segment
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.StartEndLength (  self,
  start,
  end 
) [inherited]
-
-
- -

-

Parameters:
- - - -
start for the length of the first segment
end for the length of the last segment
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.Deflection1D (  self,
  d 
) [inherited]
-
-
- -

-

Parameters:
- - -
d for the deflection
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Segment.Propagation (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.AutomaticLength (  self,
  fineness = 0 
) [inherited]
-
-
- -

-

Parameters:
- - -
fineness for the fineness [0-1]
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Segment.LengthNearVertex (  self,
  length,
  vertex = 0 
) [inherited]
-
-
- -

-

Parameters:
- - - -
length for the segment length
vertex for the length localization: vertex index [0,1] | verext object
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Segment.QuadraticMesh (  self  )  [inherited]
-
-
- -

-If the 2D mesher sees that all boundary edges are quadratic ones, it generates quadratic faces, else it generates linear faces using medium nodes as if they were vertex ones. The 3D mesher generates quadratic volumes only if all boundary faces are quadratic ones, else it fails. -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
smeshDC.Mesh_Segment.geom [inherited]
-
-
- -

- -

-Reimplemented from smeshDC.Mesh_Algorithm. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment__Python__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment__Python__inherit__graph.jpg deleted file mode 100644 index 22c0b79af..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment__Python__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment__inherit__graph.jpg deleted file mode 100644 index ce167aa61..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Segment__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Tetrahedron.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Tetrahedron.html deleted file mode 100644 index a85de467c..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Tetrahedron.html +++ /dev/null @@ -1,800 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Tetrahedron Class Reference

Class to define a tetrahedron 3D algorithm. -More... -

-Inheritance diagram for smeshDC.Mesh_Tetrahedron:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def MaxElementVolume
 Define "MaxElementVolume" hypothesis to give the maximun volume of each tetrahedral.
def Parameters
 Define "Netgen 3D Parameters" hypothesis.
def SetMaxSize
 Set MaxSize.
def SetSecondOrder
 Set SecondOrder flag.
def SetOptimize
 Set Optimize flag.
def SetFineness
 Set Fineness.
def SetGrowthRate
 Set GrowthRate.
def SetNbSegPerEdge
 Set NbSegPerEdge.
def SetNbSegPerRadius
 Set NbSegPerRadius.
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 algoType
 params
 smesh
 mesh
 geom
 subm
 algo

Static Public Attributes

int params = 0
int algoType = 0
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Tetrahedron.__init__ (  self,
  mesh,
  algoType,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Tetrahedron.MaxElementVolume (  self,
  vol 
)
-
-
- -

-

Parameters:
- - -
vol for the maximum volume of each tetrahedral
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Tetrahedron.Parameters (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Tetrahedron.SetMaxSize (  self,
  theSize 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Tetrahedron.SetSecondOrder (  self,
  theVal 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Tetrahedron.SetOptimize (  self,
  theVal 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Tetrahedron.SetFineness (  self,
  theFineness 
)
-
-
- -

-

Parameters:
- - -
theFineness is: VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Tetrahedron.SetGrowthRate (  self,
  theRate 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Tetrahedron.SetNbSegPerEdge (  self,
  theVal 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Tetrahedron.SetNbSegPerRadius (  self,
  theVal 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
int smeshDC.Mesh_Tetrahedron.params = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.Mesh_Tetrahedron.algoType = 0 [static]
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.geom [inherited]
-
-
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Tetrahedron__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Tetrahedron__inherit__graph.jpg deleted file mode 100644 index 04b522031..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Tetrahedron__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Triangle.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Triangle.html deleted file mode 100644 index fafbe30e4..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Triangle.html +++ /dev/null @@ -1,855 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.Mesh_Triangle Class Reference

Class to define a triangle 2D algorithm. -More... -

-Inheritance diagram for smeshDC.Mesh_Triangle:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def __init__
 Private constructor.
def MaxElementArea
 Define "MaxElementArea" hypothesis to give the maximun area of each triangles.
def LengthFromEdges
 Define "LengthFromEdges" hypothesis to build triangles based on the length of the edges taken from the wire.
def Parameters
 Define "Netgen 2D Parameters" hypothesis.
def SetMaxSize
 Set MaxSize.
def SetSecondOrder
 Set SecondOrder flag.
def SetOptimize
 Set Optimize flag.
def SetFineness
 Set Fineness.
def SetGrowthRate
 Set GrowthRate.
def SetNbSegPerEdge
 Set NbSegPerEdge.
def SetNbSegPerRadius
 Set NbSegPerRadius.
def SetQuadAllowed
 Set QuadAllowed flag.
def __init__
def GetSubMesh
 If the algorithm is global, return 0;
- else return the submesh associated to this algorithm.
def GetAlgorithm
 Return the wrapped mesher.
def GetCompatibleHypothesis
 Get list of hypothesis that can be used with this algorithm.
def GetName
 Get name of algo.
def SetName
 Set name to algo.
def GetId
 Get id of algo.
def Create
 Private method.
def Hypothesis
 Private method.

Data Fields

 algoType
 params
 smesh
 mesh
 geom
 subm
 algo

Static Public Attributes

int algoType = 0
int params = 0
-

Detailed Description

-More details. -

-


Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Triangle.__init__ (  self,
  mesh,
  algoType,
  geom = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Triangle.MaxElementArea (  self,
  area 
)
-
-
- -

-

Parameters:
- - -
area for the maximum area of each triangles
-
- -
-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Triangle.LengthFromEdges (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Triangle.Parameters (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Triangle.SetMaxSize (  self,
  theSize 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Triangle.SetSecondOrder (  self,
  theVal 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Triangle.SetOptimize (  self,
  theVal 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Triangle.SetFineness (  self,
  theFineness 
)
-
-
- -

-

Parameters:
- - -
theFineness is: VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Triangle.SetGrowthRate (  self,
  theRate 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Triangle.SetNbSegPerEdge (  self,
  theVal 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Triangle.SetNbSegPerRadius (  self,
  theVal 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Triangle.SetQuadAllowed (  self,
  toAllow 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.__init__ (  self,
  smesh 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetSubMesh (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetAlgorithm (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetCompatibleHypothesis (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetName (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.SetName (  self,
  name 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.Mesh_Algorithm.GetId (  self  )  [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Create (  self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.Mesh_Algorithm.Hypothesis (  self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so" 
) [inherited]
-
-
- -

- -

-

-


Field Documentation

- -
-
- - - - -
int smeshDC.Mesh_Triangle.algoType = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.Mesh_Triangle.params = 0 [static]
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.smesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.mesh [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.geom [inherited]
-
-
- -

- -

-Reimplemented in smeshDC.Mesh_Segment. -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.subm [inherited]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.Mesh_Algorithm.algo [inherited]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Triangle__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Triangle__inherit__graph.jpg deleted file mode 100644 index 654d53760..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1Mesh__Triangle__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1smeshDC.html b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1smeshDC.html deleted file mode 100644 index 0502b82f3..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1smeshDC.html +++ /dev/null @@ -1,740 +0,0 @@ - - - - - - Main Page - - - - -  - - - - -

smeshDC.smeshDC Class Reference

Inheritance diagram for smeshDC.smeshDC:

Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

def init_smesh
def Mesh
def EnumToLong
 Returns long value from enumeration Uses for SMESH.FunctorType enumeration.
def GetPointStruct
 Get PointStruct from vertex.
def GetDirStruct
 Get DirStruct from vector.
def GetAxisStruct
 Get AxisStruct from object.
def SetEmbeddedMode
 Set the current mode.
def IsEmbeddedMode
 Get the current mode.
def SetCurrentStudy
 Set the current study.
def GetCurrentStudy
 Get the current study.
def CreateMeshesFromUNV
 Create Mesh object importing data from given UNV file.
def CreateMeshesFromMED
 Create Mesh object(s) importing data from given MED file.
def CreateMeshesFromSTL
 Create Mesh object importing data from given STL file.
def GetSubShapesId
 From SMESH_Gen interface.
def GetPattern
 From SMESH_Gen interface.
def GetEmptyCriterion
 Creates an empty criterion.
def GetCriterion
 Creates a criterion by given parameters.
def GetFilter
 Creates filter by given parameters of criterion.
def GetFunctor
 Creates numerical functor by its type.

Data Fields

 geompyD
-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.init_smesh (  self,
  theStudy,
  geompyD 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.Mesh (  self,
  obj = 0,
  name = 0 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.EnumToLong (  self,
  theItem 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.GetPointStruct (  self,
  theVertex 
)
-
-
- -

-

Parameters:
- - -
theVertex is GEOM object(vertex)
-
-
Returns:
SMESH.PointStruct
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.GetDirStruct (  self,
  theVector 
)
-
-
- -

-

Parameters:
- - -
theVector is GEOM object(vector)
-
-
Returns:
SMESH.DirStruct
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.GetAxisStruct (  self,
  theObj 
)
-
-
- -

-

Parameters:
- - -
theObj is GEOM object(line or plane)
-
-
Returns:
SMESH.AxisStruct
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.SetEmbeddedMode (  self,
  theMode 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.smeshDC.IsEmbeddedMode (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.SetCurrentStudy (  self,
  theStudy 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.smeshDC.GetCurrentStudy (  self  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.CreateMeshesFromUNV (  self,
  theFileName 
)
-
-
- -

-

Returns:
an instance of Mesh class
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.CreateMeshesFromMED (  self,
  theFileName 
)
-
-
- -

-

Returns:
a list of Mesh class instances
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.CreateMeshesFromSTL (  self,
  theFileName 
)
-
-
- -

-

Returns:
an instance of Mesh class
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.GetSubShapesId (  self,
  theMainObject,
  theListOfSubObjects 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - -
def smeshDC.smeshDC.GetPattern (  self  ) 
-
-
- -

-Creates pattern -

-

- -

-
- - - - - - - - - -
def smeshDC.smeshDC.GetEmptyCriterion (  self  ) 
-
-
- -

-

Returns:
SMESH.Filter.Criterion
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.GetCriterion (  self,
  elementType,
  CritType,
  Compare = FT_EqualTo,
  Treshold = "",
  UnaryOp = FT_Undefined,
  BinaryOp = FT_Undefined 
)
-
-
- -

-

Parameters:
- - - - - - - -
elementType is the type of elements(NODE, EDGE, FACE, VOLUME)
CritType is type of criterion( FT_Taper, FT_Area, FT_RangeOfIds, FT_LyingOnGeom etc. )
Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo}
Treshold is threshold value (range of ids as string, shape, numeric)
UnaryOp is FT_LogicalNOT or FT_Undefined
BinaryOp is binary logical operation FT_LogicalAND, FT_LogicalOR or FT_Undefined(must be for the last criterion in criteria)
-
-
Returns:
SMESH.Filter.Criterion
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.GetFilter (  self,
  elementType,
  CritType = FT_Undefined,
  Compare = FT_EqualTo,
  Treshold = "",
  UnaryOp = FT_Undefined 
)
-
-
- -

-

Parameters:
- - - - - - -
elementType is the type of elements in the group
CritType is type of criterion( FT_Taper, FT_Area, FT_RangeOfIds, FT_LyingOnGeom etc. )
Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo}
Treshold is threshold value (range of id ids as string, shape, numeric)
UnaryOp is FT_LogicalNOT or FT_Undefined
-
-
Returns:
SMESH_Filter
- -
-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.smeshDC.GetFunctor (  self,
  theCriterion 
)
-
-
- -

-

Parameters:
- - -
theCrierion is FT_...; functor type
-
-
Returns:
SMESH_NumericalFunctor
- -
-

-


Field Documentation

- -
- -
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1smeshDC__inherit__graph.jpg b/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1smeshDC__inherit__graph.jpg deleted file mode 100644 index 879ced852..000000000 Binary files a/doc/salome/gui/SMESH/smeshpy_doc/classsmeshDC_1_1smeshDC__inherit__graph.jpg and /dev/null differ diff --git a/doc/salome/gui/SMESH/smeshpy_doc/doxygen.css b/doc/salome/gui/SMESH/smeshpy_doc/doxygen.css deleted file mode 100644 index dc9da5220..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/doxygen.css +++ /dev/null @@ -1,218 +0,0 @@ -H1 { - text-align: center; - font-family: Geneva, Arial, Helvetica, sans-serif; -} -H2 { - font-family: Geneva, Arial, Helvetica, sans-serif; -} -CAPTION { font-weight: bold } -DIV.qindex { - width: 100%; - background-color: #eeeeff; - border: 1px solid #B0B0B0; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 120%; -} -A.qindex { - text-decoration: none; - font-weight: bold; - color: #1A419D; - padding: 2px; -} -A.qindex:visited { - text-decoration: none; - font-weight: bold; - color: #1A419D - padding: 2px; -} -A.qindex:hover { - text-decoration: none; - background-color: #ddddff; - padding: 2px; -} -A.qindexHL { - text-decoration: none; - font-weight: bold; - background-color: #6666cc; - color: #ffffff; - padding: 2px 6px; - border: 1px double #9295C2; -} -A.qindexHL:hover { - text-decoration: none; - background-color: #6666cc; - color: #ffffff; - padding: 2px 6px; -} -A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code { text-decoration: none; font-weight: normal; color: #1A419D} -A.codeRef { font-weight: normal; color: #1A419D} -A:hover { text-decoration: none; background-color: #f2f2ff } -DL.el { margin-left: -1cm } -PRE.fragment { - border: 1px solid #CCCCCC; - background-color: #f5f5f5; - margin-top: 4px; - margin-bottom: 4px; - margin-left: 2px; - margin-right: 8px; - padding-left: 6px; - padding-right: 6px; - padding-top: 4px; - padding-bottom: 4px; -} -DIV.fragment { - border: 1px solid #CCCCCC; - background-color: #f5f5f5; - padding: 6px; -} -DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } -TD.md { background-color: #F4F4FB; font-weight: bold; } -TD.mdname1 { background-color: #F4F4FB; font-weight: bold; color: #602020; } -TD.mdname { background-color: #F4F4FB; font-weight: bold; color: #602020; width: 600px; } -DIV.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold; - font-family: Geneva, Arial, Helvetica, sans-serif; -} -DIV.groupText { margin-left: 16px; font-style: italic; font-size: smaller } -BODY { - background: white; - color: black; - margin-right: 20px; - margin-left: 20px; -} -TD.indexkey { - background-color: #eeeeff; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TD.indexvalue { - background-color: #eeeeff; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TR.memlist { - background-color: #f0f0f0; -} -P.formulaDsp { text-align: center; } -IMG.formulaDsp { } -IMG.formulaInl { vertical-align: middle; } -SPAN.keyword { color: #008000 } -SPAN.keywordtype { color: #604020 } -SPAN.keywordflow { color: #e08000 } -SPAN.comment { color: #800000 } -SPAN.preprocessor { color: #806020 } -SPAN.stringliteral { color: #002080 } -SPAN.charliteral { color: #008080 } -.mdTable { - border: 1px solid #868686; - background-color: #F4F4FB; -} -.mdRow { - padding: 8px 10px; -} -.mdescLeft { - font-size: smaller; - font-style: italic; - background-color: #FAFAFA; - padding-left: 8px; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.mdescRight { - font-size: smaller; - font-style: italic; - background-color: #FAFAFA; - padding-left: 4px; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; - padding-bottom: 0px; - padding-right: 8px; -} -.memItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-style: solid; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-family: Geneva, Arial, Helvetica, sans-serif; - font-size: 12px; -} -.memItemRight { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-style: solid; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-family: Geneva, Arial, Helvetica, sans-serif; - font-size: 13px; -} -.search { color: #003399; - font-weight: bold; -} -FORM.search { - margin-bottom: 0px; - margin-top: 0px; -} -INPUT.search { font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #eeeeff; -} -TD.tiny { font-size: 75%; -} -a { - color: #252E78; -} -a:visited { - color: #3D2185; -} diff --git a/doc/salome/gui/SMESH/smeshpy_doc/namespacesmesh.html b/doc/salome/gui/SMESH/smeshpy_doc/namespacesmesh.html deleted file mode 100644 index 669113793..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/namespacesmesh.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - Main Page - - - - -  - - - -

Package smesh

-

-

-For available methods and classes please see documentation of -smeshDC package. -All methods of smeshDC package are accessible via smesh namespace, -for example "mesh = smesh.Mesh(shape, name)". -

- - - - - -

Variables

tuple smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
-


Variable Documentation

- -
-
- - - - -
tuple smesh.smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH") [static]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/smeshpy_doc/namespacesmeshDC.html b/doc/salome/gui/SMESH/smeshpy_doc/namespacesmeshDC.html deleted file mode 100644 index ba523db16..000000000 --- a/doc/salome/gui/SMESH/smeshpy_doc/namespacesmeshDC.html +++ /dev/null @@ -1,530 +0,0 @@ - - - - - - Main Page - - - - -  - - - -

Package smeshDC

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Data Structures

class  smeshDC
class  Mesh_Algorithm
 Mother class to define algorithm, recommended to don't use directly. More...
class  Mesh_Segment
 Class to define a segment 1D algorithm for discretization. More...
class  Mesh_CompositeSegment
 Class to define a segment 1D algorithm for discretization. More...
class  Mesh_Segment_Python
 Class to define a segment 1D algorithm for discretization with python function. More...
class  Mesh_Triangle
 Class to define a triangle 2D algorithm. More...
class  Mesh_Quadrangle
 Class to define a quadrangle 2D algorithm. More...
class  Mesh_Tetrahedron
 Class to define a tetrahedron 3D algorithm. More...
class  Mesh_Hexahedron
 Class to define a hexahedron 3D algorithm. More...
class  Mesh_Netgen
 Class to define a NETGEN-based 2D or 3D algorithm that need no discrete boundary (i.e. More...
class  Mesh_Projection1D
 Class to define a projection 1D algorithm. More...
class  Mesh_Projection2D
 Class to define a projection 2D algorithm. More...
class  Mesh_Projection3D
 Class to define a projection 3D algorithm. More...
class  Mesh_Prism3D
 Class to define a 3D extrusion algorithm. More...
class  Mesh_RadialPrism3D
 Class to define a Radial Prism 3D algorithm. More...
class  Mesh
 Class to define a mesh. More...

Functions

def GetName
 Gets object name.
def SetName
def TreatHypoStatus

Variables

int noNETGENPlugin = 0
int noNETGENPlugin = 1
int REGULAR = 1
int PYTHON = 2
int COMPOSITE = 3
int MEFISTO = 3
int NETGEN = 4
int GHS3D = 5
int FULL_NETGEN = 6
 POINT = SMESH_MeshEditor.POINT
 AXIS = SMESH_MeshEditor.AXIS
 PLANE = SMESH_MeshEditor.PLANE
 LAPLACIAN_SMOOTH = SMESH_MeshEditor.LAPLACIAN_SMOOTH
 CENTROIDAL_SMOOTH = SMESH_MeshEditor.CENTROIDAL_SMOOTH
int VeryCoarse = 0
int Coarse = 1
int Moderate = 2
int Fine = 3
int VeryFine = 4
int Custom = 5
string NO_NAME = "NoName"
-


Function Documentation

- -
-
- - - - - - - - - -
def smeshDC.GetName (  obj  ) 
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - -
def smeshDC.SetName (  obj,
  name 
)
-
-
- -

- -

-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def smeshDC.TreatHypoStatus (  status,
  hypName,
  geomName,
  isAlgo 
)
-
-
- -

- -

-

-


Variable Documentation

- -
-
- - - - -
int smeshDC.noNETGENPlugin = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.noNETGENPlugin = 1 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.REGULAR = 1 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.PYTHON = 2 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.COMPOSITE = 3 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.MEFISTO = 3 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.NETGEN = 4 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.GHS3D = 5 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.FULL_NETGEN = 6 [static]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.POINT = SMESH_MeshEditor.POINT [static]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.AXIS = SMESH_MeshEditor.AXIS [static]
-
-
- -

- -

-

- -

-
- - - - -
smeshDC.PLANE = SMESH_MeshEditor.PLANE [static]
-
-
- -

- -

-

- -

- -
- -

- -

-

- -

- -
- -

- -

-

- -

-
- - - - -
int smeshDC.VeryCoarse = 0 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.Coarse = 1 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.Moderate = 2 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.Fine = 3 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.VeryFine = 4 [static]
-
-
- -

- -

-

- -

-
- - - - -
int smeshDC.Custom = 5 [static]
-
-
- -

- -

-

- -

-
- - - - -
string smeshDC.NO_NAME = "NoName" [static]
-
-
- -

- -

-

- -

- - diff --git a/doc/salome/gui/SMESH/whdata/whftdata.js b/doc/salome/gui/SMESH/whdata/whftdata.js deleted file mode 100755 index addf26223..000000000 --- a/doc/salome/gui/SMESH/whdata/whftdata.js +++ /dev/null @@ -1,25 +0,0 @@ -// WebHelp 5.10.001 -var gTEA = new Array(); -function aTE(sTopicTitle, sTopicURL) -{ - var len = gTEA.length; - gTEA[len] = new topicEntry(sTopicTitle, sTopicURL); -} - -function topicEntry(sTopicTitle, sTopicURL) -{ - this.sTopicTitle = sTopicTitle; - this.sTopicURL = sTopicURL; -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putFtsTData) - { - parent.putFtsTData(gTEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whdata/whftdata0.htm b/doc/salome/gui/SMESH/whdata/whftdata0.htm deleted file mode 100755 index d06b4e784..000000000 --- a/doc/salome/gui/SMESH/whdata/whftdata0.htm +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whdata/whfts.htm b/doc/salome/gui/SMESH/whdata/whfts.htm deleted file mode 100755 index 6e7f89e4d..000000000 --- a/doc/salome/gui/SMESH/whdata/whfts.htm +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whdata/whfts.js b/doc/salome/gui/SMESH/whdata/whfts.js deleted file mode 100755 index 54246f693..000000000 --- a/doc/salome/gui/SMESH/whdata/whfts.js +++ /dev/null @@ -1,40 +0,0 @@ -// WebHelp 5.10.001 -var gaFileMapping = new Array(); -var gaFileTopicMapping = new Array(); - -function fileMapping(sStartKey, sEndKey, sFileName) -{ - this.sStartKey = sStartKey; - this.sEndKey = sEndKey; - this.sFileName = sFileName; - this.aFtsKeys = null; -} - -function fileTopicMapping(nIdBegin, nIdEnd, sFileName) -{ - this.nBegin = nIdBegin; - this.nEnd = nIdEnd; - this.sFileName = sFileName; - this.aTopics = null; -} - - -function iWM(sStartKey, sEndKey, sFileName) -{ - gaFileMapping[gaFileMapping.length] = new fileMapping(sStartKey, sEndKey, sFileName); -} - -function window_OnLoad() -{ - if (parent && parent != this && parent.ftsReady) - { - parent.ftsReady(gaFileMapping, gaFileTopicMapping); - } -} - -function iTM(nIdBegin, nIdEnd, sFileName) -{ - gaFileTopicMapping[gaFileTopicMapping.length] = new fileTopicMapping(nIdBegin, nIdEnd, sFileName); -} - -window.onload = window_OnLoad; diff --git a/doc/salome/gui/SMESH/whdata/whfwdata.js b/doc/salome/gui/SMESH/whdata/whfwdata.js deleted file mode 100755 index 8340b59d5..000000000 --- a/doc/salome/gui/SMESH/whdata/whfwdata.js +++ /dev/null @@ -1,37 +0,0 @@ -// WebHelp 5.10.001 -var gWEA = new Array(); -function aWE() -{ - var len = gWEA.length; - gWEA[len] = new ftsEntry(aWE.arguments); -} - -function ftsEntry(fn_arguments) -{ - if (fn_arguments.length && fn_arguments.length >= 1) - { - this.sItemName = fn_arguments[0]; - this.aTopics = null; - var nLen = fn_arguments.length; - if (nLen > 1) - { - this.aTopics = new Array(); - for (var i = 0; i < nLen - 1; i ++ ) - { - this.aTopics[i] = fn_arguments[i + 1]; - } - } - } -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putFtsWData) - { - parent.putFtsWData(gWEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whdata/whfwdata0.htm b/doc/salome/gui/SMESH/whdata/whfwdata0.htm deleted file mode 100755 index 50ea833ea..000000000 --- a/doc/salome/gui/SMESH/whdata/whfwdata0.htm +++ /dev/null @@ -1,1428 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whdata/whgdata.js b/doc/salome/gui/SMESH/whdata/whgdata.js deleted file mode 100755 index e38a107b5..000000000 --- a/doc/salome/gui/SMESH/whdata/whgdata.js +++ /dev/null @@ -1,26 +0,0 @@ -// WebHelp 5.10.001 -var gIEA = new Array(); -function aGE(sName, sDef) -{ - var len = gIEA.length; - gIEA[len] = new gloEntry(sName, sDef); -} - -function gloEntry(sName, sDef) -{ - this.sName = sName; - this.sDef = sDef; - this.nNKOff = 0; -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putData) - { - parent.putData(gIEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whdata/whgdata0.htm b/doc/salome/gui/SMESH/whdata/whgdata0.htm deleted file mode 100755 index 3865725f4..000000000 --- a/doc/salome/gui/SMESH/whdata/whgdata0.htm +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whdata/whglo.htm b/doc/salome/gui/SMESH/whdata/whglo.htm deleted file mode 100755 index 9d7ac79f1..000000000 --- a/doc/salome/gui/SMESH/whdata/whglo.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whdata/whglo.js b/doc/salome/gui/SMESH/whdata/whglo.js deleted file mode 100755 index c34fb24b2..000000000 --- a/doc/salome/gui/SMESH/whdata/whglo.js +++ /dev/null @@ -1,34 +0,0 @@ -// WebHelp 5.10.001 -var gaFileMapping = new Array(); -function fileMapping(sBK, sEK, sFileName, nNum) -{ - this.sBK = sBK; - this.sEK = sEK; - this.sFileName = sFileName; - this.aKs = null; - this.nNum = nNum; - this.oUsedItems = null; -} - - -function iFM(sBK, sEK, sFileName, nNum) -{ - var i = gaFileMapping.length; - gaFileMapping[i] = new fileMapping(sBK, sEK, sFileName, nNum); - if (i == 0) { - gaFileMapping[i].nTotal = nNum; - } - else { - gaFileMapping[i].nTotal = nNum + gaFileMapping[i - 1].nTotal; - } -} - -function window_OnLoad() -{ - if (parent && parent != this && parent.projReady) - { - parent.projReady(gaFileMapping); - } -} - -window.onload = window_OnLoad; diff --git a/doc/salome/gui/SMESH/whdata/whidata.js b/doc/salome/gui/SMESH/whdata/whidata.js deleted file mode 100755 index a92184730..000000000 --- a/doc/salome/gui/SMESH/whdata/whidata.js +++ /dev/null @@ -1,89 +0,0 @@ -// WebHelp 5.10.001 -// const strings -var gIEA = new Array(); -function aIE() -{ - var len = gIEA.length; - gIEA[len] = new indexEntry(aIE.arguments); -} - -function topic(sName, sURL) -{ - this.sName = sName; - this.sURL = sURL; -} - -function indexEntry(fn_arguments) -{ - if (fn_arguments.length && fn_arguments.length >= 3) - { - this.nType = fn_arguments[0]; - this.nPKOff = 0; - this.nNKOff = fn_arguments[1]; - this.sName = fn_arguments[2]; - this.aTopics = null; - var nLen = fn_arguments.length; - if (Math.floor(nLen / 2) * 2 == nLen) - { - this.sTarget = fn_arguments[3]; - if (nLen > 5) - { - this.aTopics = new Array(); - for (var i = 0; i < (nLen - 5)/2; i++) - { - this.aTopics[i] = new topic(fn_arguments[i * 2 + 4], fn_arguments[i * 2 + 5]); - } - } - - } - else - { - if (nLen > 4) - { - this.aTopics = new Array(); - for (var i = 0; i < (nLen - 4)/2; i++) - { - this.aTopics[i] = new topic(fn_arguments[i * 2 + 3], fn_arguments[i * 2 + 4]); - } - } - } - } -} - -function getIndexTopicMappingList(nItemIndex) -{ - var sTopics = ""; - if (gIEA.length > nItemIndex) - { - if (gIEA[nItemIndex].aTopics) - { - var i = 0; - var nLen = gIEA[nItemIndex].aTopics.length; - for (i = 0; i < nLen; i ++) - { - sTopics += "," + gIEA[nItemIndex].aTopics[i]; - } - } - } - return sTopics; -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putData) - { - for (var i = 0; i < gIEA.length; i ++ ) - { - if (gIEA[i].nNKOff != 0 && i + gIEA[i].nNKOff + 1 < gIEA.length) - { - - gIEA[i + gIEA[i].nNKOff + 1].nPKOff = gIEA[i].nNKOff; - } - } - parent.putData(gIEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whdata/whidx.htm b/doc/salome/gui/SMESH/whdata/whidx.htm deleted file mode 100755 index a049a96f9..000000000 --- a/doc/salome/gui/SMESH/whdata/whidx.htm +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whdata/whidx.js b/doc/salome/gui/SMESH/whdata/whidx.js deleted file mode 100755 index c34fb24b2..000000000 --- a/doc/salome/gui/SMESH/whdata/whidx.js +++ /dev/null @@ -1,34 +0,0 @@ -// WebHelp 5.10.001 -var gaFileMapping = new Array(); -function fileMapping(sBK, sEK, sFileName, nNum) -{ - this.sBK = sBK; - this.sEK = sEK; - this.sFileName = sFileName; - this.aKs = null; - this.nNum = nNum; - this.oUsedItems = null; -} - - -function iFM(sBK, sEK, sFileName, nNum) -{ - var i = gaFileMapping.length; - gaFileMapping[i] = new fileMapping(sBK, sEK, sFileName, nNum); - if (i == 0) { - gaFileMapping[i].nTotal = nNum; - } - else { - gaFileMapping[i].nTotal = nNum + gaFileMapping[i - 1].nTotal; - } -} - -function window_OnLoad() -{ - if (parent && parent != this && parent.projReady) - { - parent.projReady(gaFileMapping); - } -} - -window.onload = window_OnLoad; diff --git a/doc/salome/gui/SMESH/whdata/whtdata.js b/doc/salome/gui/SMESH/whdata/whtdata.js deleted file mode 100755 index 0558e198c..000000000 --- a/doc/salome/gui/SMESH/whdata/whtdata.js +++ /dev/null @@ -1,64 +0,0 @@ -// WebHelp 5.10.001 -var gTEA = new Array(); -function aTE() -{ - gTEA[gTEA.length] = new tocEntry(aTE.arguments); -} - -function tocEntry(fn_arguments) -{ - if (fn_arguments.length < 3) - { - alert ("data format wrong!!!"); - return; - } - - this.nType = fn_arguments[0]; - this.nContents = fn_arguments[1]; - this.sItemName = fn_arguments[2]; - - if (this.nType == 1 || this.nType == 2 || this.nType == 16) - { - if (fn_arguments.length > 3) - { - this.sItemURL = fn_arguments[3]; - if (fn_arguments.length > 4) - { - this.sTarget = fn_arguments[4]; - if (fn_arguments.length > 5) - this.sIconRef = fn_arguments[5]; - } - } - } - if (this.nType == 4 || this.nType == 8) - { - if (fn_arguments.length > 3) - { - this.sRefURL = fn_arguments[3]; - if (this.nType == 4) - { - if(this.sRefURL.lastIndexOf("/")!=this.sRefURL.length-1) - this.sRefURL+="/"; - } - if (fn_arguments.length > 4) - { - this.sItemURL = fn_arguments[4]; - if (fn_arguments.length > 5) - { - this.sTarget = fn_arguments[5]; - if (fn_arguments.length > 6) - this.sIconRef = fn_arguments[6]; - } - } - } - } -} - - -function window_OnLoad() -{ - if (parent && parent != this && parent.putData) { - parent.putData(gTEA); - } -} -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whdata/whtdata0.htm b/doc/salome/gui/SMESH/whdata/whtdata0.htm deleted file mode 100755 index 17c79a84c..000000000 --- a/doc/salome/gui/SMESH/whdata/whtdata0.htm +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whdata/whtoc.htm b/doc/salome/gui/SMESH/whdata/whtoc.htm deleted file mode 100755 index 459c3e311..000000000 --- a/doc/salome/gui/SMESH/whdata/whtoc.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whdata/whtoc.js b/doc/salome/gui/SMESH/whdata/whtoc.js deleted file mode 100755 index 62de5a132..000000000 --- a/doc/salome/gui/SMESH/whdata/whtoc.js +++ /dev/null @@ -1,31 +0,0 @@ -// WebHelp 5.10.001 -// const strings -var gaProj = new Array(); -var gsRoot = ""; - -function setRoot(sRoot) -{ - gsRoot = sRoot -} - -function aPE(sProjPath, sRootPath) -{ - gaProj[gaProj.length] = new tocProjEntry(sProjPath, sRootPath); -} - -function tocProjEntry(sProjPath, sRootPath) -{ - if(sProjPath.lastIndexOf("/")!=sProjPath.length-1) - sProjPath+="/"; - this.sPPath = sProjPath; - this.sRPath = sRootPath; -} - - -function window_OnLoad() -{ - if (parent && parent != this && parent.projReady) { - parent.projReady(gsRoot, gaProj); - } -} -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whgdata/whexpbar.gif b/doc/salome/gui/SMESH/whgdata/whexpbar.gif deleted file mode 100755 index e677dc6f1..000000000 Binary files a/doc/salome/gui/SMESH/whgdata/whexpbar.gif and /dev/null differ diff --git a/doc/salome/gui/SMESH/whgdata/whlstf0.htm b/doc/salome/gui/SMESH/whgdata/whlstf0.htm deleted file mode 100755 index 08501c590..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf0.htm +++ /dev/null @@ -1,44 +0,0 @@ - - -Search Words List - - - - - - - -

- - -0d
1d 1 2 3 4 5 6 7 8 9 10 11 12 13
1e 1 2
2d 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
3d 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
3e
3rd
3x3
5th
-

-a_mesh
aa
able 1 2 3
aborder
aborders
above 1 2 3
abox
absent
absolutely
abutting
access 1 2
accessed
according 1 2 3 4 5 6 7 8 9 10 11 12 13
account 1 2
acomp 1 2
acompobj
actually
add 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
added 1 2 3 4 5
addedge
addface
addhypothesis 1 2 3 4 5 6
adding 1 2 3 4
addition 1 2 3
additional 1 2 3 4 5 6 7
additionally 1 2
addnode
addobject
addpolygonalface
addpolyhedralvolume
addtostudy 1 2 3 4 5 6 7
addtostudyinfather 1 2 3 4 5
addvolume
adjacent 1 2 3 4 5 6
adjust
adjustable
advanced 1 2
afilter 1 2
afiltermgr 1 2 3
afunctor 1 2 3
ageomgroup1
ageomgroup2
agroup 1 2
agroup1
agroup2
agroup3
agroup4
agroup5
agroupelemids
agroupf
agroupmain
agroupn
agroupres
agrouptool
ai
al
algo 1 2 3 4
algo1 1 2 3
algo2 1 2 3
algorithm 1 2 3 4 5 6 7 8 9 10 11 12 13
algorithms 1 2 3 4 5 6 7 8 9 10
allow
allowed 1 2 3
allowing 1 2
allows 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
along 1 2 3 4 5 6
alternative
alternatively 1 2
always
amesheditor 1 2
amount
analytic
aneditor 1 2 3
angle 1 2 3 4 5 6 7 8 9 10 11
angle180
angle45
angled
angles 1 2 3
angular
angularity
anids 1 2
anodeid1
anodeid2
anodeid3
anodeid4
another 1 2
any 1 2 3 4 5 6 7 8 9
apparent
appear 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
appeared
append 1 2
applicable 1 2
application 1 2
applied 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
apply 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
applying 1 2 3 4 5
applytomeshfaces
appropriate
approximately
apredicate 1 2


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf1.htm b/doc/salome/gui/SMESH/whgdata/whlstf1.htm deleted file mode 100755 index 935c39087..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf1.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-arc 1 2 3
arcsine
area 1 2 3 4 5 6 7 8 9 10 11
areas
arithmetic 1 2 3 4 5 6
arithmetic1d 1 2 3 4
around 1 2 3
array_of_nodes_groups
asmeshgroup1
asmeshgroup2
aspect 1 2 3 4 5 6
assign 1 2 3 4
assigned
assigning
associated 1 2 3
attribute
auto
automatic 1 2 3 4 5
automatically 1 2 3 4 5 6 7
available 1 2
average 1 2 3 4 5 6 7
axes
axis 1 2 3 4 5 6
axisstruct 1 2
axisxyz 1 2
-

-background
bar
base
based 1 2 3
basic 1 2
basing 1 2
basis 1 2 3
become
before 1 2
beginning 1 2
belong 1 2 3
belonging 1 2 3 4 5
below
berders
better
binary
bisecting
bisector
bit
black
block 1 2
blue
bmp 1 2
bog
boolean
border 1 2
borders 1 2 3 4 5 6 7 8 9
both 1 2 3 4
bottom 1 2
bound
boundaries
boundary 1 2 3 4 5
bounded
bounding
bounds
box 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
box_1
box_id 1 2
box1
box2
boxes
broken 1 2
brown
browse
browser 1 2 3 4 5 6 7 8 9 10 11 12 13
build 1 2 3 4 5 6 7
builds
built 1 2 3 4
button 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
buttons 1 2 3
-

-cad
calculated 1 2 3 4 5
calculates 1 2
calculation 1 2 3
calculations
called
careful
case 1 2 3 4 5 6 7
cases 1 2
cells 1 2 3
center 1 2 3
centroid
centroidal
centroidal_smooth
certain 1 2
change 1 2 3 4 5 6 7 8
changed
changes 1 2 3 4
changing
characteristic
characterizes
check 1 2
checkbox 1 2 3
checked
choice 1 2 3
choose 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
choosing 1 2
chosen 1 2 3 4 5


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf10.htm b/doc/salome/gui/SMESH/whgdata/whlstf10.htm deleted file mode 100755 index 8963e8a27..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf10.htm +++ /dev/null @@ -1,43 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-right 1 2 3 4 5 6 7
rotate 1 2 3 4
rotated 1 2 3 4
rotateobject
rotation 1 2 3 4 5 6
rotationsweepobject
rough
rr
rule 1 2
rules
running
-

-s
salome 1 2 3 4 5 6 7 8 9 10
same 1 2 3 4 5 6 7 8 9 10 11 12 13 14
sample 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
save
scalar
scale
scaling
scene
script 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
scripts 1 2
seam
search 1 2
second 1 2 3
section 1 2 3
sections 1 2
see 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
segment 1 2 3 4 5
segments 1 2 3 4 5 6 7
select 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
selectable
selected 1 2 3 4 5 6 7 8 9 10 11
selecting 1 2 3 4 5 6 7 8 9 10
selection 1 2 3 4 5 6 7 8
sense
separated
sequence
sequences
set 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
setcurrentstudy 1 2 3 4
setdisplaymode
setlength 1 2
setmargin 1 2
setmaxelementarea 1 2 3 4
setmaxelementvolume 1 2
setmesh
setname 1 2 3
setnumberofsegments 1 2 3 4 5 6
setnumfunctor 1 2
setpredicate 1 2
sets
setting 1 2 3 4
settings
settransparency
sew 1 2 3
sewbordertoside
sewconformfreeborders
sewfreeborders
sewing 1 2
sewsideelements
sg 1 2 3 4 5 6 7
shading 1 2 3
shall 1 2 3 4 5 6 7 8 9 10 11
shape 1 2 3 4
shape_mesh
shapes
shapetype 1 2 3 4 5 6 7
shift 1 2 3 4 5
shortest
should 1 2 3 4 5 6 7 8 9 10 11
show 1 2 3
showing
shown 1 2
shows 1 2 3
shrink


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf11.htm b/doc/salome/gui/SMESH/whgdata/whlstf11.htm deleted file mode 100755 index 76c55a2eb..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf11.htm +++ /dev/null @@ -1,43 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-side 1 2 3 4
sides 1 2 3
simple 1 2
simpler
simplex
simplexes
simply 1 2
sin
size
sizes
sk 1 2
sketcher
sketcher1
sketcher2
sketchers
skew 1 2 3 4 5 6
slider
small
smesh 1 2 3 4 5 6 7 8
smesh_mechanic 1 2 3 4
smesh_mechanic_tetra
smesh_mesheditor 1 2
smeshgroup1
smeshgroup2
smeshgui 1 2 3
smooth
smoothed
smoothing 1 2
smoothobject
smp
so 1 2 3 4 5 6 7 8 9 10 11 12
solid 1 2
solids 1 2
somewhat
sort 1 2 3 4
source
space 1 2 3 4
specific 1 2
specified 1 2 3 4 5
specifies 1 2
specify 1 2 3 4 5 6 7 8 9 10 11 12
specifying 1 2
sphere 1 2 3
split 1 2 3 4 5
sqrt
standalone 1 2 3
standard 1 2 3
start 1 2 3 4 5 6 7
startendlength
starting 1 2 3
status
stdmeshers 1 2 3 4 5 6
steps 1 2
stored 1 2
straight 1 2 3
stretched
strictly
structure 1 2
study 1 2 3 4
stuffed
sub 1 2 3 4 5 6 7 8
submenu 1 2 3 4
submesh 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
submeshes 1 2
subshapeall 1 2 3 4 5 6 7
subshapelist 1 2 3 4
subshapelist1
subshapelist2
subshapename 1 2 3
succeded 1 2
sum
supplement
supplementary
surface 1 2 3 4 5 6
surfaces 1 2
surrounding 1 2
sweep
swept 1 2
switches
symmetrical 1 2
symmetrically
symmetry 1 2
syntax
-

-t 1 2 3 4 5 6 7 8
table 1 2
take
taken 1 2 3 4 5
taking
taper 1 2 3 4 5
techniques
tetra3d
tetrahedral
tetrahedralization
tetrahedron 1 2 3 4 5 6
tetrahedrons 1 2 3 4
th 1 2
them 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
those 1 2
three 1 2 3 4 5 6 7 8
threshold
tick
time
tmp
together
toggle 1 2
toggling
tolerance 1 2 3 4
tool 1 2
toolbar 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
toolbars
tools
top
topological
topologically
topology
total
toward


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf12.htm b/doc/salome/gui/SMESH/whgdata/whlstf12.htm deleted file mode 100755 index 33daac708..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf12.htm +++ /dev/null @@ -1,47 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-transformation 1 2 3 4 5
transformed
transforming
translate 1 2
translated
translateobject
translation 1 2
transparency 1 2
transparent
tri_mesh
tria
tria_mesh
triangle 1 2 3 4 5 6 7 8 9 10
triangle_mefisto
triangles 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
triangular 1 2
triangulation
trias 1 2
trihedron
tritoquad
trying
tt
tui 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
two 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
type 1 2 3 4 5 6 7 8 9 10 11 12
types 1 2 3 4 5
typically
-

-u 1 2
unary
unassigning
uniform
union 1 2 3 4
uniongroups
unite 1 2 3 4
united 1 2
uniting 1 2 3
unless
unv
up 1 2 3
update
updated 1 2
updateobjbrowser 1 2 3 4 5 6 7
uploaded
usage
used 1 2 3 4 5 6 7 8 9 10 11 12 13
useful 1 2 3 4
user 1 2 3 4
uses
using 1 2 3 4 5 6 7 8
usually 1 2
-

-v
value 1 2 3 4 5 6 7 8 9 10
values 1 2 3 4 5 6
varies
various
ve
vector 1 2 3 4 5 6 7 8 9 10
vertex 1 2
vertices 1 2 3
very 1 2
via 1 2 3
view 1 2 3
viewer 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
viewing 1 2
views
visible
visual
visualize
vk
volume 1 2 3 4 5 6 7 8 9 10 11
volumes 1 2 3 4 5 6 7 8 9 10 11
vtk 1 2
vxy 1 2 3
-

-walking
warp 1 2
warping 1 2 3 4 5 6
way 1 2 3 4 5 6 7 8
ways 1 2
weighted
well
whether
while
white
whole 1 2 3 4 5 6 7 8
whose 1 2 3 4 5


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf13.htm b/doc/salome/gui/SMESH/whgdata/whlstf13.htm deleted file mode 100755 index 591da7bac..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf13.htm +++ /dev/null @@ -1,46 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-will 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
window
wire 1 2 3 4 5 6 7
wire_discretisation
wireframe 1 2 3
wires
wish 1 2 3 4
within 1 2 3
without 1 2
words
work
works
worst
would 1 2
ww
-

-x 1 2 3
x0
-

-y 1 2
y0
your 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
-

-z 1 2
z0
zero
zoom


- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf2.htm b/doc/salome/gui/SMESH/whgdata/whlstf2.htm deleted file mode 100755 index 04d1e8ba8..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf2.htm +++ /dev/null @@ -1,41 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-circle 1 2 3
circlemesh 1 2
clear
click 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
clicking 1 2 3 4 5 6 7
clipping 1 2
close 1 2
closed 1 2
closer
co
coarse
coincident 1 2
coincides
color 1 2 3
colored 1 2 3 4 5 6 7 8 9 10
coloring
colors 1 2
combine 1 2 3
combining
common 1 2 3
compare 1 2
completely
complex
component 1 2
compose 1 2 3 4
composed 1 2
composing 1 2 3 4 5 6 7
compound 1 2
computation 1 2 3 4 5
compute 1 2 3 4 5 6 7 8 9
computed 1 2
computes
computing 1 2 3
concepts
conditions 1 2
confirm 1 2 3 4 5 6 7
confirmation
conform 1 2 3 4
conformity
connect
connected 1 2
connecting
connection 1 2 3 4 5
connections 1 2
connectivity
consider 1 2
considered 1 2 3 4
consist
consisting 1 2 3 4 5 6 7 8 9
consists 1 2 3 4 5 6 7 8 9
console
constant
construct 1 2 3 4
constructed 1 2 3 4
constructing 1 2 3
construction 1 2 3 4
contain 1 2 3 4 5 6
containing 1 2 3
contains 1 2 3 4 5 6 7
contents 1 2
continues
contour 1 2
contrast
control 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
controls 1 2 3 4 5 6 7 8 9 10 11 12 13 14
converge
conversion
coordinate
coordinates 1 2 3 4 5
copy 1 2 3 4 5
corner 1 2
corners 1 2 3
corresponding 1 2 3 4 5 6 7 8 9
cos
cosal
could 1 2
counterclockwise
counting
course
create 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
createanddisplaygo
createarea 1 2
createaspectratio
createaspectratio3d
created 1 2 3 4 5 6 7
createequalto 1 2
createfilter 1 2
createfiltermanager 1 2 3
createfreeborders
createfreeedges
creategroup 1 2 3
creategroupfromgeom
createhypothesis 1 2 3 4 5 6
createlength
createlength2d
createlessthan 1 2
createmesh 1 2 3 4 5 6
createminimumangle 1 2
createmorethan 1 2
createmulticonnection
createmulticonnection2d
creates 1 2 3
createskew
createtaper
createvolume3d
createwarping
creating 1 2 3 4 5
creation 1 2 3 4 5
criteria 1 2
criterion 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
cross 1 2 3


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf3.htm b/doc/salome/gui/SMESH/whgdata/whlstf3.htm deleted file mode 100755 index ae0831898..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf3.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-cubic
current 1 2 3 4
currently 1 2 3
curve 1 2 3
curvilinear 1 2
cut 1 2 3 4 5 6 7
cutgroups
cutting 1 2
cylinder
-

-d
dealing
def
default 1 2 3 4 5 6 7
define 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
defined 1 2 3 4 5 6 7
defining 1 2 3 4
definite 1 2 3 4 5 6 7 8 9 10 11
definition 1 2 3 4
deflection 1 2 3 4
deflection1d
deformed
degree
degrees
delete 1 2 3
deleted 1 2
deletediag
deletes
deleting
deletion 1 2
density
depending 1 2 3
depends 1 2 3
describe
described 1 2
describes
description
desirable
desktop
destined 1 2 3
detail
detailed
detect
dh
diagonal 1 2 3 4
dialog 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
diameter
differ
difference 1 2
different 1 2 3 4 5
differently
differs
dimension 1 2 3 4 5 6
direct
directed
direction 1 2
directly
dirstruct 1 2
discretisation 1 2
discretization 1 2
discretized 1 2
displace
displaced
display 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
displayed 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
displaying
distance 1 2 3 4 5
distinguishes
distortion
distortions
distribution
divide
divided
does
domain
don 1 2 3 4
double
downward
dr
drag
drawn
dump 1 2
dx
dy
-

-e 1 2 3 4 5 6 7
easily
edge 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
edges 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
edgeslist
edgex111 1 2
edgex112 1 2
edgex121 1 2
edgex122 1 2
edgey11 1 2
edgey12 1 2
edgey21 1 2
edgey22 1 2
edgez111 1 2
edgez121 1 2
edgez211 1 2
edgez221 1 2
edit 1 2 3 4 5
editing 1 2 3


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf4.htm b/doc/salome/gui/SMESH/whgdata/whlstf4.htm deleted file mode 100755 index ed628ead1..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf4.htm +++ /dev/null @@ -1,43 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-effect
either 1 2
element 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
elements 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
else 1 2 3 4
enables
enabling
encapsulate
encountered
end 1 2 3 4 5 6
ending 1 2
ends
enough
enter 1 2 3 4 5
entities 1 2
entity 1 2 3 4
equal 1 2 3 4 5 6
equally
equidistant
equilateral
erase
etc 1 2 3 4
even 1 2
eventual
every
everything
example 1 2 3 4 5 6
exceed
exceeded
except 1 2
exist
existence
existing 1 2 3 4 5 6 7
exponent
export 1 2 3
exportation
exported
exporting
exportmed
exports 1 2
extended
extends
extremely
extremities
extruded 1 2 3 4
extrusion 1 2 3 4
extrusionalongpathobject 1 2
extrusionsweepobject
-

-f 1 2
face 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
face_1
face_2
face1 1 2 3
facelist
faces 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
facesrotate
facessmooth
facestritoquad
facex11 1 2
facex21 1 2
facey111 1 2
facey121 1 2
facez11 1 2
facez12 1 2
factor 1 2
factoryserver 1 2 3 4 5 6
failed
far
fashion
faster
feature
field 1 2 3 4 5 6 7 8
fields 1 2 3 4 5 6 7
fifth
file 1 2 3
files
fill 1 2 3
filter 1 2 3 4 5
filters 1 2
find 1 2 3
findcoincidentnodes
findorloadcomponent 1 2 3 4 5 6
finds
fine
fineness
first 1 2 3 4 5 6 7 8
fit
five
fixed 1 2 3 4 5
flag
folder 1 2
following 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
follows 1 2 3 4 5 6
font
format 1 2 3 4
formed 1 2
forming 1 2
forms
formula 1 2 3
four 1 2 3
fourth


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf5.htm b/doc/salome/gui/SMESH/whgdata/whlstf5.htm deleted file mode 100755 index 04a0271e8..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf5.htm +++ /dev/null @@ -1,47 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-frame
free 1 2 3 4 5 6 7 8 9
functionalities
functionality 1 2 3 4 5 6
functions
future
-

-g
gauss
generate 1 2 3 4 5
generated 1 2 3 4 5
generation 1 2 3
geom 1 2 3 4
geometric 1 2 3
geometrical 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
geometry 1 2 3 4 5
geompy 1 2 3 4 5 6 7
get 1 2 3 4 5 6
getalgorithm
getborders
getelementsid 1 2
geterrorcode
getid
getlistofid
getmaxelementarea 1 2
getmaxelementvolume 1 2
getmesh 1 2
getmesheditor 1 2 3
getname 1 2
getnumberofsegments 1 2
getpattern
getting
gg
given 1 2 3
gives 1 2
global
going
good
got
graduate
graduated
graphically
great
greater
greatest 1 2
green
group 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
group1
group12
group12a
group12b
group2
grouping 1 2
grouprotate
groups 1 2 3 4 5 6 7 8 9 10
groupsmooth
groupsofnodes
grouptritoquad
-

-h
half 1 2
halves
having 1 2 3 4
hedron
height
helical
help
hence
here
hexa 1 2
hexa_3d
hexa3d
hexagon
hexahedral 1 2 3
hexahedralization
hexahedrical 1 2
hexahedron 1 2 3 4 5 6
hexahedrons 1 2 3 4
hh
hide 1 2
hides
hiding
higher
highlighted 1 2 3 4
highlights 1 2 3 4
hmax
holds
holes
how 1 2
hyp
hyp1 1 2 3
hyp2 1 2 3
hyp3 1 2
hyp4 1 2
hyparea 1 2
hypnbseg 1 2 3
hypotheses 1 2 3 4 5 6 7 8 9 10 11
hypothesis 1 2 3 4 5 6 7 8 9 10 11 12
hypvolume 1 2
-

-i 1 2 3 4 5 6 7 8 9
icon 1 2 3
id 1 2 3 4 5 6 7 8 9 10 11 12
id_arc
id_circle 1 2
id_face
id_face1 1 2 3
idbox 1 2 3 4 5
idcomp
idea
idedge 1 2
idface
ids 1 2 3 4 5 6 7 8
idtoobject 1 2 3 4


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf6.htm b/doc/salome/gui/SMESH/whgdata/whlstf6.htm deleted file mode 100755 index 1ed1a07e2..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf6.htm +++ /dev/null @@ -1,49 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-if 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
ii
image 1 2 3
imply
import 1 2 3 4 5 6 7 8 9
importation
importcomponentgui 1 2 3
imported
importing
including 1 2
increasing 1 2 3
index 1 2
indicates
indices
info
information 1 2 3 4 5
infos 1 2 3
init 1 2 3
init_geom
initial 1 2 3 4
initialize 1 2 3
input 1 2
inscribed
insert
inserted
instead 1 2
intact
integer
intended
interested
intermediate
internal
intersect
intersected
intersectgroups
intersection 1 2 3
intersects
introduce
introduces
introducing
introduction
inverse 1 2 3
inversediag
inversion 1 2
invisible
isdone
iso
isoline
isolines
isometric
isplanarface 1 2 3
item 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
iteration 1 2
iterations 1 2
iterative
-

-join
jpeg 1 2
jpg 1 2
just 1 2 3
-

-k 1 2
keep 1 2 3
key
keyboard
knowing
ko
-

-l
labels
laplacian
last 1 2 3 4
lastnodeid
lay
lays 1 2 3
lcc 1 2 3 4 5 6
learn
least 1 2
leave 1 2
left 1 2 3 4
legth
len 1 2
length 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
lengthfromedges 1 2 3
less 1 2 3
let
level 1 2
libnetgenengine
library 1 2
libstdmeshersengine 1 2 3 4 5 6
like 1 2 3 4
limit
limited 1 2
line 1 2 3 4
lines 1 2 3 4 5
link
linked
links
list 1 2 3 4 5 6 7
listed 1 2
lists
lk
ll
load 1 2
loadfromface
local 1 2 3 4 5
locallength
locally 1 2
located 1 2
location 1 2 3 4
locations 1 2
lock 1 2
locking
longest
look
looking
looks
low
lower
lying
-

-main 1 2 3 4 5 6 7 8 9
makearc 1 2 3
makebox 1 2 3 4 5 6
makeboxdxdydz
makecirclethreepnt 1 2
makecompound 1 2 3 4
makecylinderrh 1 2
makeedge 1 2
makeface 1 2 3
makefaces
makehexa 1 2
makemesh
makepolygon
makequad 1 2
makesketcher
makevector 1 2 3
makevertex 1 2 3 4
makewire 1 2 3
manage
managed
manually 1 2
mapped
mapping 1 2 3
marked
marks
mass
math 1 2
max 1 2 3 4 5 6
max_element_area
maxelementarea 1 2 3 4 5
maxelementarea_500
maxelementarea_800
maxelementvolume 1 2
maxelementvolume_500
maxelementvolume_900
maximum 1 2 3 4 5 6 7


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf7.htm b/doc/salome/gui/SMESH/whgdata/whlstf7.htm deleted file mode 100755 index b4c892050..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf7.htm +++ /dev/null @@ -1,43 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-meaning
meaningful
measured
meet 1 2
mefisto_2d 1 2 3 4
mefisto2d 1 2
menu 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
menus
merge 1 2 3 4
merged 1 2
mergeequalelements
mergenodes
merges
merging 1 2 3 4
mesh 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
mesh_1 1 2
mesh_2
mesh_borders_at_multi
mesh_freebord
meshbox 1 2
meshed 1 2 3 4 5 6 7 8
mesheditor
mesher
meshes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
meshing 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
meshmed
method 1 2
methods
middle 1 2
minimum 1 2 3 4 5 6 7 8
mirrored
mirrorobject
mode 1 2 3
model
models
modes
modification 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
modify 1 2 3 4
modifying
module 1 2 3 4 5 6 7 8
modules
mouse 1 2 3
move 1 2
movenode
moving 1 2
multi 1 2 3 4 5
multiconnection
must 1 2 3 4 5
myelemid
mypnt1
mypnt2
mystudy 1 2 3 4
mystudyid 1 2 3
-

-n 1 2
name 1 2 3 4 5 6 7 8 9 10 11
names 1 2
nb 1 2
nb_segments_1
nb_vert
nbedges 1 2
nbfaces
nbhexas
nbnodes 1 2 3
nbpolygons
nbpolyhedrons
nbprisms
nbpyramids
nbquadrangles 1 2
nbtetras
nbtriangles 1 2
nbvolumes 1 2
necessary
need
negative
neighboring 1 2
netgen
netgen_3d
netgen3d
netgenplugin
new 1 2 3 4 5 6 7 8 9 10
next 1 2
nodal 1 2
node 1 2 3 4 5 6 7 8 9 10 11 12
node_ids
node_start_id
nodes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
none
normal 1 2
normalisation
note 1 2 3 4 5
nothing
notice
now 1 2 3 4


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf8.htm b/doc/salome/gui/SMESH/whgdata/whlstf8.htm deleted file mode 100755 index 536f7e166..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf8.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
numbering 1 2
numberofsegments 1 2 3 4 5 6 7
numberofsegments_10
numberofsegments_7
numbers 1 2 3
numeric
numerical
-

-obey
object 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
objects 1 2 3 4 5 6 7 8 9
objecttoid 1 2 3
objet
oblique
obtain
offset
ok 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
once
one 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
ones 1 2 3 4
onto 1 2
oo
opaque
operate
operation 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
operations 1 2 3
opposite 1 2 3 4 5 6 7 8 9 10
option
optional 1 2
options 1 2 3 4
order 1 2 3
ordinary 1 2
orientate
orientation 1 2 3 4 5
origin
others
otherwise 1 2
our
out
outlined
outside
own
-

-page 1 2
pairs
panning
parameter 1 2 3 4 5
parameters 1 2 3 4 5 6 7
parametric 1 2
parent
part 1 2
particular
particularity
parts
pass
path 1 2 3 4
pattern 1 2
pattern_name
patterns
pentahedron
pentahedrons
perform 1 2 3 4
performing
perimeter
pi 1 2
picture 1 2 3 4 5 6
place 1 2
placed
planar
plane 1 2 3 4
planes
platform 1 2
please
plot
plus 1 2
png 1 2
point 1 2 3 4 5 6 7 8 9 10 11
point111 1 2
point112 1 2
point121 1 2
point122 1 2
point211 1 2
point212 1 2
point221 1 2
point222 1 2
points 1 2 3 4 5 6 7 8 9
pointstruct 1 2
polygon 1 2
polygonal
polygons 1 2 3
polyhedral 1 2
polyhedron 1 2
polyhedrons 1 2
pop 1 2
position 1 2 3
positions
possess
possibility
possible 1 2 3 4
post
powerful


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstf9.htm b/doc/salome/gui/SMESH/whgdata/whlstf9.htm deleted file mode 100755 index 8b8cc4f22..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstf9.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words List - - - - - - - -

<<

-

-precision
preference 1 2 3
preferences
prefixed
preprocessing
present
presentation 1 2
presentations
presented
presents
preserved
preset
pressed 1 2 3 4
pressing
preview 1 2 3 4 5
previous 1 2
previously 1 2 3 4
principle
print 1 2 3 4 5 6 7
prisms
pro
probleme 1 2 3
procedure
proceed 1 2
proceeds
process
produce
produced
produces 1 2 3
product
program
progression
projected
projecting
projection 1 2
prompts
propagate 1 2
propagates 1 2 3
propagation 1 2 3 4 5 6
properties
provide
provides 1 2
pseudo
pulls
px 1 2 3
px1 1 2
py 1 2 3
py1 1 2
pyramidal
pyramids
python
pz 1 2 3
pz1 1 2
-

-qi
qk 1 2
quad 1 2
quad2d 1 2
quadrangle 1 2 3 4 5 6 7 8 9 10 11 12 13 14
quadrangle_2d 1 2
quadrangles 1 2 3 4 5 6 7 8 9 10 11 12
quadrangular 1 2 3 4 5 6
quadratic 1 2 3
quadtotri
quality 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
quantity
-

-r1
radio 1 2 3 4 5 6 7
radius 1 2
range 1 2 3
ranges
ranging 1 2
ratio 1 2 3 4 5 6 7 8
ready
recent
red
redefine 1 2
reduce
reevaluated
reference 1 2 3 4
references 1 2
refers
refined
reflects 1 2 3
refreshes
regular
regular_1d 1 2 3 4 5
regular1d 1 2 3
related
relations
relationship
relationships
remote
removal
remove 1 2 3 4 5 6 7 8 9 10 11 12
removeelements 1 2
removehypothesis 1 2
removenodes
removes
removing 1 2 3
renumber
renumbering 1 2
renumbernodes
reorient
reoriented
replaced
represent 1 2
representation
representations
represented 1 2
representing
represents 1 2 3 4
required 1 2 3
reset
resizes
respect
respective
rest 1 2
restores
restricted
result 1 2 3 4 5
resulting 1 2 3
results 1 2
ret 1 2 3
retrieve
return
returns
reveals
reverse 1 2
reverses
reverting
revolution 1 2 3
revolved


>> - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl0.htm b/doc/salome/gui/SMESH/whgdata/whlstfl0.htm deleted file mode 100755 index db38e6123..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl0.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ {D {E {D {E {R {X {T ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl1.htm b/doc/salome/gui/SMESH/whgdata/whlstfl1.htm deleted file mode 100755 index c2a4482fc..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl1.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ A AA AB AC AD AF AG AI AL AM AN AP AR AS AT AU AV AX ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl10.htm b/doc/salome/gui/SMESH/whgdata/whlstfl10.htm deleted file mode 100755 index c098d325e..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl10.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ JO JP JU ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl11.htm b/doc/salome/gui/SMESH/whgdata/whlstfl11.htm deleted file mode 100755 index a4b61af40..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl11.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ K KE KN KO ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl12.htm b/doc/salome/gui/SMESH/whgdata/whlstfl12.htm deleted file mode 100755 index 3030e6e2f..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl12.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ L LA LC LE LI LK LL LO LY ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl13.htm b/doc/salome/gui/SMESH/whgdata/whlstfl13.htm deleted file mode 100755 index 7a88bdbfd..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl13.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ MA ME MI MO MU MY ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl14.htm b/doc/salome/gui/SMESH/whgdata/whlstfl14.htm deleted file mode 100755 index a95f81ad0..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl14.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ N NA NB NE NO NU ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl15.htm b/doc/salome/gui/SMESH/whgdata/whlstfl15.htm deleted file mode 100755 index 22c113ba5..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl15.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ OB OF OK ON OO OP OR OT OU OW ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl16.htm b/doc/salome/gui/SMESH/whgdata/whlstfl16.htm deleted file mode 100755 index 104e96624..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl16.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ PA PE PI PL PN PO PR PS PU PX PY PZ ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl17.htm b/doc/salome/gui/SMESH/whgdata/whlstfl17.htm deleted file mode 100755 index 4b829d95e..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl17.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ QI QK QU ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl18.htm b/doc/salome/gui/SMESH/whgdata/whlstfl18.htm deleted file mode 100755 index d88f02625..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl18.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ R RA RE RI RO RR RU ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl19.htm b/doc/salome/gui/SMESH/whgdata/whlstfl19.htm deleted file mode 100755 index 0f9a64456..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl19.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ S SA SC SE SG SH SI SK SL SM SO SP SQ ST SU SW SY ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl2.htm b/doc/salome/gui/SMESH/whgdata/whlstfl2.htm deleted file mode 100755 index a3520eb6d..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl2.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ BA BE BI BL BM BO BR BU ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl20.htm b/doc/salome/gui/SMESH/whgdata/whlstfl20.htm deleted file mode 100755 index 9ecb3e66a..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl20.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ T TA TE TH TI TM TO TR TT TU TW TY ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl21.htm b/doc/salome/gui/SMESH/whgdata/whlstfl21.htm deleted file mode 100755 index 1d1f4d32b..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl21.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ U UN UP US ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl22.htm b/doc/salome/gui/SMESH/whgdata/whlstfl22.htm deleted file mode 100755 index 64fda2b25..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl22.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ V VA VE VI VK VO VT VX ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl23.htm b/doc/salome/gui/SMESH/whgdata/whlstfl23.htm deleted file mode 100755 index e471bd527..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl23.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ WA WE WH WI WO WW ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl24.htm b/doc/salome/gui/SMESH/whgdata/whlstfl24.htm deleted file mode 100755 index 4b43a080d..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl24.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ Y YO ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl25.htm b/doc/salome/gui/SMESH/whgdata/whlstfl25.htm deleted file mode 100755 index 772d69deb..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl25.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ Z ZE ZO ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl3.htm b/doc/salome/gui/SMESH/whgdata/whlstfl3.htm deleted file mode 100755 index e8b36271e..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl3.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ CA CE CH CI CL CO CR CU CY ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl4.htm b/doc/salome/gui/SMESH/whgdata/whlstfl4.htm deleted file mode 100755 index f30ab155c..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl4.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ D DE DH DI DO DR DU DX DY ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl5.htm b/doc/salome/gui/SMESH/whgdata/whlstfl5.htm deleted file mode 100755 index 00bfc5ad6..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl5.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ E EA ED EF EI EL EN EQ ER ET EV EX ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl6.htm b/doc/salome/gui/SMESH/whgdata/whlstfl6.htm deleted file mode 100755 index f3ca3ef9a..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl6.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ F FA FE FI FL FO FR FU ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl7.htm b/doc/salome/gui/SMESH/whgdata/whlstfl7.htm deleted file mode 100755 index 8f2fe56a3..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl7.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ G GA GE GG GI GL GO GR ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl8.htm b/doc/salome/gui/SMESH/whgdata/whlstfl8.htm deleted file mode 100755 index d21d35916..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl8.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ H HA HE HH HI HM HO HY ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstfl9.htm b/doc/salome/gui/SMESH/whgdata/whlstfl9.htm deleted file mode 100755 index 1885c47bd..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstfl9.htm +++ /dev/null @@ -1,45 +0,0 @@ - - -Search Words letter - - - - - - - - - -

^ I IC ID IF II IM IN IS IT ^

- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstg0.htm b/doc/salome/gui/SMESH/whgdata/whlstg0.htm deleted file mode 100755 index 193fb7c67..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstg0.htm +++ /dev/null @@ -1,75 +0,0 @@ - - -Glossary words list - - - - - - - -

Cell

-

Element of a mesh. Cells are determined by their connectivity. They can have 0,1,2 or 3 dimension.

-

Component

-

One integer or real value can correspond to each component of a field and to each entity of a mesh

-

Descendant connectivity

-

It is a description of the entities of the mesh with dimension N. This description is made by an ordered list of geometrical entities (nodes, edges, or faces) with dimension N-1.

-

Edge

-

An edge of a volumetric or surface mesh. It is composed of 2 or 3 nodes (2 vertex nodes and optionally one middle node).

-

Entity of a mesh

-

Geometrical component of the mesh: node, cell, face and edge. Faces and edges are only intermediate entities allowing to define the cells in descendant connectivity.

-

Equivalence

-

Equivalence represents a list of correspondance 2 by 2 of the entities of the same dimension.

-

Face

-

Face of a volumetrical cell (triangle, quadrangle).

-

Family

-

Entities of a mesh are described by a certain number  of characteristics (boundary conditions, groups membership). Families represent classes equivalent to these characteristics (two entities of a mesh can belong to the same family if they have the same characteristics). Every family is determined by a set of attributes and a list of groups membership.

-

Field

-

Field consists of one or several scalar components. One definite type is associated to the given field and the values corresponding to different components are all of the same type.

-

Field profile

-

Fields can be defined only on one part of the mesh. Profile  of the field or profile of the component of a field indicates which entities of the mesh contain values.

-

Group

-

Unordered set of entities of a mesh. One entity can belong to  several groups.

-

Mesh

-

Mesh is described by its geometry: list of nodes and list of cells which constitute this mesh. Supplementary information is added with the help of families (initial, boundary conditions).

-

Nodal connectivity

-

It is a description of an entity of the mesh by an ordered list of nodes constituting this entity.

-

Node

-

Node can be an isolated node of a mesh, a vertex or middle node of an edge. A node is associated to a point.

-

Point

-

Geometrical entity determined by its coordinates in the space.

-

Reference connectivity

-

For each type of entity of a mesh, reference connectivity define the topology of an entity.

-

Result

-

List of fields referring to one mesh.

-

Study

-

Study represents a chain of sequences of calculations.

-



- - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlsti0.htm b/doc/salome/gui/SMESH/whgdata/whlsti0.htm deleted file mode 100755 index 32e2c7fd9..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlsti0.htm +++ /dev/null @@ -1,39 +0,0 @@ - - - -Index words list - - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstt0.htm b/doc/salome/gui/SMESH/whgdata/whlstt0.htm deleted file mode 100755 index cd467da7c..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstt0.htm +++ /dev/null @@ -1,51 +0,0 @@ - - - -Content - - - - - - - - - - -
-

- MESH module
-

- -
-

-

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstt1.htm b/doc/salome/gui/SMESH/whgdata/whlstt1.htm deleted file mode 100755 index 5d6bc46f4..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstt1.htm +++ /dev/null @@ -1,59 +0,0 @@ - - - -Content - - - - - - - - - - -
-

- MESH module
-    Introduction to Mesh
-    Running MESH module
-    Creating meshes
-    Viewing meshes
-    Quality controls
-    Grouping elements
-    Modifying meshes
-    TUI Scripts
-

- -
-

-

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstt2.htm b/doc/salome/gui/SMESH/whgdata/whlstt2.htm deleted file mode 100755 index b7afcda57..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstt2.htm +++ /dev/null @@ -1,66 +0,0 @@ - - - -Content - - - - - - - - - - -
-

- MESH module
-    Introduction to Mesh
-    Running MESH module
-    Creating meshes
-       About meshes
-       Importing and exporting meshes
-       Constructing meshes
-       Defining meshing algorithms
-       Defining hypotheses
-       Constructing submeshes
-       Editing Meshes
-    Viewing meshes
-    Quality controls
-    Grouping elements
-    Modifying meshes
-    TUI Scripts
-

- -
-

-

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstt3.htm b/doc/salome/gui/SMESH/whgdata/whlstt3.htm deleted file mode 100755 index ac6e4b465..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstt3.htm +++ /dev/null @@ -1,71 +0,0 @@ - - - -Content - - - - - - - - - - -
-

- MESH module
-    Introduction to Mesh
-    Running MESH module
-    Creating meshes
-       About meshes
-       Importing and exporting meshes
-       Constructing meshes
-       Defining meshing algorithms
-       Defining hypotheses
-          About Hypotheses
-          1D Meshing Hypotheses
-          2D Meshing Hypotheses
-          Max Element Volume hypothesis
-          Additional Hypotheses
-       Constructing submeshes
-       Editing Meshes
-    Viewing meshes
-    Quality controls
-    Grouping elements
-    Modifying meshes
-    TUI Scripts
-

- -
-

-

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstt4.htm b/doc/salome/gui/SMESH/whgdata/whlstt4.htm deleted file mode 100755 index 4f265b629..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstt4.htm +++ /dev/null @@ -1,67 +0,0 @@ - - - -Content - - - - - - - - - - -
-

- MESH module
-    Introduction to Mesh
-    Running MESH module
-    Creating meshes
-    Viewing meshes
-       Viewing meshes
-       VTK 3D Viewer
-       Mesh infos
-       Numbering
-       Display Mode
-       Display Entity
-       Transparency
-       Clipping
-    Quality controls
-    Grouping elements
-    Modifying meshes
-    TUI Scripts
-

- -
-

-

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstt5.htm b/doc/salome/gui/SMESH/whgdata/whlstt5.htm deleted file mode 100755 index 52771a655..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstt5.htm +++ /dev/null @@ -1,74 +0,0 @@ - - - -Content - - - - - - - - - - -
-

- MESH module
-    Introduction to Mesh
-    Running MESH module
-    Creating meshes
-    Viewing meshes
-    Quality controls
-       About quality controls
-       Free borders
-       Borders at multi-connection
-       Length
-       Free edges
-       Length 2D
-       Borders at multi-connection 2D
-       Area
-       Taper
-       Aspect ratio
-       Minimum angle
-       Warping
-       Skew
-       Aspect ratio 3D
-       Volume
-    Grouping elements
-    Modifying meshes
-    TUI Scripts
-

- -
-

-

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstt6.htm b/doc/salome/gui/SMESH/whgdata/whlstt6.htm deleted file mode 100755 index 4fc97717f..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstt6.htm +++ /dev/null @@ -1,65 +0,0 @@ - - - -Content - - - - - - - - - - -
-

- MESH module
-    Introduction to Mesh
-    Running MESH module
-    Creating meshes
-    Viewing meshes
-    Quality controls
-    Grouping elements
-       Creating groups
-       Editing groups
-       Using operations on groups
-       Constructing groups of specific elements
-       Deleting Groups
-       Selection filter library
-    Modifying meshes
-    TUI Scripts
-

- -
-

-

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstt7.htm b/doc/salome/gui/SMESH/whgdata/whlstt7.htm deleted file mode 100755 index feed15b4a..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstt7.htm +++ /dev/null @@ -1,76 +0,0 @@ - - - -Content - - - - - - - - - - -
-

- MESH module
-    Introduction to Mesh
-    Running MESH module
-    Creating meshes
-    Viewing meshes
-    Quality controls
-    Grouping elements
-    Modifying meshes
-       Adding nodes and elements
-       Adding quadratic elements
-       Removing nodes and elements
-       Renumbering nodes and elements
-       Transforming meshes
-       Moving nodes
-       Diagonal inversion of elements
-       Uniting two triangles
-       Uniting a set of triangles
-       Changing orientation of elements
-       Cutting quadrangles
-       Smoothing
-       Extrusion
-       Extrusion along a path
-       Revolution
-       Pattern mapping
-    TUI Scripts
-       Python interface smesh.py
-

- -
-

-

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstt8.htm b/doc/salome/gui/SMESH/whgdata/whlstt8.htm deleted file mode 100755 index 9817ab956..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstt8.htm +++ /dev/null @@ -1,81 +0,0 @@ - - - -Content - - - - - - - - - - -
-

- MESH module
-    Introduction to Mesh
-    Running MESH module
-    Creating meshes
-    Viewing meshes
-    Quality controls
-    Grouping elements
-    Modifying meshes
-       Adding nodes and elements
-       Adding quadratic elements
-       Removing nodes and elements
-       Renumbering nodes and elements
-       Transforming meshes
-          Translation
-          Rotation
-          Symmetry
-          Sewing meshes
-          Merging nodes
-          Merging Elements
-       Moving nodes
-       Diagonal inversion of elements
-       Uniting two triangles
-       Uniting a set of triangles
-       Changing orientation of elements
-       Cutting quadrangles
-       Smoothing
-       Extrusion
-       Extrusion along a path
-       Revolution
-       Pattern mapping
-    TUI Scripts
-

- -
-

-

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whlstt9.htm b/doc/salome/gui/SMESH/whgdata/whlstt9.htm deleted file mode 100755 index cdeb27add..000000000 --- a/doc/salome/gui/SMESH/whgdata/whlstt9.htm +++ /dev/null @@ -1,67 +0,0 @@ - - - -Content - - - - - - - - - - -
-

- MESH module
-    Introduction to Mesh
-    Running MESH module
-    Creating meshes
-    Viewing meshes
-    Quality controls
-    Grouping elements
-    Modifying meshes
-    TUI Scripts
-       Introduction to MESH module python interface
-       Creating Meshes
-       Defining Hypotheses
-       Viewing Meshes
-       Quality Controls
-       Grouping Elements
-       Modifying Meshes
-       Transforming Meshes
-

- -
-

-

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvf30.htm b/doc/salome/gui/SMESH/whgdata/whnvf30.htm deleted file mode 100755 index 7cff7ce54..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvf30.htm +++ /dev/null @@ -1,13 +0,0 @@ - - - -toc frame - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvf31.htm b/doc/salome/gui/SMESH/whgdata/whnvf31.htm deleted file mode 100755 index 91a985f9f..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvf31.htm +++ /dev/null @@ -1,15 +0,0 @@ - - - -Index frame - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvf32.htm b/doc/salome/gui/SMESH/whgdata/whnvf32.htm deleted file mode 100755 index bc2231fbf..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvf32.htm +++ /dev/null @@ -1,15 +0,0 @@ - - - -search frame - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvf33.htm b/doc/salome/gui/SMESH/whgdata/whnvf33.htm deleted file mode 100755 index 6c091d828..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvf33.htm +++ /dev/null @@ -1,15 +0,0 @@ - - - -Glossary frame - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvl31.htm b/doc/salome/gui/SMESH/whgdata/whnvl31.htm deleted file mode 100755 index e29abc01c..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvl31.htm +++ /dev/null @@ -1,43 +0,0 @@ - - - -Index Letters - - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvl32.htm b/doc/salome/gui/SMESH/whgdata/whnvl32.htm deleted file mode 100755 index 1f7176c6d..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvl32.htm +++ /dev/null @@ -1,72 +0,0 @@ - - - -Search Letters - - - - - - - - -

- # - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z -

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvl33.htm b/doc/salome/gui/SMESH/whgdata/whnvl33.htm deleted file mode 100755 index d6f20c33c..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvl33.htm +++ /dev/null @@ -1,72 +0,0 @@ - - - -Glossary Letters - - - - - - - - -

- # - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z -

- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvp30.htm b/doc/salome/gui/SMESH/whgdata/whnvp30.htm deleted file mode 100755 index 0c9cb814b..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvp30.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - Content Navigation Pane - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whgdata/whnvp31.htm b/doc/salome/gui/SMESH/whgdata/whnvp31.htm deleted file mode 100755 index 87921c0b7..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvp31.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - Index Navigation Pane - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whgdata/whnvp32.htm b/doc/salome/gui/SMESH/whgdata/whnvp32.htm deleted file mode 100755 index 90697b01f..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvp32.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - Search Navigation Pane - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whgdata/whnvp33.htm b/doc/salome/gui/SMESH/whgdata/whnvp33.htm deleted file mode 100755 index 8351bcbea..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvp33.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - Glossary Navigation Pane - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whgdata/whnvt30.htm b/doc/salome/gui/SMESH/whgdata/whnvt30.htm deleted file mode 100755 index ec1bb840f..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvt30.htm +++ /dev/null @@ -1,47 +0,0 @@ - - - -Content Navigation Tab - - - - - - - - - - - -
- -
- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvt31.htm b/doc/salome/gui/SMESH/whgdata/whnvt31.htm deleted file mode 100755 index e17d82548..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvt31.htm +++ /dev/null @@ -1,45 +0,0 @@ - - - -Index Navigation Tab - - - - - - - - - - - -
- -
- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvt32.htm b/doc/salome/gui/SMESH/whgdata/whnvt32.htm deleted file mode 100755 index d63892533..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvt32.htm +++ /dev/null @@ -1,45 +0,0 @@ - - - -Search Navigation Tab - - - - - - - - - - - -
- -
- - - - diff --git a/doc/salome/gui/SMESH/whgdata/whnvt33.htm b/doc/salome/gui/SMESH/whgdata/whnvt33.htm deleted file mode 100755 index af63a0257..000000000 --- a/doc/salome/gui/SMESH/whgdata/whnvt33.htm +++ /dev/null @@ -1,45 +0,0 @@ - - - -Glossary Navigation Tab - - - - - - - - - - - -
- -
- - - - diff --git a/doc/salome/gui/SMESH/whxdata/whftdata0.xml b/doc/salome/gui/SMESH/whxdata/whftdata0.xml deleted file mode 100755 index c3debb8ce..000000000 --- a/doc/salome/gui/SMESH/whxdata/whftdata0.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whxdata/whfts.xml b/doc/salome/gui/SMESH/whxdata/whfts.xml deleted file mode 100755 index 89269fc27..000000000 --- a/doc/salome/gui/SMESH/whxdata/whfts.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/doc/salome/gui/SMESH/whxdata/whfwdata0.xml b/doc/salome/gui/SMESH/whxdata/whfwdata0.xml deleted file mode 100755 index 1452bb668..000000000 --- a/doc/salome/gui/SMESH/whxdata/whfwdata0.xml +++ /dev/null @@ -1,1414 +0,0 @@ - - - 75, - 15,20,6,7,26,9,13,58,63,65,70,44,75,76,78, - 70, - 76, - 15,73, - 18,1,19,20,21,2,22,24,7,8,27,9,28,29,30,31,12,13,58,32,33,36,62,37,63,66,70,40,41,72,64,44,45,75,46,48,76,50,51,52,79,55, - 7,9,13,58,32,63,75,76,78, - 7,9,58,63,70,75,76, - 76, - 63, - 76, - 63,76, - 63, - 63, - 63,70,76, - 9,63,76, - 63, - 63, - 14,15,16,17,20,24,7,9,12,13,61,63,65,38,69,70,71,72,75, - 63,70, - 18,1,19,21,2,22,24,7,8,27,9,28,29,30,31,12,13,32,33,62,37,63,66,70,40,41,72,64,44,45,46,48,76,50,51,52,79,55, - 7,9,58,63,70,75,76,78, - 7,9,63,75, - 63,76, - 63,76, - 76, - 63, - 63, - 63, - 76, - 63, - 14,15,16,17,19,21,4,24,7,9,12,13,58,34,33,61,37,65,66,68,69,70,71,72,44,75,76,55, - 15,19,21,22,24,7,8,27,9,28,29,12,13,58,32,62,63,65,66,70,40,41,72,64,44,45,75,46,76,50,51,78,55, - 9,63,65,76, - 7, - 63, - 63, - 63, - 63, - 58,70, - 63, - 63,70,76, - 63, - 14,15,16,17,0,18,1,21,2,22,24,7,26,27,9,10,28,29,30,12,13,61,65,35,68,69,70,71,40,41,72,44,75,46,50,51,79,54, - 70, - 15, - 63, - 15,19,21,24,7,27,9,29,13,32,62,63,66,70,64,44,45,48,76,55, - 58,63,75, - 63, - 63, - 13,63,76, - 63, - 63, - 63, - 6,7,9,63,70,76, - 9,63,76, - 63, - 63, - 76, - 15, - 2,7,9,58,63,76, - 58,63,75, - 63, - 76, - 7,9,58,63,70, - 9,63,76, - 76, - 76, - 63, - 58,63,70,76, - 63,75, - 7, - 63, - 63, - 63, - 76, - 63,76, - 76, - 7,78, - 76, - 76, - 70, - 26, - 63, - 63, - 63, - 63, - 18,1,54, - 70, - 70, - 63,46, - 52, - 77, - 20, - 0,74,54, - 17,19,20,21,2,33,37,66,45,46,48,79,55, - 14,66, - 76, - 65,38, - 18,1,22,8,26,27,58,63,50,52, - 18,1,22,24,26,27,9,31,13,58,63,70,74,75,50, - 63, - 63, - 27,61,63, - 14,15,24,9,38,66,43,74,46, - 63, - 58, - 63, - 63, - 7,9,58,63,70,75,76,78, - 7,9,58,63, - 63, - 29,37,65,38,40,44,50, - 46, - 38, - 0,53, - 58,70, - 70, - 58, - 58,70, - 58, - 58, - 58, - 58, - 58, - 58, - 70, - 58, - 70, - 58, - 58, - 20, - 63, - 69, - 9,63,70,76, - 7,9,76, - 7,9,58,63,75,76,78, - 7,9,63,75,76,78, - 7,9,75,78, - 14,15,16,17,0,19,24,7,25,9,13,34,61,65,35,66,68,69,71,39,73,44, - 14,16,0,1,20,5,22,25,8,26,27,32,34,60,36,61,62,65,38,66,69,42,73,44,46,47,49,50,52,54, - 12,13,63,66,46,54, - 69, - 24, - 0,1, - 46, - 7, - 3, - 20, - 17,6,27,13,61,37,63,70,72,42,45,76,50,55, - 76, - 63, - 13, - 58,70, - 16,38,69, - 15,16,1,24,26,29,13,58,62,63,66,71,46, - 16,18,1,19,21,2,22,6,24,8,26,27,9,10,28,29,31,12,13,33,60,61,62,37,63,66,69,39,40,41,72,44,45,46,47,48,50,51,52,79,55, - 75, - 24, - 0,18,1,5,22,24,25,8,27,28,29,31,12,13,36,62,66,69,40,41,72,42,47,49,50,51,52, - 63, - 19,20,21,2,24,25,34,33,37,35,38,71,39,73,74,45,46,48,79,55, - 21,74, - 17,66, - 14,0,24,25,26, - 63, - 24, - 20, - 70, - 9,76, - 55, - 14,17,19,9,58,34,61,35,70,46,48,54, - 70, - 14,20,7,9,61, - 7,9,76, - 6,13,72,73,54, - 76, - 58, - 58, - 17,21,2,61,70,46, - 75, - 16,20,24,26,9,39,55, - 18,30,40, - 26, - 6, - 14,20,24,61,62,66, - 0,20,22,24,27,29,50, - 63, - 44,54, - 14,20,9,34,61,66,55, - 54, - 12,63,72,42,47,76,54,55, - 63,76, - 63,76, - 0, - 17, - 14,19,9,13,61,55, - 15,24,25, - 14,16,0, - 63, - 69, - 5,65,66, - 74,76, - 20,44, - 3,4,26,56,57,69,44,52, - 63,65,75, - 44, - 21, - 74, - 55, - 55, - 74, - 0, - 3, - 0,54, - 20, - 63,52, - 44,76, - 17,3,4,56,57,61,70,44,76, - 0,13,71,46,52, - 63,43, - 15,66,54, - 66, - 14,26,66,44,46, - 18,1,20,5,22,24,7,25,8,27,9,28,29,31,12,13,58,32,60,36,62,63,65,66,69,70,40,41,72,42,43,73,74,44,75,46,47,76,49,50,51,52,53,78,54, - 63, - 75, - 70,76, - 70,76, - 63, - 1,38, - 26, - 0,18,1,5,23,24,25,26,10,31,67,40,41,74,53, - 5,9,12,34,63,65,38,66,68,72,75, - 21,25,13,66,46, - 18,1,19,21,2,5,22,6,24,25,8,26,27,10,28,29,31,12,13,32,33,62,37,66,69,39,40,41,72,42,74,44,45,46,47,48,49,50,51,52,53,79,54,55, - 16, - 15, - 66, - 17,21,2,34,48, - 14,19,33,37, - 40, - 18,5,24,7,9,29,13,62,66,53, - 16, - 63, - 26,65,40,51, - 13,46,54, - 13, - 46, - 46, - 63, - 26,62,66,73, - 0,20,22,7,29,63,38,39,54, - 17, - 15, - 26,62,63,65,44,54, - 18,65,74,49, - 14,24,66, - 18,1,19,21,2,5,22,23,8,26,27,10,28,29,11,30,12,13,32,33,36,62,37,66,40,41,72,42,43,73,74,44,45,47,48,49,50,51,79,54,55, - 21,5,27,34,35,50, - 13,76, - 76, - 63, - 64, - 64,74, - 0,18,1,19,21,2,5,22,6,23,24,25,8,26,27,10,28,29,30,31,12,13,32,33,62,37,66,67,69,39,40,41,72,43,74,44,45,46,48,50,51,52,53,79,54,55, - 0,6, - 15,21,10,13,63,44, - 62, - 63,44, - 20,8,65, - 60, - 5,13,60,36, - 17,0,19,21,2,26,33,37,45,48,79,54,55, - 11,33,67,73,74, - 5, - 28,74,51, - 70, - 20,44, - 60, - 1,13, - 61,43, - 14,15,16,17,0,20,2,30,34,35,71,45, - 16, - 5,70, - 5, - 0,20,24,7,9,58,63,66,70,44,75,76,78, - 24,25,9,63, - 75, - 5, - 38, - 71, - 14,26, - 22,27,31,40,46,50,52, - 26, - 14,38,44,76, - 21, - 20,27,68,46, - 15,17,3,4,61,70, - 66, - 21,24, - 15,21,2,73,44, - 17,1,19,20,21,3,4,23,24,25,26,13,56,57,58,34,33,37,35,71,48, - 53, - 20, - 16,20,23,24,7,25,39, - 20,24,7,25, - 15,16,22,24,25,26,27,13,32,34,66,46,50, - 10,54, - 46, - 15,44, - 50, - 17,0,19,21,2,3,4,27,56,57,59,33,61,37,70,45,48,50,79,55, - 46, - 20,8, - 8, - 15,18,29,62,63,66,54, - 42,74,47,76,49, - 1,55, - 27,13,73,46,55, - 15,17,32,66,70,74,44,49, - 63, - 63, - 63, - 75, - 15,18,69, - 44, - 66, - 24,73, - 13, - 15,0,18,1,20,5,6,24,7,25,26,9,31,58,36,61,62,63,65,38,66,69,70,39,42,74,75,47,76,49,52,78,55, - 58,70, - 70, - 58,63,70,75, - 76, - 76, - 15,62,38,66,39,64,75,52, - 61,74, - 19,21,2,26,27,58,59,33,37,70,74,45,48,50,79,55, - 0,6,55, - 5, - 16, - 22,24,27,65,69,39,74,44,50, - 15,16,20,13,63, - 20,13, - 65, - 20,7,27,9,58,63,52, - 58, - 9,75, - 9,75, - 20, - 64, - 63, - 32, - 15, - 7,63,64, - 0,24,13,58,65,67,74,77,54, - 15,16,1,20,21,5,6,24,7,25,26,9,13,62,63,65,38,66,68,69,64,73,44,75,76,54, - 15,17,20,22,23,26,27,61,39,40,50, - 0,20,7,13,34,65,35, - 14,20,9,61, - 9, - 54, - 21,6, - 10,57,63,40,74, - 63, - 40,51, - 20, - 14,15,24,34,35, - 15,16,0,66, - 66, - 36, - 43, - 15,17,61,64, - 14,16,0, - 65, - 36, - 63, - 75, - 27,28,63,48, - 18,1,20,5,22,24,25,8,27,28,29,31,12,13,32,60,36,62,66,69,40,41,72,42,44,46,47,49,50,51,52, - 21, - 1,65, - 20, - 13,44, - 14,18,26,13,69,39,74,44, - 13, - 15,2,24,12,65,72,73,53, - 15,7,44,46, - 13,66,55, - 63,76, - 16, - 12,72, - 15, - 29, - 17,0,1,19,21,2,3,22,24,25,26,27,29,11,30,56,33,37,67,45,46,48,50,53,79,54,55, - 20,6,66,54,55, - 26, - 46, - 20,71, - 20, - 18, - 76, - 0,64, - 73, - 66, - 15,24,13,63,38,69,54, - 1, - 54, - 63, - 54, - 54, - 0,54, - 13, - 63, - 63, - 21,24,25,27,13,65,66,68,71,73,44,50, - 9, - 9, - 63, - 23, - 64, - 14,15,16,17,0,18,1,20,21,3,4,23,24,7,26,27,9,28,29,11,13,56,57,58,59,34,33,61,63,65,38,66,68,69,70,74,44,46,76,50,51,78,55, - 63, - 63, - 63, - 63, - 63, - 63, - 63, - 76, - 76, - 7,9, - 7,10,31,58,36,39, - 64,75, - 63, - 63, - 63, - 63, - 63, - 63, - 63, - 50, - 5,62,66,68,44, - 14,15,16,17,0,18,1,19,20,21,2,4,5,22,23,8,26,27,9,10,28,29,30,31,12,13,57,58,34,33,60,61,37,63,65,35,38,66,68,70,40,41,72,42,73,74,44,45,46,47,48,76,49,50,52,53,79,55, - 7,9,63,66, - 63, - 74, - 25, - 66, - 14,20,9,61,38,74,44,49, - 44, - 26,28,29,32,62,51, - 15,16, - 15,0,11,74, - 20,34,66,74,44,46, - 20, - 21, - 0, - 63, - 17,2,27,50, - 16,24,34,65, - 66, - 55, - 24, - 75, - 13, - 15,2,5,24,7,26,13,66,64,75,52, - 20, - 46, - 44,54, - 14,5,22,26,27,31,62,66,74,50, - 24, - 63, - 20, - 0,7,32,61,54, - 32, - 7, - 54,55, - 13, - 20, - 6, - 12,13,63,72, - 12,13,63,76, - 63,76, - 63, - 9, - 20,9, - 63, - 63, - 63, - 63, - 63, - 14,15,16,0,18,20,2,3,23,24,7,25,26,9,11,13,56,58,34,61,63,65,38,66,68,69,70,74,44,75,76,53,78,55, - 63, - 63, - 9,76, - 76, - 70, - 76, - 76, - 63, - 20,27, - 64, - 63, - 44, - 13, - 46, - 26, - 63, - 63, - 63, - 63, - 63, - 63, - 63, - 63, - 18,1,22,26,28,29,69,41,74,44,46,50,51, - 44, - 7,32,66,74, - 70,71,41,44, - 22,26,27,74,50, - 26,74, - 20,65, - 32,63,66,44, - 76, - 63, - 64, - 20,65, - 1,20,24,7,13,58,63,38,66,69,44, - 76, - 76, - 76, - 76, - 54, - 63, - 15,7,9,46, - 66, - 24,25, - 14,15,16,18,1,2,5,22,24,25,8,26,27,28,29,30,31,12,13,36,62,63,66,69,40,41,72,42,44,46,47,49,50,51,52,53, - 54, - 1,28,31,66,44, - 0,32,61,54, - 20,21,2, - 15,21,55, - 63, - 54, - 15,17,56,57,61,70,44,46,76, - 58,70, - 70, - 70, - 58,70, - 70, - 70, - 70, - 58,70, - 63,70, - 58,70, - 70, - 70, - 70, - 70, - 70, - 70, - 9, - 15,63,64, - 54, - 24,8,32,60,36,44,54, - 75, - 20, - 25, - 54, - 14,15,17,20,24,61,38,66, - 7,12,66,72,75, - 15,61, - 15,17,9, - 14,15,16,20,24,25,26,34,61,35,66,69,39,42,46,47,49,53, - 25,8,26,58,63,69,75,46, - 7,9,58,63,70,75,76,78, - 0,6,24,9,13,58,66,53, - 7,9, - 63, - 58,70, - 70, - 58,70, - 58, - 7,63, - 64, - 63, - 63, - 63, - 64, - 74,53, - 20,34,63,44, - 9,54, - 70, - 7,46, - 66, - 54, - 0, - 20,54, - 21,2, - 26,13, - 5,22,23,26,27,10,31,13,58,36,61,63,70,74,75,46,49,50,52,53, - 75, - 5,52, - 5, - 5, - 52, - 52, - 52, - 52, - 58,63, - 63, - 63, - 76, - 63, - 65, - 0, - 55, - 21,55, - 6, - 63, - 63, - 21,34,38,66,68, - 63, - 75,55, - 13, - 17, - 66, - 66, - 9, - 16,7,9, - 24, - 9, - 15,16,18,2,9,63,35,68,78, - 63, - 0,54, - 15,73, - 3,4,22,26,27,56,57,50, - 21, - 57,63, - 5,66, - 71, - 65, - 16,13,65,39, - 25,63, - 7, - 7, - 7, - 7, - 14,16,0,20,24,7,25,9,34,61,65,38,71,39, - 14,16,20,24,7,9,34,63,35,38,39,73,75, - 16,21,24,27,13,58,32,63,65,66,68,70,71,73,44,50, - 31,40,43, - 0,20,22,26,27,28,29,30,12,13,58,63,72,44,46,50,51, - 76, - 9, - 76, - 7,70, - 13, - 5, - 7, - 63, - 63, - 76, - 76, - 15,16,18,6,24,7,25,8,9,12,13,58,34,63,65,38,66,69,70,39,40,72,73,74,44,46,50,54, - 63, - 0,13,54, - 15, - 73, - 7,9,58,32,61,63,70,75,76,78, - 32, - 71, - 15,53, - 7,9, - 26,66, - 66, - 62,69,55, - 0,53,78, - 15,0,5,7,8,31,71,53,78, - 13,63,74,47,52, - 1,20, - 21, - 74,44, - 63, - 7,38,66, - 64, - 10, - 26, - 44, - 15, - 7,75, - 44, - 66,71, - 66,52, - 58, - 58,66,71,52, - 14,26,38, - 61,75, - 15,28,63, - 63, - 28,63, - 77, - 63, - 66, - 66, - 54, - 9,76, - 18,1,22,23,8,27,28,29,31,12,13,32,36,62,66,41,72,42,44,46,47,49,50,51,52, - 13,46, - 46, - 63, - 16,58,70, - 45, - 0,54, - 0,54, - 1,66,40, - 16,20,21, - 13,46,47, - 66, - 27, - 66, - 63, - 55, - 54, - 46, - 1,20,13,38,44, - 76, - 76, - 76, - 76, - 62, - 12,66,72, - 71, - 64, - 53, - 66,46, - 24,10, - 0,13,66,54, - 58,63,70, - 14,17,20,21,7,9,59,34,33,61,70,44,54,55, - 70, - 9,75,76, - 74,44,46, - 14,18,65, - 26,74, - 18,2,30,44, - 66,44,46, - 69, - 15,1,20,12,38,66,72,45, - 13,65, - 44, - 0,18,22,26,27,10,13,69,74,50, - 20, - 54, - 66,74, - 63, - 7,25,9,61,38,73, - 9,75, - 66,44,54, - 20,29,32,63,46, - 27,46,54, - 21, - 30,13,66,74, - 15,20,65, - 66, - 16,22,27,10,13,38,66,74,50,52, - 9,76, - 63, - 7,58,70,75,76,78, - 7,9,63, - 63,76, - 70,76, - 75, - 75, - 9, - 9,63, - 9,76, - 75, - 70, - 58, - 63, - 63, - 63, - 63, - 70, - 9, - 70, - 9,76, - 75, - 7,9,63,75,76, - 9,76, - 14,18, - 26,62,65,66,54, - 16,34,63,66, - 54, - 13, - 63,76, - 14,9,34,61,65,35,46, - 63, - 7,9,63,70,78, - 7,9,75,78, - 20,9,34,65,35,45,46,53, - 63, - 15,65, - 15, - 55, - 8, - 27,50, - 16,9, - 18,1,20,5,22,6,23,24,25,8,26,27,10,28,29,30,31,12,13,32,36,62,38,66,69,40,41,72,42,43,74,44,46,47,49,50,51,52,53, - 5,60,36,44,76, - 76, - 76, - 14,15,16,17,0,18,1,19,20,21,2,3,4,5,22,6,23,24,7,25,8,26,27,9,10,28,29,30,31,12,13,56,57,58,32,34,33,60,36,61,62,37,63,65,35,38,66,67,68,69,70,71,39,40,41,72,42,43,64,73,74,44,45,75,46,47,48,76,49,50,51,52,53,78,79,54,55, - 5,24,63, - 5,63, - 70, - 70, - 70, - 70, - 63, - 63, - 63, - 7,78, - 63, - 7, - 63, - 5,62,63,46, - 1,13,38, - 70, - 17,20,27,61,37,65,70,44,50, - 76, - 0,20,67, - 15,61, - 15,18,1,22,8,27,28,29,31,12,13,36,61,62,66,40,41,72,42,44,46,47,49,50,51, - 22,27,31,63,50, - 15,16,0,1,20,7,26,61,43,75,54, - 0,26,54, - 29,62,63, - 62, - 63, - 65, - 17,3,4,61,70, - 70, - 24,13,66,74,44, - 70, - 70, - 70, - 63,66,44, - 63, - 63, - 63, - 63, - 63, - 9, - 63, - 63, - 63, - 63, - 63, - 63, - 63, - 63, - 5,24,7,25,26,31,58,32,63,65,69,64,74,75,52,54, - 5, - 58,63,65,70, - 70, - 63, - 7,76,78, - 7,78, - 78, - 7,76,78, - 78, - 78, - 78, - 78, - 76,78, - 63, - 78, - 76,78, - 7,76,78, - 63, - 63, - 63, - 24, - 73, - 18,62,69, - 71, - 20, - 28,51, - 73, - 16,7,9,65,64,75,78, - 9, - 0,6,24,25,26,29,62,63,66,39,74,52, - 63, - 20,66, - 63, - 63, - 63, - 63, - 63, - 64, - 15,0,18,1,19,20,21,5,22,23,7,8,26,29,30,12,13,34,36,61,62,63,65,66,67,70,40,41,72,73,74,44,45,46,48,76,53,78,55, - 66,46, - 63, - 63, - 63, - 76, - 76, - 76, - 76, - 63, - 24,63, - 64, - 47,55, - 21, - 18,21,24,26,10,13, - 26, - 15, - 6,24, - 63, - 14,15,16,1,20,7,26,9,12,34,61,65,66,68,71,72,44,46,76,53,78,54, - 0,1,30,13, - 7,9,58,63,70,76,78, - 27, - 14, - 63, - 44, - 64, - 14,16,0,18,1,20,5,6,23,24,25,8,26,27,10,31,32,34,63,65,35,66,67,69,39,40,41,42,73,49,50,53,79,54, - 26, - 18,70, - 54, - 18,1,22,6,8,27,10,28,29,31,12,13,32,62,63,40,41,72,44,46,50,51,52, - 15,16,1,20,24,7,25,27,9,10,28,12,13,56,57,60,62,63,38,66,70,71,39,40,72,73,74,44,46,47,49,50,52, - 50, - 38,66, - 21, - 77, - 70, - 14, - 16,18,19,20,21,2,3,4,5,22,25,26,27,10,28,29,31,12,13,56,57,32,59,34,33,60,36,61,62,37,35,38,66,39,40,41,72,42,44,45,46,47,48,49,50,51,52,79,55, - 68, - 14,6,7,27,9,34,38,44,45, - 65, - 15,0,20,47,49, - 24,13,69, - 15,22,65,66, - 1,38, - 54, - 22,6,27,63,69,50, - 54,55, - 50, - 24,34, - 24, - 71,54, - 57, - 66, - 15, - 7,9, - 7,64,75, - 16,26,31, - 20, - 54, - 15,20,2,74,44, - 14,0,6,9,13,65,42,44,54, - 15,66, - 25, - 63,44,46,54, - 15, - 7,58,62,63,70, - 13,63,74,76, - 63, - 63, - 63,66, - 66, - 63, - 2, - 65, - 61,63,41,44,47,52,54, - 21, - 68,69, - 63,76, - 3,26,13,56,57,60, - 75, - 8,44,54, - 6,70,47,55, - 63,55, - 26,43, - 10,13, - 20, - 12,72, - 0,54, - 15,1,20,13,62,63,38,66,69,72,42,44,47,76,49,54,55, - 63,76, - 18,63,78, - 63, - 18,63, - 18,63,68,78, - 13, - 10,30, - 15,66,54, - 65,38, - 74, - 14,2,5,26,65,66, - 54, - 74, - 18, - 14,34,61,67, - 74, - 26, - 18,1,13,40,54, - 15,0,65,52, - 17,0,54, - 66, - 14, - 18,6,27,62,66,74, - 20,13,50, - 25,26,61,66, - 13, - 7,9,58,63,70,76,78, - 7, - 68,71,78, - 68, - 16, - 54, - 7,9, - 24,10, - 46, - 13,39, - 5,46, - 15,8,12,72,46, - 55, - 24, - 20, - 66, - 16,66,68,69,71,55, - 20, - 7,9,38, - 14,7,9,38,76, - 54, - 65, - 16,0,18,27,75, - 28, - 75, - 75, - 46, - 9, - 9,76, - 76, - 9,76, - 76, - 78, - 16, - 7,64,75,53, - 9,76, - 76, - 63, - 2, - 21,2, - 55, - 63, - 63, - 63, - 63, - 63, - 63, - 63, - 7,58, - 14,15,16,18,19,21,2,7,27,9,28,12,13,58,34,33,61,37,63,65,68,71,72,45,76,78, - 68, - 16,7,9,34,38, - 14,1,8,65,38, - 63, - 17,0,19,20,21,2,3,4,27,56,57,59,33,61,37,70,45,48,50,79,55, - 14, - 63, - 71, - 22,26,27,42,44,47,50, - 21,63,65, - 65, - 75, - 75, - 63, - 20,26,58,63,65,70, - 65, - 17,21,2,61,70,46,48,55, - 24, - 0, - 57, - 0,54, - 46, - 46, - 66, - 15,17,24,25, - 14, - 66,45,79, - 63, - 0, - 21,7,9,65,64, - 43, - 15, - 15, - 54, - 22,7,26,27,10,31,13,58,63,70,40,74,50, - 61, - 63,70, - 7, - 63, - 5, - 41, - 63,41, - 63, - 22,63, - 44, - 14,15,20,2,67,48,54, - 15, - 28,29,65,73,51, - 63, - 54, - 54, - 13, - 1, - 66,44, - 54, - 15, - 14,18,5,13,58,62,70,46,52, - 7,9, - 15, - 59,63, - 21, - 1,66, - 22, - 12,63,72, - 63,72, - 0,23,10,29,30,13,67, - 12,13,63,72,42,76,54, - 6,72,42,76,54, - 63, - 14, - 63, - 20,38,44, - 43, - 26,9,58,61,63,70,43,64,76, - 15,16,0,20,21,2,24,25,9,13,38,68,69,39,74,44,52, - 16,18,19,20,21,2,3,4,22,24,25,26,27,28,29,31,12,13,56,57,32,59,34,33,60,36,62,37,35,38,66,39,40,41,72,42,44,45,46,47,48,49,50,51,52,79,55, - 74, - 20,54, - 17, - 54, - 16,18,19,20,21,2,3,4,22,24,7,25,26,27,28,29,31,12,13,56,57,32,59,34,33,60,36,62,37,35,38,66,39,40,41,72,42,44,45,46,47,48,49,50,51,52,53,79,55, - 16,18,19,20,21,2,3,4,5,22,6,7,25,8,26,27,28,29,31,12,13,56,57,32,59,34,33,60,36,62,37,35,38,66,68,39,40,41,72,42,44,45,75,46,47,48,49,50,51,52,79,54,55, - 66, - 32,62,74, - 18,63,65,44, - 76, - 76, - 76, - 0,6,24,66,75, - 65, - 14,16,20,7,9,58,34,61,63,65,70,73,75,76,78, - 14,0,18,1,20,5,22,23,24,7,25,8,26,27,10,28,29,31,12,13,32,36,62,63,65,38,66,67,69,40,41,72,42,43,74,44,46,47,49,50,51,52,53,54, - 60, - 18,1,22,26,27,10,74,50, - 15, - 48, - 44, - 15,16,18,20,22,6,24,26,9,29,13,34,61,63,65,35,66,67,71,74,44,46,77,50,54, - 7, - 64,75, - 24, - 13,63, - 13,44,76, - 76, - 76, - 76, - 76, - 58,63,70,76, - 0,67,77, - 22,28,29,36,62,66,72,42,47,49,50,51, - 14,15,16,13,63,66,68,69,71,46, - 63, - 63, - 7,9,58,63,70,75,76, - 71, - 70,71, - 18,1,27,40,46, - 55, - 20,8,26,12,13,66,68,71,72,42,74,44,46,52, - 20,6,13,74,54, - 17,46, - 67, - 16,7,9,37,65,68,44,45,76, - 5,24,38, - 15,18,13,66, - 21,2, - 63, - 63, - 63, - 13,63, - 0,65,73,75,46, - 21,2, - 9, - 9, - 9, - 9, - 17,27,61,70,45,50, - 70, - 77, - 54, - 7,9,58,63,70,64,44,75,76,78, - 58,63,70,76, - 70, - 58, - 63,46, - 63, - 66, - 14,20,21,13,66,44,48, - 9,61,69, - 18, - 7, - 22,26,27,50, - 69,74, - 15,66,71,42,49, - 20,3,66,40,44,46, - 16,23,74, - 18,1,27,12,13,66,40,72,42,74,46,47,49,52, - 20,21,24, - 16,20,2,6,65,44, - 63, - 26,58,74, - 0,8,32,75,53, - 14,20,6,9,13,61,43,44,49, - 9, - 64, - 12,72, - 66,74, - 63,64, - 1,9,13,63,38, - 54, - 54, - 24,25,63,64, - 9,58,74,75, - 54, - 7, - 7,9,13,32,36,66,42,44,47,49, - 18,11,40,41, - 14,22,23,7,25,26,27,12,13,39,72,46,49,50,53, - 7,9,58,63,70,76, - 63,75, - 63, - 7,58, - 7, - 9, - 73, - 2, - 38, - 27, - 15,21,2,12,13,66,72,44, - 15,46, - 12,72, - 1, - 47,76, - 47,76, - 74, - 15,20,2,24,38,66,67,73,54, - 63, - 1,20, - 21,50, - 14,23,26,9,66, - 17,26,61,70,48, - 70, - 69, - 46, - 63, - 7,9,75,78, - 16,9,65,75, - 24, - 9, - 15,16,18,2,7,9,63,35,75,78, - 9, - 66,44, - 14,18,1,20,2,26,10,11,12,13,36,65,40,72,44,46,54, - 7, - 13, - 27,50, - 15,1,21,63,65,38,44,47, - 74, - 54, - 0, - 7, - 34, - 18,74,49, - 5,36,72,74,76, - 74,52, - 21,2,5,22,24,25,8,27,28,29,31,12,13,33,62,66,40,41,72,43,45,46,48,50,51,53,79,54,55, - 63,73, - 15,44, - 15, - 8, - 53, - 46, - 29,76, - 36,42,44,47,49, - 76,49, - 76,49, - 0,77, - 77, - 8, - 7,9,76, - 9, - 15,16,18,1,19,21,7,9,28,12,34,33,60,37,63,65,68,70,71,72,45,75,48,76,50,51,78,54, - 16,34, - 9, - 54, - 63, - 63, - 75, - 24,65, - 9,63, - 16,18,19,20,21,2,3,4,22,24,25,26,27,28,29,31,12,13,56,57,32,59,34,33,60,36,62,37,35,38,66,39,40,41,72,42,44,45,46,47,48,49,50,51,52,53,79,55, - 64, - 15,18,6,26,27,9,28,13,58,37,63,65,66,68,69,70,71,44,48,76,49,51,52,53, - 15,18,20,21,2,23,24,26,12,13,40,72,74,44,53, - 46, - 15,44, - 74, - 39, - 54, - 46, - 58,50,51,52, - 58, - 75, - 5,63,44,50,51,52, - 38, - 32, - 20,10,30, - 0,7,43,46, - 58,63,70,76, - 74, - 15,16,20,3,6,24,25,26,12,13,34,36,63,65,66,68,72,74,44,46,77,52,54, - 17,7,63,75, - 0,18,26,13,65, - 44,46, - 15, - 14,17,20,21,2,24,7,13,59,37,38,39,74,45,75, - 21, - 64, - 0, - 18, - 12,13,63,72,42,47,76,49,55, - 8, - 63, - 15,63,66,69,73, - 63, - 63,66,68,69, - 18,13,65, - 74,53,54, - 8, - 63, - 0,18,1,19,21,2,22,6,26,27,10,28,29,30,12,13,33,37,40,41,72,74,44,45,46,48,50,51,53,78,79,54,55, - 54, - 17, - 54, - 2, - 14,15,16,17,18,2,23,7,26,9,11,13,61,63,35,70,74,76,53,78,79, - 70, - 0,54, - 9,76, - 70, - 66, - 17,27,61,70,50,55, - 15,18,24,25,26,13,66,39,52, - 46, - 66, - 74, - 5,68,40, - 13,56, - 16,2,12,13,72,74,46,49, - 22,26,27,38,50, - 14,15,0,18,1,19,20,21,2,5,22,23,24,7,25,8,26,27,10,29,30,31,12,13,32,34,33,60,37,63,65,35,38,66,69,40,41,72,43,74,44,45,46,48,77,50,52,53,79,55, - 6, - 16,9,13,34,63,65,76, - 63, - 63, - 63, - 0,67, - 24,8,10,32,54, - 20,66,44, - 1,13,70,71, - 20, - 1,13,65,69, - 21, - 18,71,44, - 63, - 9, - 15,6,63,55, - 63, - 63, - 15,6,63, - 63, - 14,15,17,0,18,1,19,20,21,2,22,6,23,24,25,26,29,30,31,32,34,33,36,37,35,66,67,39,40,41,42,74,45,46,47,48,49,53,79,55, - 15,6,63, - 63, - 66, - 54, - - diff --git a/doc/salome/gui/SMESH/whxdata/whgdata0.xml b/doc/salome/gui/SMESH/whxdata/whgdata0.xml deleted file mode 100755 index b0993a043..000000000 --- a/doc/salome/gui/SMESH/whxdata/whgdata0.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whxdata/whglo.xml b/doc/salome/gui/SMESH/whxdata/whglo.xml deleted file mode 100755 index ac67056d3..000000000 --- a/doc/salome/gui/SMESH/whxdata/whglo.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/doc/salome/gui/SMESH/whxdata/whidx.xml b/doc/salome/gui/SMESH/whxdata/whidx.xml deleted file mode 100755 index 44f05e5be..000000000 --- a/doc/salome/gui/SMESH/whxdata/whidx.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/doc/salome/gui/SMESH/whxdata/whtdata0.xml b/doc/salome/gui/SMESH/whxdata/whtdata0.xml deleted file mode 100755 index ae74c4dc1..000000000 --- a/doc/salome/gui/SMESH/whxdata/whtdata0.xml +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/SMESH/whxdata/whtoc.xml b/doc/salome/gui/SMESH/whxdata/whtoc.xml deleted file mode 100755 index 871ec25b9..000000000 --- a/doc/salome/gui/SMESH/whxdata/whtoc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index 32e8ee2bc..3de13f6f6 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -1946,12 +1946,12 @@ SMESH::long_array* SMESH_Mesh_i::GetSubMeshNodesId(const CORBA::Long ShapeID, CO SMESHDS_SubMesh* SDSM = SM->GetSubMeshDS(); if(!SDSM) return aResult._retn(); - map theElems; - if( !all || (SDSM->NbElements()==0 && SDSM->NbNodes()==1) ) { + set theElems; + if( !all || (SDSM->NbElements()==0) ) { // internal nodes or vertex submesh SMDS_NodeIteratorPtr nIt = SDSM->GetNodes(); while ( nIt->more() ) { const SMDS_MeshNode* elem = nIt->next(); - theElems.insert( make_pair(elem->GetID(),elem) ); + theElems.insert( elem->GetID() ); } } else { // all nodes of submesh elements @@ -1961,16 +1961,16 @@ SMESH::long_array* SMESH_Mesh_i::GetSubMeshNodesId(const CORBA::Long ShapeID, CO SMDS_ElemIteratorPtr nIt = anElem->nodesIterator(); while ( nIt->more() ) { const SMDS_MeshElement* elem = nIt->next(); - theElems.insert( make_pair(elem->GetID(),elem) ); + theElems.insert( elem->GetID() ); } } } aResult->length(theElems.size()); - map::iterator itElem; + set::iterator itElem; int i = 0; for ( itElem = theElems.begin(); itElem != theElems.end(); itElem++ ) - aResult[i++] = (*itElem).first; + aResult[i++] = *itElem; return aResult._retn(); } diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 371550437..f4a294088 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -421,2906 +421,2906 @@ import omniORB omniORB.registerObjref(SMESH._objref_SMESH_Gen._NP_RepositoryId, smeshDC) -## Mother class to define algorithm, recommended to do not use directly. +# Public class: Mesh +# ================== + +## Class to define a mesh # +# The class contains mesh shape, SMESH_Mesh, SMESH_MeshEditor # More details. -class Mesh_Algorithm: - # @class Mesh_Algorithm - # @brief Class Mesh_Algorithm - - #def __init__(self,smesh): - # self.smesh=smesh - def __init__(self): - self.mesh = None - self.geom = None - self.subm = None - self.algo = None +class Mesh: - ## Find hypothesis in study by its type name and parameters. - # Find only those hypothesis, which was created in smeshpyD engine. - def FindHypothesis (self, hypname, args, CompareMethod, smeshpyD): - study = smeshpyD.GetCurrentStudy() - #to do: find component by smeshpyD object, not by its data type - scomp = study.FindComponent(smeshpyD.ComponentDataType()) - if scomp is not None: - res,hypRoot = scomp.FindSubObject(SMESH.Tag_HypothesisRoot) - # is hypotheses root label exists? - if res and hypRoot is not None: - iter = study.NewChildIterator(hypRoot) - # check all published hypotheses - while iter.More(): - hypo_so_i = iter.Value() - attr = hypo_so_i.FindAttribute("AttributeIOR")[1] - if attr is not None: - anIOR = attr.Value() - hypo_o_i = salome.orb.string_to_object(anIOR) - if hypo_o_i is not None: - # is hypothesis? - hypo_i = hypo_o_i._narrow(SMESH.SMESH_Hypothesis) - if hypo_i is not None: - # belongs to this engine? - if smeshpyD.GetObjectId(hypo_i) > 0: - # is it the needed hypothesis? - if hypo_i.GetName() == hypname: - # check args - if CompareMethod(hypo_i, args): - # found!!! - return hypo_i - pass - pass - pass - pass - pass - iter.Next() - pass - pass - pass - return None + geom = 0 + mesh = 0 + editor = 0 - ## Find algorithm in study by its type name. - # Find only those algorithm, which was created in smeshpyD engine. - def FindAlgorithm (self, algoname, smeshpyD): - study = smeshpyD.GetCurrentStudy() - #to do: find component by smeshpyD object, not by its data type - scomp = study.FindComponent(smeshpyD.ComponentDataType()) - if scomp is not None: - res,hypRoot = scomp.FindSubObject(SMESH.Tag_AlgorithmsRoot) - # is algorithms root label exists? - if res and hypRoot is not None: - iter = study.NewChildIterator(hypRoot) - # check all published algorithms - while iter.More(): - algo_so_i = iter.Value() - attr = algo_so_i.FindAttribute("AttributeIOR")[1] - if attr is not None: - anIOR = attr.Value() - algo_o_i = salome.orb.string_to_object(anIOR) - if algo_o_i is not None: - # is algorithm? - algo_i = algo_o_i._narrow(SMESH.SMESH_Algo) - if algo_i is not None: - # belongs to this engine? - if smeshpyD.GetObjectId(algo_i) > 0: - # is it the needed algorithm? - if algo_i.GetName() == algoname: - # found!!! - return algo_i - pass - pass - pass - pass - iter.Next() - pass - pass - pass - return None + ## Constructor + # + # Creates mesh on the shape \a geom(or the empty mesh if geom equal to 0), + # sets GUI name of this mesh to \a name. + # @param obj Shape to be meshed or SMESH_Mesh object + # @param name Study name of the mesh + def __init__(self, smeshpyD, geompyD, obj=0, name=0): + self.smeshpyD=smeshpyD + self.geompyD=geompyD + if obj is None: + obj = 0 + if obj != 0: + if isinstance(obj, geompyDC.GEOM._objref_GEOM_Object): + self.geom = obj + self.mesh = self.smeshpyD.CreateMesh(self.geom) + elif isinstance(obj, SMESH._objref_SMESH_Mesh): + self.SetMesh(obj) + else: + self.mesh = self.smeshpyD.CreateEmptyMesh() + if name != 0: + SetName(self.mesh, name) + elif obj != 0: + SetName(self.mesh, GetName(obj)) - ## If the algorithm is global, return 0; \n - # else return the submesh associated to this algorithm. - def GetSubMesh(self): - return self.subm + self.editor = self.mesh.GetMeshEditor() - ## Return the wrapped mesher. - def GetAlgorithm(self): - return self.algo + ## Method that inits the Mesh object from SMESH_Mesh interface + # @param theMesh is SMESH_Mesh object + def SetMesh(self, theMesh): + self.mesh = theMesh + self.geom = self.mesh.GetShapeToMesh() - ## Get list of hypothesis that can be used with this algorithm - def GetCompatibleHypothesis(self): - mylist = [] - if self.algo: - mylist = self.algo.GetCompatibleHypothesis() - return mylist + ## Method that returns the mesh + # @return SMESH_Mesh object + def GetMesh(self): + return self.mesh - ## Get name of algo + ## Get mesh name def GetName(self): - GetName(self.algo) + name = GetName(self.GetMesh()) + return name - ## Set name to algo + ## Set name to mesh def SetName(self, name): - SetName(self.algo, name) + SetName(self.GetMesh(), name) - ## Get id of algo - def GetId(self): - return self.algo.GetId() + ## Get the subMesh object associated to a subShape. The subMesh object + # gives access to nodes and elements IDs. + # \n SubMesh will be used instead of SubShape in a next idl version to + # adress a specific subMesh... + def GetSubMesh(self, theSubObject, name): + submesh = self.mesh.GetSubMesh(theSubObject, name) + return submesh - ## Private method. - def Create(self, mesh, geom, hypo, so="libStdMeshersEngine.so"): - if geom is None: - raise RuntimeError, "Attemp to create " + hypo + " algoritm on None shape" - algo = self.FindAlgorithm(hypo, mesh.smeshpyD) - if algo is None: - algo = mesh.smeshpyD.CreateHypothesis(hypo, so) - pass - self.Assign(algo, mesh, geom) - return self.algo + ## Method that returns the shape associated to the mesh + # @return GEOM_Object + def GetShape(self): + return self.geom - ## Private method - def Assign(self, algo, mesh, geom): - if geom is None: - raise RuntimeError, "Attemp to create " + algo + " algoritm on None shape" - self.mesh = mesh - piece = mesh.geom - if not geom: - self.geom = piece - else: - self.geom = geom - name = GetName(geom) - if name==NO_NAME: - name = mesh.geompyD.SubShapeName(geom, piece) - mesh.geompyD.addToStudyInFather(piece, geom, name) - self.subm = mesh.mesh.GetSubMesh(geom, algo.GetName()) + ## Method that associates given shape to the mesh(entails the mesh recreation) + # @param geom shape to be meshed(GEOM_Object) + def SetShape(self, geom): + self.mesh = self.smeshpyD.CreateMesh(geom) - self.algo = algo - status = mesh.mesh.AddHypothesis(self.geom, self.algo) - TreatHypoStatus( status, algo.GetName(), GetName(self.geom), True ) + ## Return true if hypotheses are defined well + # @param theMesh is an instance of Mesh class + # @param theSubObject subshape of a mesh shape + def IsReadyToCompute(self, theSubObject): + return self.smeshpyD.IsReadyToCompute(self.mesh, theSubObject) - def CompareHyp (self, hyp, args): - print "CompareHyp is not implemented for ", self.__class__.__name__, ":", hyp.GetName() - return False + ## Return errors of hypotheses definintion + # error list is empty if everything is OK + # @param theMesh is an instance of Mesh class + # @param theSubObject subshape of a mesh shape + # @return a list of errors + def GetAlgoState(self, theSubObject): + return self.smeshpyD.GetAlgoState(self.mesh, theSubObject) - def CompareEqualHyp (self, hyp, args): - return True + ## Return geometrical object the given element is built on. + # The returned geometrical object, if not nil, is either found in the + # study or is published by this method with the given name + # @param theMesh is an instance of Mesh class + # @param theElementID an id of the mesh element + # @param theGeomName user defined name of geometrical object + # @return GEOM::GEOM_Object instance + def GetGeometryByMeshElement(self, theElementID, theGeomName): + return self.smeshpyD.GetGeometryByMeshElement( self.mesh, theElementID, theGeomName ) - ## Private method - def Hypothesis (self, hyp, args=[], so="libStdMeshersEngine.so", - UseExisting=0, CompareMethod=""): - hypo = None - if UseExisting: - if CompareMethod == "": CompareMethod = self.CompareHyp - hypo = self.FindHypothesis(hyp, args, CompareMethod, self.mesh.smeshpyD) + ## Returns mesh dimension depending on shape one + def MeshDimension(self): + shells = self.geompyD.SubShapeAllIDs( self.geom, geompyDC.ShapeType["SHELL"] ) + if len( shells ) > 0 : + return 3 + elif self.geompyD.NumberOfFaces( self.geom ) > 0 : + return 2 + elif self.geompyD.NumberOfEdges( self.geom ) > 0 : + return 1 + else: + return 0; + pass + + ## Creates a segment discretization 1D algorithm. + # If the optional \a algo parameter is not sets, this algorithm is REGULAR. + # If the optional \a geom parameter is not sets, this algorithm is global. + # \n Otherwise, this algorithm define a submesh based on \a geom subshape. + # @param algo values are smesh.REGULAR or smesh.PYTHON for discretization via python function + # @param geom If defined, subshape to be meshed + def Segment(self, algo=REGULAR, geom=0): + ## if Segment(geom) is called by mistake + if isinstance( algo, geompyDC.GEOM._objref_GEOM_Object): + algo, geom = geom, algo + if not algo: algo = REGULAR pass - if hypo is None: - hypo = self.mesh.smeshpyD.CreateHypothesis(hyp, so) - a = "" - s = "=" - i = 0 - n = len(args) - while i 1 : + self.Triangle().LengthFromEdges() pass - status = self.mesh.mesh.AddHypothesis(self.geom, algo) - TreatHypoStatus(status, "SegmentAroundVertex_0D", name, True) - ### - hyp = self.Hypothesis("SegmentLengthAroundVertex", [length], UseExisting=UseExisting, - CompareMethod=self.CompareLengthNearVertex) - self.geom = store_geom - hyp.SetLength( length ) - return hyp + if dim > 2 : + self.Tetrahedron(NETGEN) + pass + return self.Compute() - ## Check if the given "LengthNearVertex" hypothesis has the same parameters as given arguments - def CompareLengthNearVertex(self, hyp, args): - return IsEqual(hyp.GetLength(), args[0]) + ## Compute hexahedral mesh using AutomaticLength + Quadrangle + Hexahedron + # The parameter \a fineness [0,-1] defines mesh fineness + def AutomaticHexahedralization(self, fineness=0): + dim = self.MeshDimension() + # assign hypotheses + self.RemoveGlobalHypotheses() + self.Segment().AutomaticLength(fineness) + if dim > 1 : + self.Quadrangle() + pass + if dim > 2 : + self.Hexahedron() + pass + return self.Compute() - ## Define "QuadraticMesh" hypothesis, forcing construction of quadratic edges. - # If the 2D mesher sees that all boundary edges are quadratic ones, - # it generates quadratic faces, else it generates linear faces using - # medium nodes as if they were vertex ones. - # The 3D mesher generates quadratic volumes only if all boundary faces - # are quadratic ones, else it fails. - def QuadraticMesh(self): - hyp = self.Hypothesis("QuadraticMesh", UseExisting=1, CompareMethod=self.CompareEqualHyp) - return hyp + ## Assign hypothesis + # @param hyp is a hypothesis to assign + # @param geom is subhape of mesh geometry + def AddHypothesis(self, hyp, geom=0): + if isinstance( hyp, Mesh_Algorithm ): + hyp = hyp.GetAlgorithm() + pass + if not geom: + geom = self.geom + pass + status = self.mesh.AddHypothesis(geom, hyp) + isAlgo = hyp._narrow( SMESH_Algo ) + TreatHypoStatus( status, GetName( hyp ), GetName( geom ), isAlgo ) + return status -# Public class: Mesh_CompositeSegment -# -------------------------- + ## Unassign hypothesis + # @param hyp is a hypothesis to unassign + # @param geom is subhape of mesh geometry + def RemoveHypothesis(self, hyp, geom=0): + if isinstance( hyp, Mesh_Algorithm ): + hyp = hyp.GetAlgorithm() + pass + if not geom: + geom = self.geom + pass + status = self.mesh.RemoveHypothesis(geom, hyp) + return status -## Class to define a segment 1D algorithm for discretization -# -# More details. -class Mesh_CompositeSegment(Mesh_Segment): + ## Get the list of hypothesis added on a geom + # @param geom is subhape of mesh geometry + def GetHypothesisList(self, geom): + return self.mesh.GetHypothesisList( geom ) - ## Private constructor. - def __init__(self, mesh, geom=0): - self.Create(mesh, geom, "CompositeSegment_1D") + ## Removes all global hypotheses + def RemoveGlobalHypotheses(self): + current_hyps = self.mesh.GetHypothesisList( self.geom ) + for hyp in current_hyps: + self.mesh.RemoveHypothesis( self.geom, hyp ) + pass + pass + ## Create a mesh group based on geometric object \a grp + # and give a \a name, \n if this parameter is not defined + # the name is the same as the geometric group name \n + # Note: Works like GroupOnGeom(). + # @param grp is a geometric group, a vertex, an edge, a face or a solid + # @param name is the name of the mesh group + # @return SMESH_GroupOnGeom + def Group(self, grp, name=""): + return self.GroupOnGeom(grp, name) -# Public class: Mesh_Segment_Python -# --------------------------------- + ## Deprecated, only for compatibility! Please, use ExportMED() method instead. + # Export the mesh in a file with the MED format and choice the \a version of MED format + # @param f is the file name + # @param version values are SMESH.MED_V2_1, SMESH.MED_V2_2 + def ExportToMED(self, f, version, opt=0): + self.mesh.ExportToMED(f, opt, version) -## Class to define a segment 1D algorithm for discretization with python function -# -# More details. -class Mesh_Segment_Python(Mesh_Segment): + ## Export the mesh in a file with the MED format + # @param f is the file name + # @param auto_groups boolean parameter for creating/not creating + # the groups Group_On_All_Nodes, Group_On_All_Faces, ... ; + # the typical use is auto_groups=false. + # @param version MED format version(MED_V2_1 or MED_V2_2) + def ExportMED(self, f, auto_groups=0, version=MED_V2_2): + self.mesh.ExportToMED(f, auto_groups, version) - ## Private constructor. - def __init__(self, mesh, geom=0): - import Python1dPlugin - self.Create(mesh, geom, "Python_1D", "libPython1dEngine.so") + ## Export the mesh in a file with the DAT format + # @param f is the file name + def ExportDAT(self, f): + self.mesh.ExportDAT(f) - ## Define "PythonSplit1D" hypothesis based on the Erwan Adam patch, awaiting equivalent SALOME functionality - # @param n for the number of segments that cut an edge - # @param func for the python function that calculate the length of all segments - # @param UseExisting if ==true - search existing hypothesis created with - # same parameters, else (default) - create new - def PythonSplit1D(self, n, func, UseExisting=0): - hyp = self.Hypothesis("PythonSplit1D", [n], "libPython1dEngine.so", - UseExisting=UseExisting, CompareMethod=self.ComparePythonSplit1D) - hyp.SetNumberOfSegments(n) - hyp.SetPythonLog10RatioFunction(func) - return hyp + ## Export the mesh in a file with the UNV format + # @param f is the file name + def ExportUNV(self, f): + self.mesh.ExportUNV(f) - ## Check if the given "PythonSplit1D" hypothesis has the same parameters as given arguments - def ComparePythonSplit1D(self, hyp, args): - #if hyp.GetNumberOfSegments() == args[0]: - # if hyp.GetPythonLog10RatioFunction() == args[1]: - # return True - return False + ## Export the mesh in a file with the STL format + # @param f is the file name + # @param ascii defined the kind of file contents + def ExportSTL(self, f, ascii=1): + self.mesh.ExportSTL(f, ascii) -# Public class: Mesh_Triangle -# --------------------------- -## Class to define a triangle 2D algorithm -# -# More details. -class Mesh_Triangle(Mesh_Algorithm): + # Operations with groups: + # ---------------------- - # default values - algoType = 0 - params = 0 + ## Creates an empty mesh group + # @param elementType is the type of elements in the group + # @param name is the name of the mesh group + # @return SMESH_Group + def CreateEmptyGroup(self, elementType, name): + return self.mesh.CreateGroup(elementType, name) - _angleMeshS = 8 - _gradation = 1.1 + ## Creates a mesh group based on geometric object \a grp + # and give a \a name, \n if this parameter is not defined + # the name is the same as the geometric group name + # @param grp is a geometric group, a vertex, an edge, a face or a solid + # @param name is the name of the mesh group + # @return SMESH_GroupOnGeom + def GroupOnGeom(self, grp, name="", typ=None): + if name == "": + name = grp.GetName() - ## Private constructor. - def __init__(self, mesh, algoType, geom=0): - Mesh_Algorithm.__init__(self) + if typ == None: + tgeo = str(grp.GetShapeType()) + if tgeo == "VERTEX": + typ = NODE + elif tgeo == "EDGE": + typ = EDGE + elif tgeo == "FACE": + typ = FACE + elif tgeo == "SOLID": + typ = VOLUME + elif tgeo == "SHELL": + typ = VOLUME + elif tgeo == "COMPOUND": + if len( self.geompyD.GetObjectIDs( grp )) == 0: + print "Mesh.Group: empty geometric group", GetName( grp ) + return 0 + tgeo = self.geompyD.GetType(grp) + if tgeo == geompyDC.ShapeType["VERTEX"]: + typ = NODE + elif tgeo == geompyDC.ShapeType["EDGE"]: + typ = EDGE + elif tgeo == geompyDC.ShapeType["FACE"]: + typ = FACE + elif tgeo == geompyDC.ShapeType["SOLID"]: + typ = VOLUME - self.algoType = algoType - if algoType == MEFISTO: - self.Create(mesh, geom, "MEFISTO_2D") - pass - elif algoType == BLSURF: - import BLSURFPlugin - self.Create(mesh, geom, "BLSURF", "libBLSURFEngine.so") - self.SetPhysicalMesh() - elif algoType == NETGEN: - if noNETGENPlugin: - print "Warning: NETGENPlugin module unavailable" - pass - self.Create(mesh, geom, "NETGEN_2D", "libNETGENEngine.so") - pass - elif algoType == NETGEN_2D: - if noNETGENPlugin: - print "Warning: NETGENPlugin module unavailable" - pass - self.Create(mesh, geom, "NETGEN_2D_ONLY", "libNETGENEngine.so") - pass + if typ == None: + print "Mesh.Group: bad first argument: expected a group, a vertex, an edge, a face or a solid" + return 0 + else: + return self.mesh.CreateGroupFromGEOM(typ, name, grp) - ## Define "MaxElementArea" hypothesis to give the maximum area of each triangle - # @param area for the maximum area of each triangle - # @param UseExisting if ==true - search existing hypothesis created with - # same parameters, else (default) - create new - # - # Only for algoType == MEFISTO || NETGEN_2D - def MaxElementArea(self, area, UseExisting=0): - if self.algoType == MEFISTO or self.algoType == NETGEN_2D: - hyp = self.Hypothesis("MaxElementArea", [area], UseExisting=UseExisting, - CompareMethod=self.CompareMaxElementArea) - hyp.SetMaxElementArea(area) - return hyp - elif self.algoType == NETGEN: - print "Netgen 1D-2D algo doesn't support this hypothesis" - return None + ## Create a mesh group by the given ids of elements + # @param groupName is the name of the mesh group + # @param elementType is the type of elements in the group + # @param elemIDs is the list of ids + # @return SMESH_Group + def MakeGroupByIds(self, groupName, elementType, elemIDs): + group = self.mesh.CreateGroup(elementType, groupName) + group.Add(elemIDs) + return group - ## Check if the given "MaxElementArea" hypothesis has the same parameters as given arguments - def CompareMaxElementArea(self, hyp, args): - return IsEqual(hyp.GetMaxElementArea(), args[0]) + ## Create a mesh group by the given conditions + # @param groupName is the name of the mesh group + # @param elementType is the type of elements in the group + # @param CritType is type of criterion( FT_Taper, FT_Area, FT_RangeOfIds, FT_LyingOnGeom etc. ) + # @param Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo} + # @param Treshold is threshold value (range of id ids as string, shape, numeric) + # @param UnaryOp is FT_LogicalNOT or FT_Undefined + # @return SMESH_Group + def MakeGroup(self, + groupName, + elementType, + CritType=FT_Undefined, + Compare=FT_EqualTo, + Treshold="", + UnaryOp=FT_Undefined): + aCriterion = self.smeshpyD.GetCriterion(elementType, CritType, Compare, Treshold, UnaryOp, FT_Undefined) + group = self.MakeGroupByCriterion(groupName, aCriterion) + return group - ## Define "LengthFromEdges" hypothesis to build triangles - # based on the length of the edges taken from the wire - # - # Only for algoType == MEFISTO || NETGEN_2D - def LengthFromEdges(self): - if self.algoType == MEFISTO or self.algoType == NETGEN_2D: - hyp = self.Hypothesis("LengthFromEdges", UseExisting=1, CompareMethod=self.CompareEqualHyp) - return hyp - elif self.algoType == NETGEN: - print "Netgen 1D-2D algo doesn't support this hypothesis" - return None + ## Create a mesh group by the given criterion + # @param groupName is the name of the mesh group + # @param Criterion is the instance of Criterion class + # @return SMESH_Group + def MakeGroupByCriterion(self, groupName, Criterion): + aFilterMgr = self.smeshpyD.CreateFilterManager() + aFilter = aFilterMgr.CreateFilter() + aCriteria = [] + aCriteria.append(Criterion) + aFilter.SetCriteria(aCriteria) + group = self.MakeGroupByFilter(groupName, aFilter) + return group - ## Set PhysicalMesh - # @param thePhysicalMesh is: - # DefaultSize or Custom - def SetPhysicalMesh(self, thePhysicalMesh=1): - if self.params == 0: - self.Parameters() - self.params.SetPhysicalMesh(thePhysicalMesh) + ## Create a mesh group by the given criteria(list of criterions) + # @param groupName is the name of the mesh group + # @param Criteria is the list of criterions + # @return SMESH_Group + def MakeGroupByCriteria(self, groupName, theCriteria): + aFilterMgr = self.smeshpyD.CreateFilterManager() + aFilter = aFilterMgr.CreateFilter() + aFilter.SetCriteria(theCriteria) + group = self.MakeGroupByFilter(groupName, aFilter) + return group - ## Set PhySize flag - def SetPhySize(self, theVal): - if self.params == 0: - self.Parameters() - self.params.SetPhySize(theVal) + ## Create a mesh group by the given filter + # @param groupName is the name of the mesh group + # @param Criterion is the instance of Filter class + # @return SMESH_Group + def MakeGroupByFilter(self, groupName, theFilter): + anIds = theFilter.GetElementsId(self.mesh) + anElemType = theFilter.GetElementType() + group = self.MakeGroupByIds(groupName, anElemType, anIds) + return group - ## Set GeometricMesh - # @param theGeometricMesh is: - # DefaultGeom or Custom - def SetGeometricMesh(self, theGeometricMesh=0): - if self.params == 0: - self.Parameters() - if self.params.GetPhysicalMesh() == 0: theGeometricMesh = 1 - self.params.SetGeometricMesh(theGeometricMesh) + ## Pass mesh elements through the given filter and return ids + # @param theFilter is SMESH_Filter + # @return list of ids + def GetIdsFromFilter(self, theFilter): + return theFilter.GetElementsId(self.mesh) - ## Set AngleMeshS flag - def SetAngleMeshS(self, theVal=_angleMeshS): - if self.params == 0: - self.Parameters() - if self.params.GetGeometricMesh() == 0: theVal = self._angleMeshS - self.params.SetAngleMeshS(theVal) + ## Verify whether 2D mesh element has free edges(edges connected to one face only)\n + # Returns list of special structures(borders). + # @return list of SMESH.FreeEdges.Border structure: edge id and two its nodes ids. + def GetFreeBorders(self): + aFilterMgr = self.smeshpyD.CreateFilterManager() + aPredicate = aFilterMgr.CreateFreeEdges() + aPredicate.SetMesh(self.mesh) + aBorders = aPredicate.GetBorders() + return aBorders - ## Set Gradation flag - def SetGradation(self, theVal=_gradation): - if self.params == 0: - self.Parameters() - if self.params.GetGeometricMesh() == 0: theVal = self._gradation - self.params.SetGradation(theVal) + ## Remove a group + def RemoveGroup(self, group): + self.mesh.RemoveGroup(group) - ## Set QuadAllowed flag - # - # Only for algoType == NETGEN || NETGEN_2D - def SetQuadAllowed(self, toAllow=True): - if self.algoType == NETGEN_2D: - if toAllow: # add QuadranglePreference - self.Hypothesis("QuadranglePreference", UseExisting=1, CompareMethod=self.CompareEqualHyp) - else: # remove QuadranglePreference - for hyp in self.mesh.GetHypothesisList( self.geom ): - if hyp.GetName() == "QuadranglePreference": - self.mesh.RemoveHypothesis( self.geom, hyp ) - pass - pass - pass - return - if self.params == 0: - self.Parameters() - if self.params: - self.params.SetQuadAllowed(toAllow) - return + ## Remove group with its contents + def RemoveGroupWithContents(self, group): + self.mesh.RemoveGroupWithContents(group) - ## Define "Netgen 2D Parameters" hypothesis - # - # Only for algoType == NETGEN - def Parameters(self): - if self.algoType == NETGEN: - self.params = self.Hypothesis("NETGEN_Parameters_2D", [], - "libNETGENEngine.so", UseExisting=0) - return self.params - elif self.algoType == MEFISTO: - print "Mefisto algo doesn't support NETGEN_Parameters_2D hypothesis" - return None - elif self.algoType == NETGEN_2D: - print "NETGEN_2D_ONLY algo doesn't support 'NETGEN_Parameters_2D' hypothesis" - print "NETGEN_2D_ONLY uses 'MaxElementArea' and 'LengthFromEdges' ones" - return None - elif self.algoType == BLSURF: - self.params = self.Hypothesis("BLSURF_Parameters", [], - "libBLSURFEngine.so", UseExisting=0) - return self.params - return None + ## Get the list of groups existing in the mesh + def GetGroups(self): + return self.mesh.GetGroups() - ## Set MaxSize - # - # Only for algoType == NETGEN - def SetMaxSize(self, theSize): - if self.params == 0: - self.Parameters() - if self.params is not None: - self.params.SetMaxSize(theSize) + ## Get number of groups existing in the mesh + def NbGroups(self): + return self.mesh.NbGroups() - ## Set SecondOrder flag - # - # Only for algoType == NETGEN - def SetSecondOrder(self, theVal): - if self.params == 0: - self.Parameters() - if self.params is not None: - self.params.SetSecondOrder(theVal) - - ## Set Optimize flag - # - # Only for algoType == NETGEN - def SetOptimize(self, theVal): - if self.params == 0: - self.Parameters() - if self.params is not None: - self.params.SetOptimize(theVal) + ## Get the list of names of groups existing in the mesh + def GetGroupNames(self): + groups = self.GetGroups() + names = [] + for group in groups: + names.append(group.GetName()) + return names - ## Set Fineness - # @param theFineness is: - # VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom - # - # Only for algoType == NETGEN - def SetFineness(self, theFineness): - if self.params == 0: - self.Parameters() - if self.params is not None: - self.params.SetFineness(theFineness) + ## Union of two groups + # New group is created. All mesh elements that are + # present in initial groups are added to the new one + def UnionGroups(self, group1, group2, name): + return self.mesh.UnionGroups(group1, group2, name) - ## Set GrowthRate - # - # Only for algoType == NETGEN - def SetGrowthRate(self, theRate): - if self.params == 0: - self.Parameters() - if self.params is not None: - self.params.SetGrowthRate(theRate) + ## Intersection of two groups + # New group is created. All mesh elements that are + # present in both initial groups are added to the new one. + def IntersectGroups(self, group1, group2, name): + return self.mesh.IntersectGroups(group1, group2, name) - ## Set NbSegPerEdge - # - # Only for algoType == NETGEN - def SetNbSegPerEdge(self, theVal): - if self.params == 0: - self.Parameters() - if self.params is not None: - self.params.SetNbSegPerEdge(theVal) + ## Cut of two groups + # New group is created. All mesh elements that are present in + # main group but do not present in tool group are added to the new one + def CutGroups(self, mainGroup, toolGroup, name): + return self.mesh.CutGroups(mainGroup, toolGroup, name) - ## Set NbSegPerRadius - # - # Only for algoType == NETGEN - def SetNbSegPerRadius(self, theVal): - if self.params == 0: - self.Parameters() - if self.params is not None: - self.params.SetNbSegPerRadius(theVal) - ## Set Decimesh flag - def SetDecimesh(self, toAllow=False): - if self.params == 0: - self.Parameters() - self.params.SetDecimesh(toAllow) + # Get some info about mesh: + # ------------------------ - pass + ## Get the log of nodes and elements added or removed since previous + # clear of the log. + # @param clearAfterGet log is emptied after Get (safe if concurrents access) + # @return list of log_block structures: + # commandType + # number + # coords + # indexes + def GetLog(self, clearAfterGet): + return self.mesh.GetLog(clearAfterGet) + ## Clear the log of nodes and elements added or removed since previous + # clear. Must be used immediately after GetLog if clearAfterGet is false. + def ClearLog(self): + self.mesh.ClearLog() -# Public class: Mesh_Quadrangle -# ----------------------------- + def SetAutoColor(self, color): + self.mesh.SetAutoColor(color) -## Class to define a quadrangle 2D algorithm -# -# More details. -class Mesh_Quadrangle(Mesh_Algorithm): + def GetAutoColor(self): + return self.mesh.GetAutoColor() - ## Private constructor. - def __init__(self, mesh, geom=0): - Mesh_Algorithm.__init__(self) - self.Create(mesh, geom, "Quadrangle_2D") + ## Get the internal Id + def GetId(self): + return self.mesh.GetId() - ## Define "QuadranglePreference" hypothesis, forcing construction - # of quadrangles if the number of nodes on opposite edges is not the same - # in the case where the global number of nodes on edges is even - def QuadranglePreference(self): - hyp = self.Hypothesis("QuadranglePreference", UseExisting=1, - CompareMethod=self.CompareEqualHyp) - return hyp + ## Get the study Id + def GetStudyId(self): + return self.mesh.GetStudyId() -# Public class: Mesh_Tetrahedron -# ------------------------------ + ## Check group names for duplications. + # Consider maximum group name length stored in MED file. + def HasDuplicatedGroupNamesMED(self): + return self.mesh.HasDuplicatedGroupNamesMED() -## Class to define a tetrahedron 3D algorithm -# -# More details. -class Mesh_Tetrahedron(Mesh_Algorithm): + ## Obtain instance of SMESH_MeshEditor + def GetMeshEditor(self): + return self.mesh.GetMeshEditor() - params = 0 - algoType = 0 + ## Get MED Mesh + def GetMEDMesh(self): + return self.mesh.GetMEDMesh() - ## Private constructor. - def __init__(self, mesh, algoType, geom=0): - Mesh_Algorithm.__init__(self) - if algoType == NETGEN: - self.Create(mesh, geom, "NETGEN_3D", "libNETGENEngine.so") - pass + # Get informations about mesh contents: + # ------------------------------------ - elif algoType == GHS3D: - import GHS3DPlugin - self.Create(mesh, geom, "GHS3D_3D" , "libGHS3DEngine.so") - pass + ## Returns number of nodes in mesh + def NbNodes(self): + return self.mesh.NbNodes() - elif algoType == FULL_NETGEN: - if noNETGENPlugin: - print "Warning: NETGENPlugin module has not been imported." - self.Create(mesh, geom, "NETGEN_2D3D", "libNETGENEngine.so") - pass + ## Returns number of elements in mesh + def NbElements(self): + return self.mesh.NbElements() - self.algoType = algoType + ## Returns number of edges in mesh + def NbEdges(self): + return self.mesh.NbEdges() - ## Define "MaxElementVolume" hypothesis to give the maximun volume of each tetrahedral - # @param vol for the maximum volume of each tetrahedral - # @param UseExisting if ==true - search existing hypothesis created with - # same parameters, else (default) - create new - def MaxElementVolume(self, vol, UseExisting=0): - hyp = self.Hypothesis("MaxElementVolume", [vol], UseExisting=UseExisting, - CompareMethod=self.CompareMaxElementVolume) - hyp.SetMaxElementVolume(vol) - return hyp + ## Returns number of edges with given order in mesh + # @param elementOrder is order of elements: + # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC + def NbEdgesOfOrder(self, elementOrder): + return self.mesh.NbEdgesOfOrder(elementOrder) - ## Check if the given "MaxElementVolume" hypothesis has the same parameters as given arguments - def CompareMaxElementVolume(self, hyp, args): - return IsEqual(hyp.GetMaxElementVolume(), args[0]) + ## Returns number of faces in mesh + def NbFaces(self): + return self.mesh.NbFaces() - ## Define "Netgen 3D Parameters" hypothesis - def Parameters(self): - if (self.algoType == FULL_NETGEN): - self.params = self.Hypothesis("NETGEN_Parameters", [], - "libNETGENEngine.so", UseExisting=0) - return self.params - else: - print "Algo doesn't support this hypothesis" - return None + ## Returns number of faces with given order in mesh + # @param elementOrder is order of elements: + # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC + def NbFacesOfOrder(self, elementOrder): + return self.mesh.NbFacesOfOrder(elementOrder) - ## Set MaxSize - def SetMaxSize(self, theSize): - if self.params == 0: - self.Parameters() - self.params.SetMaxSize(theSize) + ## Returns number of triangles in mesh + def NbTriangles(self): + return self.mesh.NbTriangles() - ## Set SecondOrder flag - def SetSecondOrder(self, theVal): - if self.params == 0: - self.Parameters() - self.params.SetSecondOrder(theVal) + ## Returns number of triangles with given order in mesh + # @param elementOrder is order of elements: + # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC + def NbTrianglesOfOrder(self, elementOrder): + return self.mesh.NbTrianglesOfOrder(elementOrder) - ## Set Optimize flag - def SetOptimize(self, theVal): - if self.params == 0: - self.Parameters() - self.params.SetOptimize(theVal) + ## Returns number of quadrangles in mesh + def NbQuadrangles(self): + return self.mesh.NbQuadrangles() - ## Set Fineness - # @param theFineness is: - # VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom - def SetFineness(self, theFineness): - if self.params == 0: - self.Parameters() - self.params.SetFineness(theFineness) + ## Returns number of quadrangles with given order in mesh + # @param elementOrder is order of elements: + # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC + def NbQuadranglesOfOrder(self, elementOrder): + return self.mesh.NbQuadranglesOfOrder(elementOrder) - ## Set GrowthRate - def SetGrowthRate(self, theRate): - if self.params == 0: - self.Parameters() - self.params.SetGrowthRate(theRate) + ## Returns number of polygons in mesh + def NbPolygons(self): + return self.mesh.NbPolygons() - ## Set NbSegPerEdge - def SetNbSegPerEdge(self, theVal): - if self.params == 0: - self.Parameters() - self.params.SetNbSegPerEdge(theVal) + ## Returns number of volumes in mesh + def NbVolumes(self): + return self.mesh.NbVolumes() - ## Set NbSegPerRadius - def SetNbSegPerRadius(self, theVal): - if self.params == 0: - self.Parameters() - self.params.SetNbSegPerRadius(theVal) + ## Returns number of volumes with given order in mesh + # @param elementOrder is order of elements: + # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC + def NbVolumesOfOrder(self, elementOrder): + return self.mesh.NbVolumesOfOrder(elementOrder) -# Public class: Mesh_Hexahedron -# ------------------------------ + ## Returns number of tetrahedrons in mesh + def NbTetras(self): + return self.mesh.NbTetras() -## Class to define a hexahedron 3D algorithm -# -# More details. -class Mesh_Hexahedron(Mesh_Algorithm): + ## Returns number of tetrahedrons with given order in mesh + # @param elementOrder is order of elements: + # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC + def NbTetrasOfOrder(self, elementOrder): + return self.mesh.NbTetrasOfOrder(elementOrder) - params = 0 - algoType = 0 + ## Returns number of hexahedrons in mesh + def NbHexas(self): + return self.mesh.NbHexas() - ## Private constructor. - def __init__(self, mesh, algoType=Hexa, geom=0): - Mesh_Algorithm.__init__(self) + ## Returns number of hexahedrons with given order in mesh + # @param elementOrder is order of elements: + # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC + def NbHexasOfOrder(self, elementOrder): + return self.mesh.NbHexasOfOrder(elementOrder) - self.algoType = algoType + ## Returns number of pyramids in mesh + def NbPyramids(self): + return self.mesh.NbPyramids() - if algoType == Hexa: - self.Create(mesh, geom, "Hexa_3D") - pass + ## Returns number of pyramids with given order in mesh + # @param elementOrder is order of elements: + # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC + def NbPyramidsOfOrder(self, elementOrder): + return self.mesh.NbPyramidsOfOrder(elementOrder) - elif algoType == Hexotic: - import HexoticPlugin - self.Create(mesh, geom, "Hexotic_3D", "libHexoticEngine.so") - pass + ## Returns number of prisms in mesh + def NbPrisms(self): + return self.mesh.NbPrisms() - ## Define "MinMaxQuad" hypothesis to give the three hexotic parameters - def MinMaxQuad(self, min=3, max=8, quad=True): - self.params = self.Hypothesis("Hexotic_Parameters", [], "libHexoticEngine.so", - UseExisting=0) - self.params.SetHexesMinLevel(min) - self.params.SetHexesMaxLevel(max) - self.params.SetHexoticQuadrangles(quad) - return self.params + ## Returns number of prisms with given order in mesh + # @param elementOrder is order of elements: + # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC + def NbPrismsOfOrder(self, elementOrder): + return self.mesh.NbPrismsOfOrder(elementOrder) -# Deprecated, only for compatibility! -# Public class: Mesh_Netgen -# ------------------------------ + ## Returns number of polyhedrons in mesh + def NbPolyhedrons(self): + return self.mesh.NbPolyhedrons() -## Class to define a NETGEN-based 2D or 3D algorithm -# that need no discrete boundary (i.e. independent) -# -# This class is deprecated, only for compatibility! -# -# More details. -class Mesh_Netgen(Mesh_Algorithm): + ## Returns number of submeshes in mesh + def NbSubMesh(self): + return self.mesh.NbSubMesh() - is3D = 0 + ## Returns list of mesh elements ids + def GetElementsId(self): + return self.mesh.GetElementsId() - ## Private constructor. - def __init__(self, mesh, is3D, geom=0): - Mesh_Algorithm.__init__(self) + ## Returns list of ids of mesh elements with given type + # @param elementType is required type of elements + def GetElementsByType(self, elementType): + return self.mesh.GetElementsByType(elementType) - if noNETGENPlugin: - print "Warning: NETGENPlugin module has not been imported." + ## Returns list of mesh nodes ids + def GetNodesId(self): + return self.mesh.GetNodesId() - self.is3D = is3D - if is3D: - self.Create(mesh, geom, "NETGEN_2D3D", "libNETGENEngine.so") - pass + # Get informations about mesh elements: + # ------------------------------------ - else: - self.Create(mesh, geom, "NETGEN_2D", "libNETGENEngine.so") - pass + ## Returns type of mesh element + def GetElementType(self, id, iselem): + return self.mesh.GetElementType(id, iselem) - ## Define hypothesis containing parameters of the algorithm - def Parameters(self): - if self.is3D: - hyp = self.Hypothesis("NETGEN_Parameters", [], - "libNETGENEngine.so", UseExisting=0) + ## Returns list of submesh elements ids + # @param Shape is geom object(subshape) IOR + # Shape must be subshape of a ShapeToMesh() + def GetSubMeshElementsId(self, Shape): + if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)): + ShapeID = Shape.GetSubShapeIndices()[0] else: - hyp = self.Hypothesis("NETGEN_Parameters_2D", [], - "libNETGENEngine.so", UseExisting=0) - return hyp + ShapeID = Shape + return self.mesh.GetSubMeshElementsId(ShapeID) -# Public class: Mesh_Projection1D -# ------------------------------ + ## Returns list of submesh nodes ids + # @param Shape is geom object(subshape) IOR + # Shape must be subshape of a ShapeToMesh() + def GetSubMeshNodesId(self, Shape, all): + if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)): + ShapeID = Shape.GetSubShapeIndices()[0] + else: + ShapeID = Shape + return self.mesh.GetSubMeshNodesId(ShapeID, all) -## Class to define a projection 1D algorithm -# -# More details. -class Mesh_Projection1D(Mesh_Algorithm): + ## Returns list of ids of submesh elements with given type + # @param Shape is geom object(subshape) IOR + # Shape must be subshape of a ShapeToMesh() + def GetSubMeshElementType(self, Shape): + if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)): + ShapeID = Shape.GetSubShapeIndices()[0] + else: + ShapeID = Shape + return self.mesh.GetSubMeshElementType(ShapeID) - ## Private constructor. - def __init__(self, mesh, geom=0): - Mesh_Algorithm.__init__(self) - self.Create(mesh, geom, "Projection_1D") + ## Get mesh description + def Dump(self): + return self.mesh.Dump() - ## Define "Source Edge" hypothesis, specifying a meshed edge to - # take a mesh pattern from, and optionally association of vertices - # between the source edge and a target one (where a hipothesis is assigned to) - # @param edge to take nodes distribution from - # @param mesh to take nodes distribution from (optional) - # @param srcV is vertex of \a edge to associate with \a tgtV (optional) - # @param tgtV is vertex of \a the edge where the algorithm is assigned, - # to associate with \a srcV (optional) - # @param UseExisting if ==true - search existing hypothesis created with - # same parameters, else (default) - create new - def SourceEdge(self, edge, mesh=None, srcV=None, tgtV=None, UseExisting=0): - hyp = self.Hypothesis("ProjectionSource1D", [edge,mesh,srcV,tgtV], - UseExisting=0) - #UseExisting=UseExisting, CompareMethod=self.CompareSourceEdge) - hyp.SetSourceEdge( edge ) - if not mesh is None and isinstance(mesh, Mesh): - mesh = mesh.GetMesh() - hyp.SetSourceMesh( mesh ) - hyp.SetVertexAssociation( srcV, tgtV ) - return hyp - ## Check if the given "SourceEdge" hypothesis has the same parameters as given arguments - #def CompareSourceEdge(self, hyp, args): - # # seems to be not really useful to reuse existing "SourceEdge" hypothesis - # return False + # Get information about nodes and elements of mesh by its ids: + # ----------------------------------------------------------- + ## Get XYZ coordinates of node as list of double + # \n If there is not node for given ID - returns empty list + def GetNodeXYZ(self, id): + return self.mesh.GetNodeXYZ(id) -# Public class: Mesh_Projection2D -# ------------------------------ + ## For given node returns list of IDs of inverse elements + # \n If there is not node for given ID - returns empty list + def GetNodeInverseElements(self, id): + return self.mesh.GetNodeInverseElements(id) -## Class to define a projection 2D algorithm -# -# More details. -class Mesh_Projection2D(Mesh_Algorithm): + ## @brief Return position of a node on shape + # @return SMESH::NodePosition + def GetNodePosition(self,NodeID): + return self.mesh.GetNodePosition(NodeID) - ## Private constructor. - def __init__(self, mesh, geom=0): - Mesh_Algorithm.__init__(self) - self.Create(mesh, geom, "Projection_2D") + ## If given element is node returns IDs of shape from position + # \n If there is not node for given ID - returns -1 + def GetShapeID(self, id): + return self.mesh.GetShapeID(id) - ## Define "Source Face" hypothesis, specifying a meshed face to - # take a mesh pattern from, and optionally association of vertices - # between the source face and a target one (where a hipothesis is assigned to) - # @param face to take mesh pattern from - # @param mesh to take mesh pattern from (optional) - # @param srcV1 is vertex of \a face to associate with \a tgtV1 (optional) - # @param tgtV1 is vertex of \a the face where the algorithm is assigned, - # to associate with \a srcV1 (optional) - # @param srcV2 is vertex of \a face to associate with \a tgtV1 (optional) - # @param tgtV2 is vertex of \a the face where the algorithm is assigned, - # to associate with \a srcV2 (optional) - # @param UseExisting if ==true - search existing hypothesis created with - # same parameters, else (default) - create new - # - # Note: association vertices must belong to one edge of a face - def SourceFace(self, face, mesh=None, srcV1=None, tgtV1=None, - srcV2=None, tgtV2=None, UseExisting=0): - hyp = self.Hypothesis("ProjectionSource2D", [face,mesh,srcV1,tgtV1,srcV2,tgtV2], - UseExisting=0) - #UseExisting=UseExisting, CompareMethod=self.CompareSourceFace) - hyp.SetSourceFace( face ) - if not mesh is None and isinstance(mesh, Mesh): - mesh = mesh.GetMesh() - hyp.SetSourceMesh( mesh ) - hyp.SetVertexAssociation( srcV1, srcV2, tgtV1, tgtV2 ) - return hyp + ## For given element returns ID of result shape after + # FindShape() from SMESH_MeshEditor + # \n If there is not element for given ID - returns -1 + def GetShapeIDForElem(self,id): + return self.mesh.GetShapeIDForElem(id) - ## Check if the given "SourceFace" hypothesis has the same parameters as given arguments - #def CompareSourceFace(self, hyp, args): - # # seems to be not really useful to reuse existing "SourceFace" hypothesis - # return False + ## Returns number of nodes for given element + # \n If there is not element for given ID - returns -1 + def GetElemNbNodes(self, id): + return self.mesh.GetElemNbNodes(id) -# Public class: Mesh_Projection3D -# ------------------------------ + ## Returns ID of node by given index for given element + # \n If there is not element for given ID - returns -1 + # \n If there is not node for given index - returns -2 + def GetElemNode(self, id, index): + return self.mesh.GetElemNode(id, index) -## Class to define a projection 3D algorithm -# -# More details. -class Mesh_Projection3D(Mesh_Algorithm): - - ## Private constructor. - def __init__(self, mesh, geom=0): - Mesh_Algorithm.__init__(self) - self.Create(mesh, geom, "Projection_3D") + ## Returns IDs of nodes of given element + def GetElemNodes(self, id): + return self.mesh.GetElemNodes(id) - ## Define "Source Shape 3D" hypothesis, specifying a meshed solid to - # take a mesh pattern from, and optionally association of vertices - # between the source solid and a target one (where a hipothesis is assigned to) - # @param solid to take mesh pattern from - # @param mesh to take mesh pattern from (optional) - # @param srcV1 is vertex of \a solid to associate with \a tgtV1 (optional) - # @param tgtV1 is vertex of \a the solid where the algorithm is assigned, - # to associate with \a srcV1 (optional) - # @param srcV2 is vertex of \a solid to associate with \a tgtV1 (optional) - # @param tgtV2 is vertex of \a the solid where the algorithm is assigned, - # to associate with \a srcV2 (optional) - # @param UseExisting - if ==true - search existing hypothesis created with - # same parameters, else (default) - create new - # - # Note: association vertices must belong to one edge of a solid - def SourceShape3D(self, solid, mesh=0, srcV1=0, tgtV1=0, - srcV2=0, tgtV2=0, UseExisting=0): - hyp = self.Hypothesis("ProjectionSource3D", - [solid,mesh,srcV1,tgtV1,srcV2,tgtV2], - UseExisting=0) - #UseExisting=UseExisting, CompareMethod=self.CompareSourceShape3D) - hyp.SetSource3DShape( solid ) - if not mesh is None and isinstance(mesh, Mesh): - mesh = mesh.GetMesh() - hyp.SetSourceMesh( mesh ) - hyp.SetVertexAssociation( srcV1, srcV2, tgtV1, tgtV2 ) - return hyp + ## Returns true if given node is medium node + # in given quadratic element + def IsMediumNode(self, elementID, nodeID): + return self.mesh.IsMediumNode(elementID, nodeID) - ## Check if the given "SourceShape3D" hypothesis has the same parameters as given arguments - #def CompareSourceShape3D(self, hyp, args): - # # seems to be not really useful to reuse existing "SourceShape3D" hypothesis - # return False + ## Returns true if given node is medium node + # in one of quadratic elements + def IsMediumNodeOfAnyElem(self, nodeID, elementType): + return self.mesh.IsMediumNodeOfAnyElem(nodeID, elementType) + ## Returns number of edges for given element + def ElemNbEdges(self, id): + return self.mesh.ElemNbEdges(id) -# Public class: Mesh_Prism -# ------------------------ + ## Returns number of faces for given element + def ElemNbFaces(self, id): + return self.mesh.ElemNbFaces(id) -## Class to define a 3D extrusion algorithm -# -# More details. -class Mesh_Prism3D(Mesh_Algorithm): + ## Returns true if given element is polygon + def IsPoly(self, id): + return self.mesh.IsPoly(id) - ## Private constructor. - def __init__(self, mesh, geom=0): - Mesh_Algorithm.__init__(self) - self.Create(mesh, geom, "Prism_3D") + ## Returns true if given element is quadratic + def IsQuadratic(self, id): + return self.mesh.IsQuadratic(id) -# Public class: Mesh_RadialPrism -# ------------------------------- + ## Returns XYZ coordinates of bary center for given element + # as list of double + # \n If there is not element for given ID - returns empty list + def BaryCenter(self, id): + return self.mesh.BaryCenter(id) -## Class to define a Radial Prism 3D algorithm -# -# More details. -class Mesh_RadialPrism3D(Mesh_Algorithm): - ## Private constructor. - def __init__(self, mesh, geom=0): - Mesh_Algorithm.__init__(self) - self.Create(mesh, geom, "RadialPrism_3D") + # Mesh edition (SMESH_MeshEditor functionality): + # --------------------------------------------- - self.distribHyp = self.Hypothesis("LayerDistribution", UseExisting=0) - self.nbLayers = None + ## Removes elements from mesh by ids + # @param IDsOfElements is list of ids of elements to remove + def RemoveElements(self, IDsOfElements): + return self.editor.RemoveElements(IDsOfElements) - ## Return 3D hypothesis holding the 1D one - def Get3DHypothesis(self): - return self.distribHyp + ## Removes nodes from mesh by ids + # @param IDsOfNodes is list of ids of nodes to remove + def RemoveNodes(self, IDsOfNodes): + return self.editor.RemoveNodes(IDsOfNodes) - ## Private method creating 1D hypothes and storing it in the LayerDistribution - # hypothes. Returns the created hypothes - def OwnHypothesis(self, hypType, args=[], so="libStdMeshersEngine.so"): - #print "OwnHypothesis",hypType - if not self.nbLayers is None: - self.mesh.GetMesh().RemoveHypothesis( self.geom, self.nbLayers ) - self.mesh.GetMesh().AddHypothesis( self.geom, self.distribHyp ) - study = self.mesh.smeshpyD.GetCurrentStudy() # prevent publishing of own 1D hypothesis - hyp = self.mesh.smeshpyD.CreateHypothesis(hypType, so) - self.mesh.smeshpyD.SetCurrentStudy( study ) # anable publishing - self.distribHyp.SetLayerDistribution( hyp ) - return hyp + ## Add node to mesh by coordinates + def AddNode(self, x, y, z): + return self.editor.AddNode( x, y, z) - ## Define "NumberOfLayers" hypothesis, specifying a number of layers of - # prisms to build between the inner and outer shells - # @param UseExisting if ==true - search existing hypothesis created with - # same parameters, else (default) - create new - def NumberOfLayers(self, n, UseExisting=0): - self.mesh.GetMesh().RemoveHypothesis( self.geom, self.distribHyp ) - self.nbLayers = self.Hypothesis("NumberOfLayers", [n], UseExisting=UseExisting, - CompareMethod=self.CompareNumberOfLayers) - self.nbLayers.SetNumberOfLayers( n ) - return self.nbLayers - ## Check if the given "NumberOfLayers" hypothesis has the same parameters as given arguments - def CompareNumberOfLayers(self, hyp, args): - return IsEqual(hyp.GetNumberOfLayers(), args[0]) + ## Create edge both similar and quadratic (this is determed + # by number of given nodes). + # @param IdsOfNodes List of node IDs for creation of element. + # Needed order of nodes in this list corresponds to description + # of MED. \n This description is located by the following link: + # http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3. + def AddEdge(self, IDsOfNodes): + return self.editor.AddEdge(IDsOfNodes) - ## Define "LocalLength" hypothesis, specifying segment length - # to build between the inner and outer shells - # @param l for the length of segments - # @param p for the precision of rounding - def LocalLength(self, l, p=1e-07): - hyp = self.OwnHypothesis("LocalLength", [l,p]) - hyp.SetLength(l) - hyp.SetPrecision(p) - return hyp + ## Create face both similar and quadratic (this is determed + # by number of given nodes). + # @param IdsOfNodes List of node IDs for creation of element. + # Needed order of nodes in this list corresponds to description + # of MED. \n This description is located by the following link: + # http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3. + def AddFace(self, IDsOfNodes): + return self.editor.AddFace(IDsOfNodes) - ## Define "NumberOfSegments" hypothesis, specifying a number of layers of - # prisms to build between the inner and outer shells - # @param n for the number of segments - # @param s for the scale factor (optional) - def NumberOfSegments(self, n, s=[]): - if s == []: - hyp = self.OwnHypothesis("NumberOfSegments", [n]) - else: - hyp = self.OwnHypothesis("NumberOfSegments", [n,s]) - hyp.SetDistrType( 1 ) - hyp.SetScaleFactor(s) - hyp.SetNumberOfSegments(n) - return hyp + ## Add polygonal face to mesh by list of nodes ids + def AddPolygonalFace(self, IdsOfNodes): + return self.editor.AddPolygonalFace(IdsOfNodes) - ## Define "Arithmetic1D" hypothesis, specifying distribution of segments - # to build between the inner and outer shells as arithmetic length increasing - # @param start for the length of the first segment - # @param end for the length of the last segment - def Arithmetic1D(self, start, end ): - hyp = self.OwnHypothesis("Arithmetic1D", [start, end]) - hyp.SetLength(start, 1) - hyp.SetLength(end , 0) - return hyp + ## Create volume both similar and quadratic (this is determed + # by number of given nodes). + # @param IdsOfNodes List of node IDs for creation of element. + # Needed order of nodes in this list corresponds to description + # of MED. \n This description is located by the following link: + # http://www.salome-platform.org/salome2/web_med_internet/logiciels/medV2.2.2_doc_html/html/modele_de_donnees.html#3. + def AddVolume(self, IDsOfNodes): + return self.editor.AddVolume(IDsOfNodes) - ## Define "StartEndLength" hypothesis, specifying distribution of segments - # to build between the inner and outer shells as geometric length increasing - # @param start for the length of the first segment - # @param end for the length of the last segment - def StartEndLength(self, start, end): - hyp = self.OwnHypothesis("StartEndLength", [start, end]) - hyp.SetLength(start, 1) - hyp.SetLength(end , 0) - return hyp + ## Create volume of many faces, giving nodes for each face. + # @param IdsOfNodes List of node IDs for volume creation face by face. + # @param Quantities List of integer values, Quantities[i] + # gives quantity of nodes in face number i. + def AddPolyhedralVolume (self, IdsOfNodes, Quantities): + return self.editor.AddPolyhedralVolume(IdsOfNodes, Quantities) - ## Define "AutomaticLength" hypothesis, specifying number of segments - # to build between the inner and outer shells - # @param fineness for the fineness [0-1] - def AutomaticLength(self, fineness=0): - hyp = self.OwnHypothesis("AutomaticLength") - hyp.SetFineness( fineness ) - return hyp + ## Create volume of many faces, giving IDs of existing faces. + # @param IdsOfFaces List of face IDs for volume creation. + # + # Note: The created volume will refer only to nodes + # of the given faces, not to the faces itself. + def AddPolyhedralVolumeByFaces (self, IdsOfFaces): + return self.editor.AddPolyhedralVolumeByFaces(IdsOfFaces) -# Private class: Mesh_UseExisting -# ------------------------------- -class Mesh_UseExisting(Mesh_Algorithm): - def __init__(self, dim, mesh, geom=0): - if dim == 1: - self.Create(mesh, geom, "UseExisting_1D") + ## @brief Bind a node to a vertex + # @param NodeID - node ID + # @param Vertex - vertex or vertex ID + # @return True if succeed else raise an exception + def SetNodeOnVertex(self, NodeID, Vertex): + if ( isinstance( Vertex, geompyDC.GEOM._objref_GEOM_Object)): + VertexID = Vertex.GetSubShapeIndices()[0] else: - self.Create(mesh, geom, "UseExisting_2D") - -# Public class: Mesh -# ================== - -## Class to define a mesh -# -# The class contains mesh shape, SMESH_Mesh, SMESH_MeshEditor -# More details. -class Mesh: + VertexID = Vertex + try: + self.editor.SetNodeOnVertex(NodeID, VertexID) + except SALOME.SALOME_Exception, inst: + raise ValueError, inst.details.text + return True - geom = 0 - mesh = 0 - editor = 0 - ## Constructor - # - # Creates mesh on the shape \a geom(or the empty mesh if geom equal to 0), - # sets GUI name of this mesh to \a name. - # @param obj Shape to be meshed or SMESH_Mesh object - # @param name Study name of the mesh - def __init__(self, smeshpyD, geompyD, obj=0, name=0): - self.smeshpyD=smeshpyD - self.geompyD=geompyD - if obj is None: - obj = 0 - if obj != 0: - if isinstance(obj, geompyDC.GEOM._objref_GEOM_Object): - self.geom = obj - self.mesh = self.smeshpyD.CreateMesh(self.geom) - elif isinstance(obj, SMESH._objref_SMESH_Mesh): - self.SetMesh(obj) + ## @brief Store node position on an edge + # @param NodeID - node ID + # @param Edge - edge or edge ID + # @param paramOnEdge - parameter on edge where the node is located + # @return True if succeed else raise an exception + def SetNodeOnEdge(self, NodeID, Edge, paramOnEdge): + if ( isinstance( Edge, geompyDC.GEOM._objref_GEOM_Object)): + EdgeID = Edge.GetSubShapeIndices()[0] else: - self.mesh = self.smeshpyD.CreateEmptyMesh() - if name != 0: - SetName(self.mesh, name) - elif obj != 0: - SetName(self.mesh, GetName(obj)) - - self.editor = self.mesh.GetMeshEditor() + EdgeID = Edge + try: + self.editor.SetNodeOnEdge(NodeID, EdgeID, paramOnEdge) + except SALOME.SALOME_Exception, inst: + raise ValueError, inst.details.text + return True - ## Method that inits the Mesh object from SMESH_Mesh interface - # @param theMesh is SMESH_Mesh object - def SetMesh(self, theMesh): - self.mesh = theMesh - self.geom = self.mesh.GetShapeToMesh() + ## @brief Store node position on a face + # @param NodeID - node ID + # @param Face - face or face ID + # @param u - U parameter on face where the node is located + # @param v - V parameter on face where the node is located + # @return True if succeed else raise an exception + def SetNodeOnFace(self, NodeID, Face, u, v): + if ( isinstance( Face, geompyDC.GEOM._objref_GEOM_Object)): + FaceID = Face.GetSubShapeIndices()[0] + else: + FaceID = Face + try: + self.editor.SetNodeOnFace(NodeID, FaceID, u, v) + except SALOME.SALOME_Exception, inst: + raise ValueError, inst.details.text + return True - ## Method that returns the mesh - # @return SMESH_Mesh object - def GetMesh(self): - return self.mesh + ## @brief Bind a node to a solid + # @param NodeID - node ID + # @param Solid - solid or solid ID + # @return True if succeed else raise an exception + def SetNodeInVolume(self, NodeID, Solid): + if ( isinstance( Solid, geompyDC.GEOM._objref_GEOM_Object)): + SolidID = Solid.GetSubShapeIndices()[0] + else: + SolidID = Solid + try: + self.editor.SetNodeInVolume(NodeID, SolidID) + except SALOME.SALOME_Exception, inst: + raise ValueError, inst.details.text + return True - ## Get mesh name - def GetName(self): - name = GetName(self.GetMesh()) - return name + ## @brief Bind an element to a shape + # @param ElementID - element ID + # @param Shape - shape or shape ID + # @return True if succeed else raise an exception + def SetMeshElementOnShape(self, ElementID, Shape): + if ( isinstance( Shape, geompyDC.GEOM._objref_GEOM_Object)): + ShapeID = Shape.GetSubShapeIndices()[0] + else: + ShapeID = Shape + try: + self.editor.SetMeshElementOnShape(ElementID, ShapeID) + except SALOME.SALOME_Exception, inst: + raise ValueError, inst.details.text + return True - ## Set name to mesh - def SetName(self, name): - SetName(self.GetMesh(), name) - ## Get the subMesh object associated to a subShape. The subMesh object - # gives access to nodes and elements IDs. - # \n SubMesh will be used instead of SubShape in a next idl version to - # adress a specific subMesh... - def GetSubMesh(self, theSubObject, name): - submesh = self.mesh.GetSubMesh(theSubObject, name) - return submesh + ## Move node with given id + # @param NodeID id of the node + # @param x new X coordinate + # @param y new Y coordinate + # @param z new Z coordinate + def MoveNode(self, NodeID, x, y, z): + return self.editor.MoveNode(NodeID, x, y, z) - ## Method that returns the shape associated to the mesh - # @return GEOM_Object - def GetShape(self): - return self.geom + ## Find a node closest to a point + # @param x X coordinate of a point + # @param y Y coordinate of a point + # @param z Z coordinate of a point + # @return id of a node + def FindNodeClosestTo(self, x, y, z): + preview = self.mesh.GetMeshEditPreviewer() + return preview.MoveClosestNodeToPoint(x, y, z, -1) - ## Method that associates given shape to the mesh(entails the mesh recreation) - # @param geom shape to be meshed(GEOM_Object) - def SetShape(self, geom): - self.mesh = self.smeshpyD.CreateMesh(geom) + ## Find a node closest to a point and move it to a point location + # @param x X coordinate of a point + # @param y Y coordinate of a point + # @param z Z coordinate of a point + # @return id of a moved node + def MeshToPassThroughAPoint(self, x, y, z): + return self.editor.MoveClosestNodeToPoint(x, y, z, -1) - ## Return true if hypotheses are defined well - # @param theMesh is an instance of Mesh class - # @param theSubObject subshape of a mesh shape - def IsReadyToCompute(self, theSubObject): - return self.smeshpyD.IsReadyToCompute(self.mesh, theSubObject) + ## Replace two neighbour triangles sharing Node1-Node2 link + # with ones built on the same 4 nodes but having other common link. + # @param NodeID1 first node id + # @param NodeID2 second node id + # @return false if proper faces not found + def InverseDiag(self, NodeID1, NodeID2): + return self.editor.InverseDiag(NodeID1, NodeID2) - ## Return errors of hypotheses definintion - # error list is empty if everything is OK - # @param theMesh is an instance of Mesh class - # @param theSubObject subshape of a mesh shape - # @return a list of errors - def GetAlgoState(self, theSubObject): - return self.smeshpyD.GetAlgoState(self.mesh, theSubObject) + ## Replace two neighbour triangles sharing Node1-Node2 link + # with a quadrangle built on the same 4 nodes. + # @param NodeID1 first node id + # @param NodeID2 second node id + # @return false if proper faces not found + def DeleteDiag(self, NodeID1, NodeID2): + return self.editor.DeleteDiag(NodeID1, NodeID2) - ## Return geometrical object the given element is built on. - # The returned geometrical object, if not nil, is either found in the - # study or is published by this method with the given name - # @param theMesh is an instance of Mesh class - # @param theElementID an id of the mesh element - # @param theGeomName user defined name of geometrical object - # @return GEOM::GEOM_Object instance - def GetGeometryByMeshElement(self, theElementID, theGeomName): - return self.smeshpyD.GetGeometryByMeshElement( self.mesh, theElementID, theGeomName ) + ## Reorient elements by ids + # @param IDsOfElements if undefined reorient all mesh elements + def Reorient(self, IDsOfElements=None): + if IDsOfElements == None: + IDsOfElements = self.GetElementsId() + return self.editor.Reorient(IDsOfElements) - ## Returns mesh dimension depending on shape one - def MeshDimension(self): - shells = self.geompyD.SubShapeAllIDs( self.geom, geompyDC.ShapeType["SHELL"] ) - if len( shells ) > 0 : - return 3 - elif self.geompyD.NumberOfFaces( self.geom ) > 0 : - return 2 - elif self.geompyD.NumberOfEdges( self.geom ) > 0 : - return 1 - else: - return 0; - pass + ## Reorient all elements of the object + # @param theObject is mesh, submesh or group + def ReorientObject(self, theObject): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + return self.editor.ReorientObject(theObject) - ## Creates a segment discretization 1D algorithm. - # If the optional \a algo parameter is not sets, this algorithm is REGULAR. - # If the optional \a geom parameter is not sets, this algorithm is global. - # \n Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param algo values are smesh.REGULAR or smesh.PYTHON for discretization via python function - # @param geom If defined, subshape to be meshed - def Segment(self, algo=REGULAR, geom=0): - ## if Segment(geom) is called by mistake - if isinstance( algo, geompyDC.GEOM._objref_GEOM_Object): - algo, geom = geom, algo - if not algo: algo = REGULAR - pass - if algo == REGULAR: - return Mesh_Segment(self, geom) - elif algo == PYTHON: - return Mesh_Segment_Python(self, geom) - elif algo == COMPOSITE: - return Mesh_CompositeSegment(self, geom) - else: - return Mesh_Segment(self, geom) + ## Fuse neighbour triangles into quadrangles. + # @param IDsOfElements The triangles to be fused, + # @param theCriterion is FT_...; used to choose a neighbour to fuse with. + # @param MaxAngle is a max angle between element normals at which fusion + # is still performed; theMaxAngle is mesured in radians. + # @return TRUE in case of success, FALSE otherwise. + def TriToQuad(self, IDsOfElements, theCriterion, MaxAngle): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + return self.editor.TriToQuad(IDsOfElements, self.smeshpyD.GetFunctor(theCriterion), MaxAngle) - ## Enable creation of nodes and segments usable by 2D algoritms. - # Added nodes and segments must be bound to edges and vertices by - # SetNodeOnVertex(), SetNodeOnEdge() and SetMeshElementOnShape() - # If the optional \a geom parameter is not sets, this algorithm is global. - # \n Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param geom subshape to be manually meshed - # @return StdMeshers_UseExisting_1D algorithm that generates nothing - def UseExistingSegments(self, geom=0): - algo = Mesh_UseExisting(1,self,geom) - return algo.GetAlgorithm() + ## Fuse neighbour triangles of the object into quadrangles + # @param theObject is mesh, submesh or group + # @param theCriterion is FT_...; used to choose a neighbour to fuse with. + # @param MaxAngle is a max angle between element normals at which fusion + # is still performed; theMaxAngle is mesured in radians. + # @return TRUE in case of success, FALSE otherwise. + def TriToQuadObject (self, theObject, theCriterion, MaxAngle): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + return self.editor.TriToQuadObject(theObject, self.smeshpyD.GetFunctor(theCriterion), MaxAngle) - ## Enable creation of nodes and faces usable by 3D algoritms. - # Added nodes and faces must be bound to geom faces by SetNodeOnFace() - # and SetMeshElementOnShape() - # If the optional \a geom parameter is not sets, this algorithm is global. - # \n Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param geom subshape to be manually meshed - # @return StdMeshers_UseExisting_2D algorithm that generates nothing - def UseExistingFaces(self, geom=0): - algo = Mesh_UseExisting(2,self,geom) - return algo.GetAlgorithm() + ## Split quadrangles into triangles. + # @param IDsOfElements the faces to be splitted. + # @param theCriterion is FT_...; used to choose a diagonal for splitting. + # @return TRUE in case of success, FALSE otherwise. + def QuadToTri (self, IDsOfElements, theCriterion): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + return self.editor.QuadToTri(IDsOfElements, self.smeshpyD.GetFunctor(theCriterion)) - ## Creates a triangle 2D algorithm for faces. - # If the optional \a geom parameter is not sets, this algorithm is global. - # \n Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param algo values are: smesh.MEFISTO || smesh.NETGEN_1D2D || smesh.NETGEN_2D - # @param geom If defined, subshape to be meshed - def Triangle(self, algo=MEFISTO, geom=0): - ## if Triangle(geom) is called by mistake - if ( isinstance( algo, geompyDC.GEOM._objref_GEOM_Object)): - geom = algo - algo = MEFISTO - - return Mesh_Triangle(self, algo, geom) + ## Split quadrangles into triangles. + # @param theObject object to taking list of elements from, is mesh, submesh or group + # @param theCriterion is FT_...; used to choose a diagonal for splitting. + def QuadToTriObject (self, theObject, theCriterion): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + return self.editor.QuadToTriObject(theObject, self.smeshpyD.GetFunctor(theCriterion)) - ## Creates a quadrangle 2D algorithm for faces. - # If the optional \a geom parameter is not sets, this algorithm is global. - # \n Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param geom If defined, subshape to be meshed - def Quadrangle(self, geom=0): - return Mesh_Quadrangle(self, geom) + ## Split quadrangles into triangles. + # @param theElems The faces to be splitted + # @param the13Diag is used to choose a diagonal for splitting. + # @return TRUE in case of success, FALSE otherwise. + def SplitQuad (self, IDsOfElements, Diag13): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + return self.editor.SplitQuad(IDsOfElements, Diag13) - ## Creates a tetrahedron 3D algorithm for solids. - # The parameter \a algo permits to choice the algorithm: NETGEN or GHS3D - # If the optional \a geom parameter is not sets, this algorithm is global. - # \n Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param algo values are: smesh.NETGEN, smesh.GHS3D, smesh.FULL_NETGEN - # @param geom If defined, subshape to be meshed - def Tetrahedron(self, algo=NETGEN, geom=0): - ## if Tetrahedron(geom) is called by mistake - if ( isinstance( algo, geompyDC.GEOM._objref_GEOM_Object)): - algo, geom = geom, algo - if not algo: algo = NETGEN - pass - return Mesh_Tetrahedron(self, algo, geom) + ## Split quadrangles into triangles. + # @param theObject is object to taking list of elements from, is mesh, submesh or group + def SplitQuadObject (self, theObject, Diag13): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + return self.editor.SplitQuadObject(theObject, Diag13) - ## Creates a hexahedron 3D algorithm for solids. - # If the optional \a geom parameter is not sets, this algorithm is global. - # \n Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param geom If defined, subshape to be meshed - ## def Hexahedron(self, geom=0): - ## return Mesh_Hexahedron(self, geom) - def Hexahedron(self, algo=Hexa, geom=0): - ## if Hexahedron(geom, algo) or Hexahedron(geom) is called by mistake - if ( isinstance(algo, geompyDC.GEOM._objref_GEOM_Object) ): - if geom in [Hexa, Hexotic]: algo, geom = geom, algo - elif geom == 0: algo, geom = Hexa, algo - return Mesh_Hexahedron(self, algo, geom) + ## Find better splitting of the given quadrangle. + # @param IDOfQuad ID of the quadrangle to be splitted. + # @param theCriterion is FT_...; a criterion to choose a diagonal for splitting. + # @return 1 if 1-3 diagonal is better, 2 if 2-4 + # diagonal is better, 0 if error occurs. + def BestSplit (self, IDOfQuad, theCriterion): + return self.editor.BestSplit(IDOfQuad, self.smeshpyD.GetFunctor(theCriterion)) - ## Deprecated, only for compatibility! - def Netgen(self, is3D, geom=0): - return Mesh_Netgen(self, is3D, geom) + ## Split quafrangle faces near triangular facets of volumes + # + def SplitQuadsNearTriangularFacets(self): + faces_array = self.GetElementsByType(SMESH.FACE) + for face_id in faces_array: + if self.GetElemNbNodes(face_id) == 4: # quadrangle + quad_nodes = self.mesh.GetElemNodes(face_id) + node1_elems = self.GetNodeInverseElements(quad_nodes[1 -1]) + isVolumeFound = False + for node1_elem in node1_elems: + if not isVolumeFound: + if self.GetElementType(node1_elem, True) == SMESH.VOLUME: + nb_nodes = self.GetElemNbNodes(node1_elem) + if 3 < nb_nodes and nb_nodes < 7: # tetra or penta, or prism + volume_elem = node1_elem + volume_nodes = self.mesh.GetElemNodes(volume_elem) + if volume_nodes.count(quad_nodes[2 -1]) > 0: # 1,2 + if volume_nodes.count(quad_nodes[4 -1]) > 0: # 1,2,4 + isVolumeFound = True + if volume_nodes.count(quad_nodes[3 -1]) == 0: # 1,2,4 & !3 + self.SplitQuad([face_id], False) # diagonal 2-4 + elif volume_nodes.count(quad_nodes[3 -1]) > 0: # 1,2,3 & !4 + isVolumeFound = True + self.SplitQuad([face_id], True) # diagonal 1-3 + elif volume_nodes.count(quad_nodes[4 -1]) > 0: # 1,4 & !2 + if volume_nodes.count(quad_nodes[3 -1]) > 0: # 1,4,3 & !2 + isVolumeFound = True + self.SplitQuad([face_id], True) # diagonal 1-3 - ## Creates a projection 1D algorithm for edges. - # If the optional \a geom parameter is not sets, this algorithm is global. - # Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param geom If defined, subshape to be meshed - def Projection1D(self, geom=0): - return Mesh_Projection1D(self, geom) + ## @brief Split hexahedrons into tetrahedrons. + # + # Use pattern mapping functionality for splitting. + # @param theObject object to take list of hexahedrons from; is mesh, submesh or group. + # @param theNode000,theNode001 is in range [0,7]; give an orientation of the + # pattern relatively each hexahedron: the (0,0,0) key-point of pattern + # will be mapped into -th node of each volume, the (0,0,1) + # key-point will be mapped into -th node of each volume. + # The (0,0,0) key-point of used pattern corresponds to not split corner. + # @return TRUE in case of success, FALSE otherwise. + def SplitHexaToTetras (self, theObject, theNode000, theNode001): + # Pattern: 5.---------.6 + # /|#* /| + # / | #* / | + # / | # * / | + # / | # /* | + # (0,0,1) 4.---------.7 * | + # |#* |1 | # *| + # | # *.----|---#.2 + # | #/ * | / + # | /# * | / + # | / # * | / + # |/ #*|/ + # (0,0,0) 0.---------.3 + pattern_tetra = "!!! Nb of points: \n 8 \n\ + !!! Points: \n\ + 0 0 0 !- 0 \n\ + 0 1 0 !- 1 \n\ + 1 1 0 !- 2 \n\ + 1 0 0 !- 3 \n\ + 0 0 1 !- 4 \n\ + 0 1 1 !- 5 \n\ + 1 1 1 !- 6 \n\ + 1 0 1 !- 7 \n\ + !!! Indices of points of 6 tetras: \n\ + 0 3 4 1 \n\ + 7 4 3 1 \n\ + 4 7 5 1 \n\ + 6 2 5 7 \n\ + 1 5 2 7 \n\ + 2 3 1 7 \n" - ## Creates a projection 2D algorithm for faces. - # If the optional \a geom parameter is not sets, this algorithm is global. - # Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param geom If defined, subshape to be meshed - def Projection2D(self, geom=0): - return Mesh_Projection2D(self, geom) + pattern = self.smeshpyD.GetPattern() + isDone = pattern.LoadFromFile(pattern_tetra) + if not isDone: + print 'Pattern.LoadFromFile :', pattern.GetErrorCode() + return isDone - ## Creates a projection 3D algorithm for solids. - # If the optional \a geom parameter is not sets, this algorithm is global. - # Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param geom If defined, subshape to be meshed - def Projection3D(self, geom=0): - return Mesh_Projection3D(self, geom) + pattern.ApplyToHexahedrons(self.mesh, theObject.GetIDs(), theNode000, theNode001) + isDone = pattern.MakeMesh(self.mesh, False, False) + if not isDone: print 'Pattern.MakeMesh :', pattern.GetErrorCode() - ## Creates a 3D extrusion (Prism 3D) or RadialPrism 3D algorithm for solids. - # If the optional \a geom parameter is not sets, this algorithm is global. - # Otherwise, this algorithm define a submesh based on \a geom subshape. - # @param geom If defined, subshape to be meshed - def Prism(self, geom=0): - shape = geom - if shape==0: - shape = self.geom - nbSolids = len( self.geompyD.SubShapeAll( shape, geompyDC.ShapeType["SOLID"] )) - nbShells = len( self.geompyD.SubShapeAll( shape, geompyDC.ShapeType["SHELL"] )) - if nbSolids == 0 or nbSolids == nbShells: - return Mesh_Prism3D(self, geom) - return Mesh_RadialPrism3D(self, geom) + # split quafrangle faces near triangular facets of volumes + self.SplitQuadsNearTriangularFacets() - ## Compute the mesh and return the status of the computation - def Compute(self, geom=0): - if geom == 0 or not isinstance(geom, geompyDC.GEOM._objref_GEOM_Object): - if self.geom == 0: - print "Compute impossible: mesh is not constructed on geom shape." - return 0 - else: - geom = self.geom - ok = False - try: - ok = self.smeshpyD.Compute(self.mesh, geom) - except SALOME.SALOME_Exception, ex: - print "Mesh computation failed, exception caught:" - print " ", ex.details.text - except: - import traceback - print "Mesh computation failed, exception caught:" - traceback.print_exc() - if not ok: - errors = self.smeshpyD.GetAlgoState( self.mesh, geom ) - allReasons = "" - for err in errors: - if err.isGlobalAlgo: - glob = "global" - else: - glob = "local" - pass - dim = err.algoDim - name = err.algoName - if len(name) == 0: - reason = '%s %sD algorithm is missing' % (glob, dim) - elif err.state == HYP_MISSING: - reason = ('%s %sD algorithm "%s" misses %sD hypothesis' - % (glob, dim, name, dim)) - elif err.state == HYP_NOTCONFORM: - reason = 'Global "Not Conform mesh allowed" hypothesis is missing' - elif err.state == HYP_BAD_PARAMETER: - reason = ('Hypothesis of %s %sD algorithm "%s" has a bad parameter value' - % ( glob, dim, name )) - elif err.state == HYP_BAD_GEOMETRY: - reason = ('%s %sD algorithm "%s" is assigned to geometry mismatching' - 'its expectation' % ( glob, dim, name )) - else: - reason = "For unknown reason."+\ - " Revise Mesh.Compute() implementation in smeshDC.py!" - pass - if allReasons != "": - allReasons += "\n" - pass - allReasons += reason - pass - if allReasons != "": - print '"' + GetName(self.mesh) + '"',"has not been computed:" - print allReasons - else: - print '"' + GetName(self.mesh) + '"',"has not been computed." - pass - pass - if salome.sg.hasDesktop(): - smeshgui = salome.ImportComponentGUI("SMESH") - smeshgui.Init(salome.myStudyId) - smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (self.NbNodes()==0) ) - salome.sg.updateObjBrowser(1) - pass - return ok + return isDone - ## Compute tetrahedral mesh using AutomaticLength + MEFISTO + NETGEN - # The parameter \a fineness [0,-1] defines mesh fineness - def AutomaticTetrahedralization(self, fineness=0): - dim = self.MeshDimension() - # assign hypotheses - self.RemoveGlobalHypotheses() - self.Segment().AutomaticLength(fineness) - if dim > 1 : - self.Triangle().LengthFromEdges() - pass - if dim > 2 : - self.Tetrahedron(NETGEN) - pass - return self.Compute() + ## @brief Split hexahedrons into prisms. + # + # Use pattern mapping functionality for splitting. + # @param theObject object to take list of hexahedrons from; is mesh, submesh or group. + # @param theNode000,theNode001 is in range [0,7]; give an orientation of the + # pattern relatively each hexahedron: the (0,0,0) key-point of pattern + # will be mapped into -th node of each volume, the (0,0,1) + # key-point will be mapped into -th node of each volume. + # The edge (0,0,0)-(0,0,1) of used pattern connects two not split corners. + # @return TRUE in case of success, FALSE otherwise. + def SplitHexaToPrisms (self, theObject, theNode000, theNode001): + # Pattern: 5.---------.6 + # /|# /| + # / | # / | + # / | # / | + # / | # / | + # (0,0,1) 4.---------.7 | + # | | | | + # | 1.----|----.2 + # | / * | / + # | / * | / + # | / * | / + # |/ *|/ + # (0,0,0) 0.---------.3 + pattern_prism = "!!! Nb of points: \n 8 \n\ + !!! Points: \n\ + 0 0 0 !- 0 \n\ + 0 1 0 !- 1 \n\ + 1 1 0 !- 2 \n\ + 1 0 0 !- 3 \n\ + 0 0 1 !- 4 \n\ + 0 1 1 !- 5 \n\ + 1 1 1 !- 6 \n\ + 1 0 1 !- 7 \n\ + !!! Indices of points of 2 prisms: \n\ + 0 1 3 4 5 7 \n\ + 2 3 1 6 7 5 \n" - ## Compute hexahedral mesh using AutomaticLength + Quadrangle + Hexahedron - # The parameter \a fineness [0,-1] defines mesh fineness - def AutomaticHexahedralization(self, fineness=0): - dim = self.MeshDimension() - # assign hypotheses - self.RemoveGlobalHypotheses() - self.Segment().AutomaticLength(fineness) - if dim > 1 : - self.Quadrangle() - pass - if dim > 2 : - self.Hexahedron() - pass - return self.Compute() + pattern = self.smeshpyD.GetPattern() + isDone = pattern.LoadFromFile(pattern_prism) + if not isDone: + print 'Pattern.LoadFromFile :', pattern.GetErrorCode() + return isDone - ## Assign hypothesis - # @param hyp is a hypothesis to assign - # @param geom is subhape of mesh geometry - def AddHypothesis(self, hyp, geom=0): - if isinstance( hyp, Mesh_Algorithm ): - hyp = hyp.GetAlgorithm() - pass - if not geom: - geom = self.geom - pass - status = self.mesh.AddHypothesis(geom, hyp) - isAlgo = hyp._narrow( SMESH_Algo ) - TreatHypoStatus( status, GetName( hyp ), GetName( geom ), isAlgo ) - return status + pattern.ApplyToHexahedrons(self.mesh, theObject.GetIDs(), theNode000, theNode001) + isDone = pattern.MakeMesh(self.mesh, False, False) + if not isDone: print 'Pattern.MakeMesh :', pattern.GetErrorCode() - ## Unassign hypothesis - # @param hyp is a hypothesis to unassign - # @param geom is subhape of mesh geometry - def RemoveHypothesis(self, hyp, geom=0): - if isinstance( hyp, Mesh_Algorithm ): - hyp = hyp.GetAlgorithm() - pass - if not geom: - geom = self.geom - pass - status = self.mesh.RemoveHypothesis(geom, hyp) - return status + # split quafrangle faces near triangular facets of volumes + self.SplitQuadsNearTriangularFacets() - ## Get the list of hypothesis added on a geom - # @param geom is subhape of mesh geometry - def GetHypothesisList(self, geom): - return self.mesh.GetHypothesisList( geom ) + return isDone - ## Removes all global hypotheses - def RemoveGlobalHypotheses(self): - current_hyps = self.mesh.GetHypothesisList( self.geom ) - for hyp in current_hyps: - self.mesh.RemoveHypothesis( self.geom, hyp ) - pass - pass + ## Smooth elements + # @param IDsOfElements list if ids of elements to smooth + # @param IDsOfFixedNodes list of ids of fixed nodes. + # Note that nodes built on edges and boundary nodes are always fixed. + # @param MaxNbOfIterations maximum number of iterations + # @param MaxAspectRatio varies in range [1.0, inf] + # @param Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) + def Smooth(self, IDsOfElements, IDsOfFixedNodes, + MaxNbOfIterations, MaxAspectRatio, Method): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + return self.editor.Smooth(IDsOfElements, IDsOfFixedNodes, + MaxNbOfIterations, MaxAspectRatio, Method) - ## Create a mesh group based on geometric object \a grp - # and give a \a name, \n if this parameter is not defined - # the name is the same as the geometric group name \n - # Note: Works like GroupOnGeom(). - # @param grp is a geometric group, a vertex, an edge, a face or a solid - # @param name is the name of the mesh group - # @return SMESH_GroupOnGeom - def Group(self, grp, name=""): - return self.GroupOnGeom(grp, name) + ## Smooth elements belong to given object + # @param theObject object to smooth + # @param IDsOfFixedNodes list of ids of fixed nodes. + # Note that nodes built on edges and boundary nodes are always fixed. + # @param MaxNbOfIterations maximum number of iterations + # @param MaxAspectRatio varies in range [1.0, inf] + # @param Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) + def SmoothObject(self, theObject, IDsOfFixedNodes, + MaxNbOfIterations, MaxxAspectRatio, Method): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + return self.editor.SmoothObject(theObject, IDsOfFixedNodes, + MaxNbOfIterations, MaxxAspectRatio, Method) - ## Deprecated, only for compatibility! Please, use ExportMED() method instead. - # Export the mesh in a file with the MED format and choice the \a version of MED format - # @param f is the file name - # @param version values are SMESH.MED_V2_1, SMESH.MED_V2_2 - def ExportToMED(self, f, version, opt=0): - self.mesh.ExportToMED(f, opt, version) + ## Parametric smooth the given elements + # @param IDsOfElements list if ids of elements to smooth + # @param IDsOfFixedNodes list of ids of fixed nodes. + # Note that nodes built on edges and boundary nodes are always fixed. + # @param MaxNbOfIterations maximum number of iterations + # @param MaxAspectRatio varies in range [1.0, inf] + # @param Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) + def SmoothParametric(self, IDsOfElements, IDsOfFixedNodes, + MaxNbOfIterations, MaxAspectRatio, Method): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + return self.editor.SmoothParametric(IDsOfElements, IDsOfFixedNodes, + MaxNbOfIterations, MaxAspectRatio, Method) - ## Export the mesh in a file with the MED format - # @param f is the file name - # @param auto_groups boolean parameter for creating/not creating - # the groups Group_On_All_Nodes, Group_On_All_Faces, ... ; - # the typical use is auto_groups=false. - # @param version MED format version(MED_V2_1 or MED_V2_2) - def ExportMED(self, f, auto_groups=0, version=MED_V2_2): - self.mesh.ExportToMED(f, auto_groups, version) + ## Parametric smooth elements belong to given object + # @param theObject object to smooth + # @param IDsOfFixedNodes list of ids of fixed nodes. + # Note that nodes built on edges and boundary nodes are always fixed. + # @param MaxNbOfIterations maximum number of iterations + # @param MaxAspectRatio varies in range [1.0, inf] + # @param Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) + def SmoothParametricObject(self, theObject, IDsOfFixedNodes, + MaxNbOfIterations, MaxAspectRatio, Method): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + return self.editor.SmoothParametricObject(theObject, IDsOfFixedNodes, + MaxNbOfIterations, MaxAspectRatio, Method) - ## Export the mesh in a file with the DAT format - # @param f is the file name - def ExportDAT(self, f): - self.mesh.ExportDAT(f) + ## Converts all mesh to quadratic one, deletes old elements, replacing + # them with quadratic ones with the same id. + def ConvertToQuadratic(self, theForce3d): + self.editor.ConvertToQuadratic(theForce3d) - ## Export the mesh in a file with the UNV format - # @param f is the file name - def ExportUNV(self, f): - self.mesh.ExportUNV(f) + ## Converts all mesh from quadratic to ordinary ones, + # deletes old quadratic elements, \n replacing + # them with ordinary mesh elements with the same id. + def ConvertFromQuadratic(self): + return self.editor.ConvertFromQuadratic() - ## Export the mesh in a file with the STL format - # @param f is the file name - # @param ascii defined the kind of file contents - def ExportSTL(self, f, ascii=1): - self.mesh.ExportSTL(f, ascii) + ## Renumber mesh nodes + def RenumberNodes(self): + self.editor.RenumberNodes() + ## Renumber mesh elements + def RenumberElements(self): + self.editor.RenumberElements() - # Operations with groups: - # ---------------------- + ## Generate new elements by rotation of the elements around the axis + # @param IDsOfElements list of ids of elements to sweep + # @param Axix axis of rotation, AxisStruct or line(geom object) + # @param AngleInRadians angle of Rotation + # @param NbOfSteps number of steps + # @param Tolerance tolerance + # @param MakeGroups to generate new groups from existing ones + def RotationSweep(self, IDsOfElements, Axix, AngleInRadians, NbOfSteps, Tolerance, MakeGroups=False): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + if ( isinstance( Axix, geompyDC.GEOM._objref_GEOM_Object)): + Axix = self.smeshpyD.GetAxisStruct(Axix) + if MakeGroups: + return self.editor.RotationSweepMakeGroups(IDsOfElements, Axix, + AngleInRadians, NbOfSteps, Tolerance) + self.editor.RotationSweep(IDsOfElements, Axix, AngleInRadians, NbOfSteps, Tolerance) + return [] - ## Creates an empty mesh group - # @param elementType is the type of elements in the group - # @param name is the name of the mesh group - # @return SMESH_Group - def CreateEmptyGroup(self, elementType, name): - return self.mesh.CreateGroup(elementType, name) + ## Generate new elements by rotation of the elements of object around the axis + # @param theObject object wich elements should be sweeped + # @param Axix axis of rotation, AxisStruct or line(geom object) + # @param AngleInRadians angle of Rotation + # @param NbOfSteps number of steps + # @param Tolerance tolerance + # @param MakeGroups to generate new groups from existing ones + def RotationSweepObject(self, theObject, Axix, AngleInRadians, NbOfSteps, Tolerance, MakeGroups=False): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + if ( isinstance( Axix, geompyDC.GEOM._objref_GEOM_Object)): + Axix = self.smeshpyD.GetAxisStruct(Axix) + if MakeGroups: + return self.editor.RotationSweepObjectMakeGroups(theObject, Axix, AngleInRadians, + NbOfSteps, Tolerance) + self.editor.RotationSweepObject(theObject, Axix, AngleInRadians, NbOfSteps, Tolerance) + return [] - ## Creates a mesh group based on geometric object \a grp - # and give a \a name, \n if this parameter is not defined - # the name is the same as the geometric group name - # @param grp is a geometric group, a vertex, an edge, a face or a solid - # @param name is the name of the mesh group - # @return SMESH_GroupOnGeom - def GroupOnGeom(self, grp, name="", typ=None): - if name == "": - name = grp.GetName() + ## Generate new elements by extrusion of the elements with given ids + # @param IDsOfElements list of elements ids for extrusion + # @param StepVector vector, defining the direction and value of extrusion + # @param NbOfSteps the number of steps + # @param MakeGroups to generate new groups from existing ones + def ExtrusionSweep(self, IDsOfElements, StepVector, NbOfSteps, MakeGroups=False): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + if ( isinstance( StepVector, geompyDC.GEOM._objref_GEOM_Object)): + StepVector = self.smeshpyD.GetDirStruct(StepVector) + if MakeGroups: + return self.editor.ExtrusionSweepMakeGroups(IDsOfElements, StepVector, NbOfSteps) + self.editor.ExtrusionSweep(IDsOfElements, StepVector, NbOfSteps) + return [] - if typ == None: - tgeo = str(grp.GetShapeType()) - if tgeo == "VERTEX": - typ = NODE - elif tgeo == "EDGE": - typ = EDGE - elif tgeo == "FACE": - typ = FACE - elif tgeo == "SOLID": - typ = VOLUME - elif tgeo == "SHELL": - typ = VOLUME - elif tgeo == "COMPOUND": - if len( self.geompyD.GetObjectIDs( grp )) == 0: - print "Mesh.Group: empty geometric group", GetName( grp ) - return 0 - tgeo = self.geompyD.GetType(grp) - if tgeo == geompyDC.ShapeType["VERTEX"]: - typ = NODE - elif tgeo == geompyDC.ShapeType["EDGE"]: - typ = EDGE - elif tgeo == geompyDC.ShapeType["FACE"]: - typ = FACE - elif tgeo == geompyDC.ShapeType["SOLID"]: - typ = VOLUME + ## Generate new elements by extrusion of the elements with given ids + # @param IDsOfElements is ids of elements + # @param StepVector vector, defining the direction and value of extrusion + # @param NbOfSteps the number of steps + # @param ExtrFlags set flags for performing extrusion + # @param SewTolerance uses for comparing locations of nodes if flag + # EXTRUSION_FLAG_SEW is set + # @param MakeGroups to generate new groups from existing ones + def AdvancedExtrusion(self, IDsOfElements, StepVector, NbOfSteps, ExtrFlags, SewTolerance, MakeGroups=False): + if ( isinstance( StepVector, geompyDC.GEOM._objref_GEOM_Object)): + StepVector = self.smeshpyD.GetDirStruct(StepVector) + if MakeGroups: + return self.editor.AdvancedExtrusionMakeGroups(IDsOfElements, StepVector, NbOfSteps, + ExtrFlags, SewTolerance) + self.editor.AdvancedExtrusion(IDsOfElements, StepVector, NbOfSteps, + ExtrFlags, SewTolerance) + return [] - if typ == None: - print "Mesh.Group: bad first argument: expected a group, a vertex, an edge, a face or a solid" - return 0 - else: - return self.mesh.CreateGroupFromGEOM(typ, name, grp) + ## Generate new elements by extrusion of the elements belong to object + # @param theObject object wich elements should be processed + # @param StepVector vector, defining the direction and value of extrusion + # @param NbOfSteps the number of steps + # @param MakeGroups to generate new groups from existing ones + def ExtrusionSweepObject(self, theObject, StepVector, NbOfSteps, MakeGroups=False): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + if ( isinstance( StepVector, geompyDC.GEOM._objref_GEOM_Object)): + StepVector = self.smeshpyD.GetDirStruct(StepVector) + if MakeGroups: + return self.editor.ExtrusionSweepObjectMakeGroups(theObject, StepVector, NbOfSteps) + self.editor.ExtrusionSweepObject(theObject, StepVector, NbOfSteps) + return [] - ## Create a mesh group by the given ids of elements - # @param groupName is the name of the mesh group - # @param elementType is the type of elements in the group - # @param elemIDs is the list of ids - # @return SMESH_Group - def MakeGroupByIds(self, groupName, elementType, elemIDs): - group = self.mesh.CreateGroup(elementType, groupName) - group.Add(elemIDs) - return group + ## Generate new elements by extrusion of the elements belong to object + # @param theObject object wich elements should be processed + # @param StepVector vector, defining the direction and value of extrusion + # @param NbOfSteps the number of steps + # @param MakeGroups to generate new groups from existing ones + def ExtrusionSweepObject1D(self, theObject, StepVector, NbOfSteps, MakeGroups=False): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + if ( isinstance( StepVector, geompyDC.GEOM._objref_GEOM_Object)): + StepVector = self.smeshpyD.GetDirStruct(StepVector) + if MakeGroups: + return self.editor.ExtrusionSweepObject1DMakeGroups(theObject, StepVector, NbOfSteps) + self.editor.ExtrusionSweepObject1D(theObject, StepVector, NbOfSteps) + return [] - ## Create a mesh group by the given conditions - # @param groupName is the name of the mesh group - # @param elementType is the type of elements in the group - # @param CritType is type of criterion( FT_Taper, FT_Area, FT_RangeOfIds, FT_LyingOnGeom etc. ) - # @param Compare belong to {FT_LessThan, FT_MoreThan, FT_EqualTo} - # @param Treshold is threshold value (range of id ids as string, shape, numeric) - # @param UnaryOp is FT_LogicalNOT or FT_Undefined - # @return SMESH_Group - def MakeGroup(self, - groupName, - elementType, - CritType=FT_Undefined, - Compare=FT_EqualTo, - Treshold="", - UnaryOp=FT_Undefined): - aCriterion = self.smeshpyD.GetCriterion(elementType, CritType, Compare, Treshold, UnaryOp, FT_Undefined) - group = self.MakeGroupByCriterion(groupName, aCriterion) - return group + ## Generate new elements by extrusion of the elements belong to object + # @param theObject object wich elements should be processed + # @param StepVector vector, defining the direction and value of extrusion + # @param NbOfSteps the number of steps + # @param MakeGroups to generate new groups from existing ones + def ExtrusionSweepObject2D(self, theObject, StepVector, NbOfSteps, MakeGroups=False): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + if ( isinstance( StepVector, geompyDC.GEOM._objref_GEOM_Object)): + StepVector = self.smeshpyD.GetDirStruct(StepVector) + if MakeGroups: + return self.editor.ExtrusionSweepObject2DMakeGroups(theObject, StepVector, NbOfSteps) + self.editor.ExtrusionSweepObject2D(theObject, StepVector, NbOfSteps) + return [] - ## Create a mesh group by the given criterion - # @param groupName is the name of the mesh group - # @param Criterion is the instance of Criterion class - # @return SMESH_Group - def MakeGroupByCriterion(self, groupName, Criterion): - aFilterMgr = self.smeshpyD.CreateFilterManager() - aFilter = aFilterMgr.CreateFilter() - aCriteria = [] - aCriteria.append(Criterion) - aFilter.SetCriteria(aCriteria) - group = self.MakeGroupByFilter(groupName, aFilter) - return group + ## Generate new elements by extrusion of the given elements + # A path of extrusion must be a meshed edge. + # @param IDsOfElements is ids of elements + # @param PathMesh mesh containing a 1D sub-mesh on the edge, along which proceeds the extrusion + # @param PathShape is shape(edge); as the mesh can be complex, the edge is used to define the sub-mesh for the path + # @param NodeStart the first or the last node on the edge. It is used to define the direction of extrusion + # @param HasAngles allows the shape to be rotated around the path to get the resulting mesh in a helical fashion + # @param Angles list of angles + # @param HasRefPoint allows to use base point + # @param RefPoint point around which the shape is rotated(the mass center of the shape by default). + # User can specify any point as the Base Point and the shape will be rotated with respect to this point. + # @param MakeGroups to generate new groups from existing ones + # @param LinearVariation makes compute rotation angles as linear variation of given Angles along path steps + def ExtrusionAlongPath(self, IDsOfElements, PathMesh, PathShape, NodeStart, + HasAngles, Angles, HasRefPoint, RefPoint, + MakeGroups=False, LinearVariation=False): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + if ( isinstance( RefPoint, geompyDC.GEOM._objref_GEOM_Object)): + RefPoint = self.smeshpyD.GetPointStruct(RefPoint) + pass + if MakeGroups: + return self.editor.ExtrusionAlongPathMakeGroups(IDsOfElements, PathMesh.GetMesh(), + PathShape, NodeStart, HasAngles, + Angles, HasRefPoint, RefPoint) + return self.editor.ExtrusionAlongPath(IDsOfElements, PathMesh.GetMesh(), PathShape, + NodeStart, HasAngles, Angles, HasRefPoint, RefPoint) + + ## Generate new elements by extrusion of the elements belong to object + # A path of extrusion must be a meshed edge. + # @param IDsOfElements is ids of elements + # @param PathMesh mesh containing a 1D sub-mesh on the edge, along which proceeds the extrusion + # @param PathShape is shape(edge); as the mesh can be complex, the edge is used to define the sub-mesh for the path + # @param NodeStart the first or the last node on the edge. It is used to define the direction of extrusion + # @param HasAngles allows the shape to be rotated around the path to get the resulting mesh in a helical fashion + # @param Angles list of angles + # @param HasRefPoint allows to use base point + # @param RefPoint point around which the shape is rotated(the mass center of the shape by default). + # User can specify any point as the Base Point and the shape will be rotated with respect to this point. + # @param MakeGroups to generate new groups from existing ones + # @param LinearVariation makes compute rotation angles as linear variation of given Angles along path steps + def ExtrusionAlongPathObject(self, theObject, PathMesh, PathShape, NodeStart, + HasAngles, Angles, HasRefPoint, RefPoint, + MakeGroups=False, LinearVariation=False): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + if ( isinstance( RefPoint, geompyDC.GEOM._objref_GEOM_Object)): + RefPoint = self.smeshpyD.GetPointStruct(RefPoint) + if MakeGroups: + return self.editor.ExtrusionAlongPathObjectMakeGroups(theObject, PathMesh.GetMesh(), + PathShape, NodeStart, HasAngles, + Angles, HasRefPoint, RefPoint) + return self.editor.ExtrusionAlongPathObject(theObject, PathMesh.GetMesh(), PathShape, + NodeStart, HasAngles, Angles, HasRefPoint, + RefPoint) + + ## Symmetrical copy of mesh elements + # @param IDsOfElements list of elements ids + # @param Mirror is AxisStruct or geom object(point, line, plane) + # @param theMirrorType is POINT, AXIS or PLANE + # If the Mirror is geom object this parameter is unnecessary + # @param Copy allows to copy element(Copy is 1) or to replace with its mirroring(Copy is 0) + # @param MakeGroups to generate new groups from existing ones (if Copy) + def Mirror(self, IDsOfElements, Mirror, theMirrorType, Copy=0, MakeGroups=False): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + if ( isinstance( Mirror, geompyDC.GEOM._objref_GEOM_Object)): + Mirror = self.smeshpyD.GetAxisStruct(Mirror) + if Copy and MakeGroups: + return self.editor.MirrorMakeGroups(IDsOfElements, Mirror, theMirrorType) + self.editor.Mirror(IDsOfElements, Mirror, theMirrorType, Copy) + return [] + + ## Create a new mesh by symmetrical copy of mesh elements + # @param IDsOfElements list of elements ids + # @param Mirror is AxisStruct or geom object(point, line, plane) + # @param theMirrorType is POINT, AXIS or PLANE + # If the Mirror is geom object this parameter is unnecessary + # @param MakeGroups to generate new groups from existing ones + # @param NewMeshName is a name of new mesh to create + def MirrorMakeMesh(self, IDsOfElements, Mirror, theMirrorType, MakeGroups=0, NewMeshName=""): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + if ( isinstance( Mirror, geompyDC.GEOM._objref_GEOM_Object)): + Mirror = self.smeshpyD.GetAxisStruct(Mirror) + mesh = self.editor.MirrorMakeMesh(IDsOfElements, Mirror, theMirrorType, + MakeGroups, NewMeshName) + return Mesh(self.smeshpyD,self.geompyD,mesh) - ## Create a mesh group by the given criteria(list of criterions) - # @param groupName is the name of the mesh group - # @param Criteria is the list of criterions - # @return SMESH_Group - def MakeGroupByCriteria(self, groupName, theCriteria): - aFilterMgr = self.smeshpyD.CreateFilterManager() - aFilter = aFilterMgr.CreateFilter() - aFilter.SetCriteria(theCriteria) - group = self.MakeGroupByFilter(groupName, aFilter) - return group + ## Symmetrical copy of object + # @param theObject mesh, submesh or group + # @param Mirror is AxisStruct or geom object(point, line, plane) + # @param theMirrorType is POINT, AXIS or PLANE + # If the Mirror is geom object this parameter is unnecessary + # @param Copy allows to copy element(Copy is 1) or to replace with its mirroring(Copy is 0) + # @param MakeGroups to generate new groups from existing ones (if Copy) + def MirrorObject (self, theObject, Mirror, theMirrorType, Copy=0, MakeGroups=False): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + if ( isinstance( Mirror, geompyDC.GEOM._objref_GEOM_Object)): + Mirror = self.smeshpyD.GetAxisStruct(Mirror) + if Copy and MakeGroups: + return self.editor.MirrorObjectMakeGroups(theObject, Mirror, theMirrorType) + self.editor.MirrorObject(theObject, Mirror, theMirrorType, Copy) + return [] - ## Create a mesh group by the given filter - # @param groupName is the name of the mesh group - # @param Criterion is the instance of Filter class - # @return SMESH_Group - def MakeGroupByFilter(self, groupName, theFilter): - anIds = theFilter.GetElementsId(self.mesh) - anElemType = theFilter.GetElementType() - group = self.MakeGroupByIds(groupName, anElemType, anIds) - return group + ## Create a new mesh by symmetrical copy of object + # @param theObject mesh, submesh or group + # @param Mirror is AxisStruct or geom object(point, line, plane) + # @param theMirrorType is POINT, AXIS or PLANE + # If the Mirror is geom object this parameter is unnecessary + # @param MakeGroups to generate new groups from existing ones + # @param NewMeshName is a name of new mesh to create + def MirrorObjectMakeMesh (self, theObject, Mirror, theMirrorType,MakeGroups=0, NewMeshName=""): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + if (isinstance(Mirror, geompyDC.GEOM._objref_GEOM_Object)): + Mirror = self.smeshpyD.GetAxisStruct(Mirror) + mesh = self.editor.MirrorObjectMakeMesh(theObject, Mirror, theMirrorType, + MakeGroups, NewMeshName) + return Mesh( self.smeshpyD,self.geompyD,mesh ) - ## Pass mesh elements through the given filter and return ids - # @param theFilter is SMESH_Filter - # @return list of ids - def GetIdsFromFilter(self, theFilter): - return theFilter.GetElementsId(self.mesh) + ## Translates the elements + # @param IDsOfElements list of elements ids + # @param Vector direction of translation(DirStruct or vector) + # @param Copy allows to copy the translated elements + # @param MakeGroups to generate new groups from existing ones (if Copy) + def Translate(self, IDsOfElements, Vector, Copy, MakeGroups=False): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + if ( isinstance( Vector, geompyDC.GEOM._objref_GEOM_Object)): + Vector = self.smeshpyD.GetDirStruct(Vector) + if Copy and MakeGroups: + return self.editor.TranslateMakeGroups(IDsOfElements, Vector) + self.editor.Translate(IDsOfElements, Vector, Copy) + return [] - ## Verify whether 2D mesh element has free edges(edges connected to one face only)\n - # Returns list of special structures(borders). - # @return list of SMESH.FreeEdges.Border structure: edge id and two its nodes ids. - def GetFreeBorders(self): - aFilterMgr = self.smeshpyD.CreateFilterManager() - aPredicate = aFilterMgr.CreateFreeEdges() - aPredicate.SetMesh(self.mesh) - aBorders = aPredicate.GetBorders() - return aBorders + ## Create a new mesh of translated elements + # @param IDsOfElements list of elements ids + # @param Vector direction of translation(DirStruct or vector) + # @param MakeGroups to generate new groups from existing ones + # @param NewMeshName is a name of new mesh to create + def TranslateMakeMesh(self, IDsOfElements, Vector, MakeGroups=False, NewMeshName=""): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + if ( isinstance( Vector, geompyDC.GEOM._objref_GEOM_Object)): + Vector = self.smeshpyD.GetDirStruct(Vector) + mesh = self.editor.TranslateMakeMesh(IDsOfElements, Vector, MakeGroups, NewMeshName) + return Mesh ( self.smeshpyD, self.geompyD, mesh ) - ## Remove a group - def RemoveGroup(self, group): - self.mesh.RemoveGroup(group) + ## Translates the object + # @param theObject object to translate(mesh, submesh, or group) + # @param Vector direction of translation(DirStruct or geom vector) + # @param Copy allows to copy the translated elements + # @param MakeGroups to generate new groups from existing ones (if Copy) + def TranslateObject(self, theObject, Vector, Copy, MakeGroups=False): + if ( isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + if ( isinstance( Vector, geompyDC.GEOM._objref_GEOM_Object)): + Vector = self.smeshpyD.GetDirStruct(Vector) + if Copy and MakeGroups: + return self.editor.TranslateObjectMakeGroups(theObject, Vector) + self.editor.TranslateObject(theObject, Vector, Copy) + return [] - ## Remove group with its contents - def RemoveGroupWithContents(self, group): - self.mesh.RemoveGroupWithContents(group) + ## Create a new mesh from translated object + # @param theObject object to translate(mesh, submesh, or group) + # @param Vector direction of translation(DirStruct or geom vector) + # @param MakeGroups to generate new groups from existing ones + # @param NewMeshName is a name of new mesh to create + def TranslateObjectMakeMesh(self, theObject, Vector, MakeGroups=False, NewMeshName=""): + if (isinstance(theObject, Mesh)): + theObject = theObject.GetMesh() + if (isinstance(Vector, geompyDC.GEOM._objref_GEOM_Object)): + Vector = self.smeshpyD.GetDirStruct(Vector) + mesh = self.editor.TranslateObjectMakeMesh(theObject, Vector, MakeGroups, NewMeshName) + return Mesh( self.smeshpyD, self.geompyD, mesh ) - ## Get the list of groups existing in the mesh - def GetGroups(self): - return self.mesh.GetGroups() + ## Rotates the elements + # @param IDsOfElements list of elements ids + # @param Axis axis of rotation(AxisStruct or geom line) + # @param AngleInRadians angle of rotation(in radians) + # @param Copy allows to copy the rotated elements + # @param MakeGroups to generate new groups from existing ones (if Copy) + def Rotate (self, IDsOfElements, Axis, AngleInRadians, Copy, MakeGroups=False): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + if ( isinstance( Axis, geompyDC.GEOM._objref_GEOM_Object)): + Axis = self.smeshpyD.GetAxisStruct(Axis) + if Copy and MakeGroups: + return self.editor.RotateMakeGroups(IDsOfElements, Axis, AngleInRadians) + self.editor.Rotate(IDsOfElements, Axis, AngleInRadians, Copy) + return [] - ## Get number of groups existing in the mesh - def NbGroups(self): - return self.mesh.NbGroups() + ## Create a new mesh of rotated elements + # @param IDsOfElements list of element ids + # @param Axis axis of rotation(AxisStruct or geom line) + # @param AngleInRadians angle of rotation(in radians) + # @param MakeGroups to generate new groups from existing ones + # @param NewMeshName is a name of new mesh to create + def RotateMakeMesh (self, IDsOfElements, Axis, AngleInRadians, MakeGroups=0, NewMeshName=""): + if IDsOfElements == []: + IDsOfElements = self.GetElementsId() + if ( isinstance( Axis, geompyDC.GEOM._objref_GEOM_Object)): + Axis = self.smeshpyD.GetAxisStruct(Axis) + mesh = self.editor.RotateMakeMesh(IDsOfElements, Axis, AngleInRadians, + MakeGroups, NewMeshName) + return Mesh( self.smeshpyD, self.geompyD, mesh ) - ## Get the list of names of groups existing in the mesh - def GetGroupNames(self): - groups = self.GetGroups() - names = [] - for group in groups: - names.append(group.GetName()) - return names + ## Rotates the object + # @param theObject object to rotate(mesh, submesh, or group) + # @param Axis axis of rotation(AxisStruct or geom line) + # @param AngleInRadians angle of rotation(in radians) + # @param Copy allows to copy the rotated elements + # @param MakeGroups to generate new groups from existing ones (if Copy) + def RotateObject (self, theObject, Axis, AngleInRadians, Copy, MakeGroups=False): + if (isinstance(theObject, Mesh)): + theObject = theObject.GetMesh() + if (isinstance(Axis, geompyDC.GEOM._objref_GEOM_Object)): + Axis = self.smeshpyD.GetAxisStruct(Axis) + if Copy and MakeGroups: + return self.editor.RotateObjectMakeGroups(theObject, Axis, AngleInRadians) + self.editor.RotateObject(theObject, Axis, AngleInRadians, Copy) + return [] - ## Union of two groups - # New group is created. All mesh elements that are - # present in initial groups are added to the new one - def UnionGroups(self, group1, group2, name): - return self.mesh.UnionGroups(group1, group2, name) + ## Create a new mesh from a rotated object + # @param theObject object to rotate (mesh, submesh, or group) + # @param Axis axis of rotation(AxisStruct or geom line) + # @param AngleInRadians angle of rotation(in radians) + # @param MakeGroups to generate new groups from existing ones + # @param NewMeshName is a name of new mesh to create + def RotateObjectMakeMesh(self, theObject, Axis, AngleInRadians, MakeGroups=0,NewMeshName=""): + if (isinstance( theObject, Mesh )): + theObject = theObject.GetMesh() + if (isinstance(Axis, geompyDC.GEOM._objref_GEOM_Object)): + Axis = self.smeshpyD.GetAxisStruct(Axis) + mesh = self.editor.RotateObjectMakeMesh(theObject, Axis, AngleInRadians, + MakeGroups, NewMeshName) + return Mesh( self.smeshpyD, self.geompyD, mesh ) - ## Intersection of two groups - # New group is created. All mesh elements that are - # present in both initial groups are added to the new one. - def IntersectGroups(self, group1, group2, name): - return self.mesh.IntersectGroups(group1, group2, name) + ## Find group of nodes close to each other within Tolerance. + # @param Tolerance tolerance value + # @param list of group of nodes + def FindCoincidentNodes (self, Tolerance): + return self.editor.FindCoincidentNodes(Tolerance) - ## Cut of two groups - # New group is created. All mesh elements that are present in - # main group but do not present in tool group are added to the new one - def CutGroups(self, mainGroup, toolGroup, name): - return self.mesh.CutGroups(mainGroup, toolGroup, name) + ## Find group of nodes close to each other within Tolerance. + # @param Tolerance tolerance value + # @param SubMeshOrGroup SubMesh or Group + # @param list of group of nodes + def FindCoincidentNodesOnPart (self, SubMeshOrGroup, Tolerance): + return self.editor.FindCoincidentNodesOnPart(SubMeshOrGroup, Tolerance) + ## Merge nodes + # @param list of group of nodes + def MergeNodes (self, GroupsOfNodes): + self.editor.MergeNodes(GroupsOfNodes) - # Get some info about mesh: - # ------------------------ + ## Find elements built on the same nodes. + # @param MeshOrSubMeshOrGroup Mesh or SubMesh, or Group of elements for searching + # @return a list of groups of equal elements + def FindEqualElements (self, MeshOrSubMeshOrGroup): + return self.editor.FindEqualElements(MeshOrSubMeshOrGroup) - ## Get the log of nodes and elements added or removed since previous - # clear of the log. - # @param clearAfterGet log is emptied after Get (safe if concurrents access) - # @return list of log_block structures: - # commandType - # number - # coords - # indexes - def GetLog(self, clearAfterGet): - return self.mesh.GetLog(clearAfterGet) + ## Merge elements in each given group. + # @param GroupsOfElementsID groups of elements for merging + def MergeElements(self, GroupsOfElementsID): + self.editor.MergeElements(GroupsOfElementsID) - ## Clear the log of nodes and elements added or removed since previous - # clear. Must be used immediately after GetLog if clearAfterGet is false. - def ClearLog(self): - self.mesh.ClearLog() + ## Remove all but one of elements built on the same nodes. + def MergeEqualElements(self): + self.editor.MergeEqualElements() - def SetAutoColor(self, color): - self.mesh.SetAutoColor(color) + ## Sew free borders + def SewFreeBorders (self, FirstNodeID1, SecondNodeID1, LastNodeID1, + FirstNodeID2, SecondNodeID2, LastNodeID2, + CreatePolygons, CreatePolyedrs): + return self.editor.SewFreeBorders(FirstNodeID1, SecondNodeID1, LastNodeID1, + FirstNodeID2, SecondNodeID2, LastNodeID2, + CreatePolygons, CreatePolyedrs) - def GetAutoColor(self): - return self.mesh.GetAutoColor() + ## Sew conform free borders + def SewConformFreeBorders (self, FirstNodeID1, SecondNodeID1, LastNodeID1, + FirstNodeID2, SecondNodeID2): + return self.editor.SewConformFreeBorders(FirstNodeID1, SecondNodeID1, LastNodeID1, + FirstNodeID2, SecondNodeID2) - ## Get the internal Id - def GetId(self): - return self.mesh.GetId() + ## Sew border to side + def SewBorderToSide (self, FirstNodeIDOnFreeBorder, SecondNodeIDOnFreeBorder, LastNodeIDOnFreeBorder, + FirstNodeIDOnSide, LastNodeIDOnSide, CreatePolygons, CreatePolyedrs): + return self.editor.SewBorderToSide(FirstNodeIDOnFreeBorder, SecondNodeIDOnFreeBorder, LastNodeIDOnFreeBorder, + FirstNodeIDOnSide, LastNodeIDOnSide, CreatePolygons, CreatePolyedrs) - ## Get the study Id - def GetStudyId(self): - return self.mesh.GetStudyId() + ## Sew two sides of a mesh. Nodes belonging to Side1 are + # merged with nodes of elements of Side2. + # Number of elements in theSide1 and in theSide2 must be + # equal and they should have similar node connectivity. + # The nodes to merge should belong to sides borders and + # the first node should be linked to the second. + def SewSideElements (self, IDsOfSide1Elements, IDsOfSide2Elements, + NodeID1OfSide1ToMerge, NodeID1OfSide2ToMerge, + NodeID2OfSide1ToMerge, NodeID2OfSide2ToMerge): + return self.editor.SewSideElements(IDsOfSide1Elements, IDsOfSide2Elements, + NodeID1OfSide1ToMerge, NodeID1OfSide2ToMerge, + NodeID2OfSide1ToMerge, NodeID2OfSide2ToMerge) - ## Check group names for duplications. - # Consider maximum group name length stored in MED file. - def HasDuplicatedGroupNamesMED(self): - return self.mesh.HasDuplicatedGroupNamesMED() + ## Set new nodes for given element. + # @param ide the element id + # @param newIDs nodes ids + # @return If number of nodes is not corresponded to type of element - returns false + def ChangeElemNodes(self, ide, newIDs): + return self.editor.ChangeElemNodes(ide, newIDs) - ## Obtain instance of SMESH_MeshEditor - def GetMeshEditor(self): - return self.mesh.GetMeshEditor() + ## If during last operation of MeshEditor some nodes were + # created this method returns list of its IDs, \n + # if new nodes not created - returns empty list + def GetLastCreatedNodes(self): + return self.editor.GetLastCreatedNodes() - ## Get MED Mesh - def GetMEDMesh(self): - return self.mesh.GetMEDMesh() + ## If during last operation of MeshEditor some elements were + # created this method returns list of its IDs, \n + # if new elements not creared - returns empty list + def GetLastCreatedElems(self): + return self.editor.GetLastCreatedElems() +## Mother class to define algorithm, recommended to do not use directly. +# +# More details. +class Mesh_Algorithm: + # @class Mesh_Algorithm + # @brief Class Mesh_Algorithm - # Get informations about mesh contents: - # ------------------------------------ + #def __init__(self,smesh): + # self.smesh=smesh + def __init__(self): + self.mesh = None + self.geom = None + self.subm = None + self.algo = None - ## Returns number of nodes in mesh - def NbNodes(self): - return self.mesh.NbNodes() + ## Find hypothesis in study by its type name and parameters. + # Find only those hypothesis, which was created in smeshpyD engine. + def FindHypothesis (self, hypname, args, CompareMethod, smeshpyD): + study = smeshpyD.GetCurrentStudy() + #to do: find component by smeshpyD object, not by its data type + scomp = study.FindComponent(smeshpyD.ComponentDataType()) + if scomp is not None: + res,hypRoot = scomp.FindSubObject(SMESH.Tag_HypothesisRoot) + # is hypotheses root label exists? + if res and hypRoot is not None: + iter = study.NewChildIterator(hypRoot) + # check all published hypotheses + while iter.More(): + hypo_so_i = iter.Value() + attr = hypo_so_i.FindAttribute("AttributeIOR")[1] + if attr is not None: + anIOR = attr.Value() + hypo_o_i = salome.orb.string_to_object(anIOR) + if hypo_o_i is not None: + # is hypothesis? + hypo_i = hypo_o_i._narrow(SMESH.SMESH_Hypothesis) + if hypo_i is not None: + # belongs to this engine? + if smeshpyD.GetObjectId(hypo_i) > 0: + # is it the needed hypothesis? + if hypo_i.GetName() == hypname: + # check args + if CompareMethod(hypo_i, args): + # found!!! + return hypo_i + pass + pass + pass + pass + pass + iter.Next() + pass + pass + pass + return None - ## Returns number of elements in mesh - def NbElements(self): - return self.mesh.NbElements() + ## Find algorithm in study by its type name. + # Find only those algorithm, which was created in smeshpyD engine. + def FindAlgorithm (self, algoname, smeshpyD): + study = smeshpyD.GetCurrentStudy() + #to do: find component by smeshpyD object, not by its data type + scomp = study.FindComponent(smeshpyD.ComponentDataType()) + if scomp is not None: + res,hypRoot = scomp.FindSubObject(SMESH.Tag_AlgorithmsRoot) + # is algorithms root label exists? + if res and hypRoot is not None: + iter = study.NewChildIterator(hypRoot) + # check all published algorithms + while iter.More(): + algo_so_i = iter.Value() + attr = algo_so_i.FindAttribute("AttributeIOR")[1] + if attr is not None: + anIOR = attr.Value() + algo_o_i = salome.orb.string_to_object(anIOR) + if algo_o_i is not None: + # is algorithm? + algo_i = algo_o_i._narrow(SMESH.SMESH_Algo) + if algo_i is not None: + # belongs to this engine? + if smeshpyD.GetObjectId(algo_i) > 0: + # is it the needed algorithm? + if algo_i.GetName() == algoname: + # found!!! + return algo_i + pass + pass + pass + pass + iter.Next() + pass + pass + pass + return None - ## Returns number of edges in mesh - def NbEdges(self): - return self.mesh.NbEdges() + ## If the algorithm is global, return 0; \n + # else return the submesh associated to this algorithm. + def GetSubMesh(self): + return self.subm - ## Returns number of edges with given order in mesh - # @param elementOrder is order of elements: - # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC - def NbEdgesOfOrder(self, elementOrder): - return self.mesh.NbEdgesOfOrder(elementOrder) + ## Return the wrapped mesher. + def GetAlgorithm(self): + return self.algo - ## Returns number of faces in mesh - def NbFaces(self): - return self.mesh.NbFaces() + ## Get list of hypothesis that can be used with this algorithm + def GetCompatibleHypothesis(self): + mylist = [] + if self.algo: + mylist = self.algo.GetCompatibleHypothesis() + return mylist - ## Returns number of faces with given order in mesh - # @param elementOrder is order of elements: - # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC - def NbFacesOfOrder(self, elementOrder): - return self.mesh.NbFacesOfOrder(elementOrder) + ## Get name of algo + def GetName(self): + GetName(self.algo) - ## Returns number of triangles in mesh - def NbTriangles(self): - return self.mesh.NbTriangles() + ## Set name to algo + def SetName(self, name): + SetName(self.algo, name) - ## Returns number of triangles with given order in mesh - # @param elementOrder is order of elements: - # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC - def NbTrianglesOfOrder(self, elementOrder): - return self.mesh.NbTrianglesOfOrder(elementOrder) + ## Get id of algo + def GetId(self): + return self.algo.GetId() - ## Returns number of quadrangles in mesh - def NbQuadrangles(self): - return self.mesh.NbQuadrangles() + ## Private method. + def Create(self, mesh, geom, hypo, so="libStdMeshersEngine.so"): + if geom is None: + raise RuntimeError, "Attemp to create " + hypo + " algoritm on None shape" + algo = self.FindAlgorithm(hypo, mesh.smeshpyD) + if algo is None: + algo = mesh.smeshpyD.CreateHypothesis(hypo, so) + pass + self.Assign(algo, mesh, geom) + return self.algo - ## Returns number of quadrangles with given order in mesh - # @param elementOrder is order of elements: - # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC - def NbQuadranglesOfOrder(self, elementOrder): - return self.mesh.NbQuadranglesOfOrder(elementOrder) + ## Private method + def Assign(self, algo, mesh, geom): + if geom is None: + raise RuntimeError, "Attemp to create " + algo + " algoritm on None shape" + self.mesh = mesh + piece = mesh.geom + if not geom: + self.geom = piece + else: + self.geom = geom + name = GetName(geom) + if name==NO_NAME: + name = mesh.geompyD.SubShapeName(geom, piece) + mesh.geompyD.addToStudyInFather(piece, geom, name) + self.subm = mesh.mesh.GetSubMesh(geom, algo.GetName()) - ## Returns number of polygons in mesh - def NbPolygons(self): - return self.mesh.NbPolygons() + self.algo = algo + status = mesh.mesh.AddHypothesis(self.geom, self.algo) + TreatHypoStatus( status, algo.GetName(), GetName(self.geom), True ) - ## Returns number of volumes in mesh - def NbVolumes(self): - return self.mesh.NbVolumes() + def CompareHyp (self, hyp, args): + print "CompareHyp is not implemented for ", self.__class__.__name__, ":", hyp.GetName() + return False + + def CompareEqualHyp (self, hyp, args): + return True - ## Returns number of volumes with given order in mesh - # @param elementOrder is order of elements: - # ORDER_ANY, ORDER_LINEAR or ORDER_QUADRATIC - def NbVolumesOfOrder(self, elementOrder): - return self.mesh.NbVolumesOfOrder(elementOrder) + ## Private method + def Hypothesis (self, hyp, args=[], so="libStdMeshersEngine.so", + UseExisting=0, CompareMethod=""): + hypo = None + if UseExisting: + if CompareMethod == "": CompareMethod = self.CompareHyp + hypo = self.FindHypothesis(hyp, args, CompareMethod, self.mesh.smeshpyD) + pass + if hypo is None: + hypo = self.mesh.smeshpyD.CreateHypothesis(hyp, so) + a = "" + s = "=" + i = 0 + n = len(args) + while i 0: # 1,2 - if volume_nodes.count(quad_nodes[4 -1]) > 0: # 1,2,4 - isVolumeFound = True - if volume_nodes.count(quad_nodes[3 -1]) == 0: # 1,2,4 & !3 - self.SplitQuad([face_id], False) # diagonal 2-4 - elif volume_nodes.count(quad_nodes[3 -1]) > 0: # 1,2,3 & !4 - isVolumeFound = True - self.SplitQuad([face_id], True) # diagonal 1-3 - elif volume_nodes.count(quad_nodes[4 -1]) > 0: # 1,4 & !2 - if volume_nodes.count(quad_nodes[3 -1]) > 0: # 1,4,3 & !2 - isVolumeFound = True - self.SplitQuad([face_id], True) # diagonal 1-3 + ## Define "Netgen 3D Parameters" hypothesis + def Parameters(self): + if (self.algoType == FULL_NETGEN): + self.params = self.Hypothesis("NETGEN_Parameters", [], + "libNETGENEngine.so", UseExisting=0) + return self.params + else: + print "Algo doesn't support this hypothesis" + return None - ## @brief Split hexahedrons into tetrahedrons. - # - # Use pattern mapping functionality for splitting. - # @param theObject object to take list of hexahedrons from; is mesh, submesh or group. - # @param theNode000,theNode001 is in range [0,7]; give an orientation of the - # pattern relatively each hexahedron: the (0,0,0) key-point of pattern - # will be mapped into -th node of each volume, the (0,0,1) - # key-point will be mapped into -th node of each volume. - # The (0,0,0) key-point of used pattern corresponds to not split corner. - # @return TRUE in case of success, FALSE otherwise. - def SplitHexaToTetras (self, theObject, theNode000, theNode001): - # Pattern: 5.---------.6 - # /|#* /| - # / | #* / | - # / | # * / | - # / | # /* | - # (0,0,1) 4.---------.7 * | - # |#* |1 | # *| - # | # *.----|---#.2 - # | #/ * | / - # | /# * | / - # | / # * | / - # |/ #*|/ - # (0,0,0) 0.---------.3 - pattern_tetra = "!!! Nb of points: \n 8 \n\ - !!! Points: \n\ - 0 0 0 !- 0 \n\ - 0 1 0 !- 1 \n\ - 1 1 0 !- 2 \n\ - 1 0 0 !- 3 \n\ - 0 0 1 !- 4 \n\ - 0 1 1 !- 5 \n\ - 1 1 1 !- 6 \n\ - 1 0 1 !- 7 \n\ - !!! Indices of points of 6 tetras: \n\ - 0 3 4 1 \n\ - 7 4 3 1 \n\ - 4 7 5 1 \n\ - 6 2 5 7 \n\ - 1 5 2 7 \n\ - 2 3 1 7 \n" + ## Set MaxSize + def SetMaxSize(self, theSize): + if self.params == 0: + self.Parameters() + self.params.SetMaxSize(theSize) - pattern = self.smeshpyD.GetPattern() - isDone = pattern.LoadFromFile(pattern_tetra) - if not isDone: - print 'Pattern.LoadFromFile :', pattern.GetErrorCode() - return isDone + ## Set SecondOrder flag + def SetSecondOrder(self, theVal): + if self.params == 0: + self.Parameters() + self.params.SetSecondOrder(theVal) - pattern.ApplyToHexahedrons(self.mesh, theObject.GetIDs(), theNode000, theNode001) - isDone = pattern.MakeMesh(self.mesh, False, False) - if not isDone: print 'Pattern.MakeMesh :', pattern.GetErrorCode() + ## Set Optimize flag + def SetOptimize(self, theVal): + if self.params == 0: + self.Parameters() + self.params.SetOptimize(theVal) - # split quafrangle faces near triangular facets of volumes - self.SplitQuadsNearTriangularFacets() + ## Set Fineness + # @param theFineness is: + # VeryCoarse, Coarse, Moderate, Fine, VeryFine or Custom + def SetFineness(self, theFineness): + if self.params == 0: + self.Parameters() + self.params.SetFineness(theFineness) - return isDone + ## Set GrowthRate + def SetGrowthRate(self, theRate): + if self.params == 0: + self.Parameters() + self.params.SetGrowthRate(theRate) - ## @brief Split hexahedrons into prisms. - # - # Use pattern mapping functionality for splitting. - # @param theObject object to take list of hexahedrons from; is mesh, submesh or group. - # @param theNode000,theNode001 is in range [0,7]; give an orientation of the - # pattern relatively each hexahedron: the (0,0,0) key-point of pattern - # will be mapped into -th node of each volume, the (0,0,1) - # key-point will be mapped into -th node of each volume. - # The edge (0,0,0)-(0,0,1) of used pattern connects two not split corners. - # @return TRUE in case of success, FALSE otherwise. - def SplitHexaToPrisms (self, theObject, theNode000, theNode001): - # Pattern: 5.---------.6 - # /|# /| - # / | # / | - # / | # / | - # / | # / | - # (0,0,1) 4.---------.7 | - # | | | | - # | 1.----|----.2 - # | / * | / - # | / * | / - # | / * | / - # |/ *|/ - # (0,0,0) 0.---------.3 - pattern_prism = "!!! Nb of points: \n 8 \n\ - !!! Points: \n\ - 0 0 0 !- 0 \n\ - 0 1 0 !- 1 \n\ - 1 1 0 !- 2 \n\ - 1 0 0 !- 3 \n\ - 0 0 1 !- 4 \n\ - 0 1 1 !- 5 \n\ - 1 1 1 !- 6 \n\ - 1 0 1 !- 7 \n\ - !!! Indices of points of 2 prisms: \n\ - 0 1 3 4 5 7 \n\ - 2 3 1 6 7 5 \n" + ## Set NbSegPerEdge + def SetNbSegPerEdge(self, theVal): + if self.params == 0: + self.Parameters() + self.params.SetNbSegPerEdge(theVal) + + ## Set NbSegPerRadius + def SetNbSegPerRadius(self, theVal): + if self.params == 0: + self.Parameters() + self.params.SetNbSegPerRadius(theVal) - pattern = self.smeshpyD.GetPattern() - isDone = pattern.LoadFromFile(pattern_prism) - if not isDone: - print 'Pattern.LoadFromFile :', pattern.GetErrorCode() - return isDone +# Public class: Mesh_Hexahedron +# ------------------------------ - pattern.ApplyToHexahedrons(self.mesh, theObject.GetIDs(), theNode000, theNode001) - isDone = pattern.MakeMesh(self.mesh, False, False) - if not isDone: print 'Pattern.MakeMesh :', pattern.GetErrorCode() +## Class to define a hexahedron 3D algorithm +# +# More details. +class Mesh_Hexahedron(Mesh_Algorithm): - # split quafrangle faces near triangular facets of volumes - self.SplitQuadsNearTriangularFacets() + params = 0 + algoType = 0 - return isDone + ## Private constructor. + def __init__(self, mesh, algoType=Hexa, geom=0): + Mesh_Algorithm.__init__(self) - ## Smooth elements - # @param IDsOfElements list if ids of elements to smooth - # @param IDsOfFixedNodes list of ids of fixed nodes. - # Note that nodes built on edges and boundary nodes are always fixed. - # @param MaxNbOfIterations maximum number of iterations - # @param MaxAspectRatio varies in range [1.0, inf] - # @param Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) - def Smooth(self, IDsOfElements, IDsOfFixedNodes, - MaxNbOfIterations, MaxAspectRatio, Method): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - return self.editor.Smooth(IDsOfElements, IDsOfFixedNodes, - MaxNbOfIterations, MaxAspectRatio, Method) + self.algoType = algoType - ## Smooth elements belong to given object - # @param theObject object to smooth - # @param IDsOfFixedNodes list of ids of fixed nodes. - # Note that nodes built on edges and boundary nodes are always fixed. - # @param MaxNbOfIterations maximum number of iterations - # @param MaxAspectRatio varies in range [1.0, inf] - # @param Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) - def SmoothObject(self, theObject, IDsOfFixedNodes, - MaxNbOfIterations, MaxxAspectRatio, Method): - if ( isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - return self.editor.SmoothObject(theObject, IDsOfFixedNodes, - MaxNbOfIterations, MaxxAspectRatio, Method) + if algoType == Hexa: + self.Create(mesh, geom, "Hexa_3D") + pass - ## Parametric smooth the given elements - # @param IDsOfElements list if ids of elements to smooth - # @param IDsOfFixedNodes list of ids of fixed nodes. - # Note that nodes built on edges and boundary nodes are always fixed. - # @param MaxNbOfIterations maximum number of iterations - # @param MaxAspectRatio varies in range [1.0, inf] - # @param Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) - def SmoothParametric(self, IDsOfElements, IDsOfFixedNodes, - MaxNbOfIterations, MaxAspectRatio, Method): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - return self.editor.SmoothParametric(IDsOfElements, IDsOfFixedNodes, - MaxNbOfIterations, MaxAspectRatio, Method) + elif algoType == Hexotic: + import HexoticPlugin + self.Create(mesh, geom, "Hexotic_3D", "libHexoticEngine.so") + pass - ## Parametric smooth elements belong to given object - # @param theObject object to smooth - # @param IDsOfFixedNodes list of ids of fixed nodes. - # Note that nodes built on edges and boundary nodes are always fixed. - # @param MaxNbOfIterations maximum number of iterations - # @param MaxAspectRatio varies in range [1.0, inf] - # @param Method is Laplacian(LAPLACIAN_SMOOTH) or Centroidal(CENTROIDAL_SMOOTH) - def SmoothParametricObject(self, theObject, IDsOfFixedNodes, - MaxNbOfIterations, MaxAspectRatio, Method): - if ( isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - return self.editor.SmoothParametricObject(theObject, IDsOfFixedNodes, - MaxNbOfIterations, MaxAspectRatio, Method) + ## Define "MinMaxQuad" hypothesis to give the three hexotic parameters + def MinMaxQuad(self, min=3, max=8, quad=True): + self.params = self.Hypothesis("Hexotic_Parameters", [], "libHexoticEngine.so", + UseExisting=0) + self.params.SetHexesMinLevel(min) + self.params.SetHexesMaxLevel(max) + self.params.SetHexoticQuadrangles(quad) + return self.params - ## Converts all mesh to quadratic one, deletes old elements, replacing - # them with quadratic ones with the same id. - def ConvertToQuadratic(self, theForce3d): - self.editor.ConvertToQuadratic(theForce3d) +# Deprecated, only for compatibility! +# Public class: Mesh_Netgen +# ------------------------------ - ## Converts all mesh from quadratic to ordinary ones, - # deletes old quadratic elements, \n replacing - # them with ordinary mesh elements with the same id. - def ConvertFromQuadratic(self): - return self.editor.ConvertFromQuadratic() +## Class to define a NETGEN-based 2D or 3D algorithm +# that need no discrete boundary (i.e. independent) +# +# This class is deprecated, only for compatibility! +# +# More details. +class Mesh_Netgen(Mesh_Algorithm): - ## Renumber mesh nodes - def RenumberNodes(self): - self.editor.RenumberNodes() + is3D = 0 - ## Renumber mesh elements - def RenumberElements(self): - self.editor.RenumberElements() + ## Private constructor. + def __init__(self, mesh, is3D, geom=0): + Mesh_Algorithm.__init__(self) - ## Generate new elements by rotation of the elements around the axis - # @param IDsOfElements list of ids of elements to sweep - # @param Axix axis of rotation, AxisStruct or line(geom object) - # @param AngleInRadians angle of Rotation - # @param NbOfSteps number of steps - # @param Tolerance tolerance - # @param MakeGroups to generate new groups from existing ones - def RotationSweep(self, IDsOfElements, Axix, AngleInRadians, NbOfSteps, Tolerance, MakeGroups=False): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - if ( isinstance( Axix, geompyDC.GEOM._objref_GEOM_Object)): - Axix = self.smeshpyD.GetAxisStruct(Axix) - if MakeGroups: - return self.editor.RotationSweepMakeGroups(IDsOfElements, Axix, - AngleInRadians, NbOfSteps, Tolerance) - self.editor.RotationSweep(IDsOfElements, Axix, AngleInRadians, NbOfSteps, Tolerance) - return [] + if noNETGENPlugin: + print "Warning: NETGENPlugin module has not been imported." - ## Generate new elements by rotation of the elements of object around the axis - # @param theObject object wich elements should be sweeped - # @param Axix axis of rotation, AxisStruct or line(geom object) - # @param AngleInRadians angle of Rotation - # @param NbOfSteps number of steps - # @param Tolerance tolerance - # @param MakeGroups to generate new groups from existing ones - def RotationSweepObject(self, theObject, Axix, AngleInRadians, NbOfSteps, Tolerance, MakeGroups=False): - if ( isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - if ( isinstance( Axix, geompyDC.GEOM._objref_GEOM_Object)): - Axix = self.smeshpyD.GetAxisStruct(Axix) - if MakeGroups: - return self.editor.RotationSweepObjectMakeGroups(theObject, Axix, AngleInRadians, - NbOfSteps, Tolerance) - self.editor.RotationSweepObject(theObject, Axix, AngleInRadians, NbOfSteps, Tolerance) - return [] + self.is3D = is3D + if is3D: + self.Create(mesh, geom, "NETGEN_2D3D", "libNETGENEngine.so") + pass - ## Generate new elements by extrusion of the elements with given ids - # @param IDsOfElements list of elements ids for extrusion - # @param StepVector vector, defining the direction and value of extrusion - # @param NbOfSteps the number of steps - # @param MakeGroups to generate new groups from existing ones - def ExtrusionSweep(self, IDsOfElements, StepVector, NbOfSteps, MakeGroups=False): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - if ( isinstance( StepVector, geompyDC.GEOM._objref_GEOM_Object)): - StepVector = self.smeshpyD.GetDirStruct(StepVector) - if MakeGroups: - return self.editor.ExtrusionSweepMakeGroups(IDsOfElements, StepVector, NbOfSteps) - self.editor.ExtrusionSweep(IDsOfElements, StepVector, NbOfSteps) - return [] + else: + self.Create(mesh, geom, "NETGEN_2D", "libNETGENEngine.so") + pass - ## Generate new elements by extrusion of the elements with given ids - # @param IDsOfElements is ids of elements - # @param StepVector vector, defining the direction and value of extrusion - # @param NbOfSteps the number of steps - # @param ExtrFlags set flags for performing extrusion - # @param SewTolerance uses for comparing locations of nodes if flag - # EXTRUSION_FLAG_SEW is set - # @param MakeGroups to generate new groups from existing ones - def AdvancedExtrusion(self, IDsOfElements, StepVector, NbOfSteps, ExtrFlags, SewTolerance, MakeGroups=False): - if ( isinstance( StepVector, geompyDC.GEOM._objref_GEOM_Object)): - StepVector = self.smeshpyD.GetDirStruct(StepVector) - if MakeGroups: - return self.editor.AdvancedExtrusionMakeGroups(IDsOfElements, StepVector, NbOfSteps, - ExtrFlags, SewTolerance) - self.editor.AdvancedExtrusion(IDsOfElements, StepVector, NbOfSteps, - ExtrFlags, SewTolerance) - return [] + ## Define hypothesis containing parameters of the algorithm + def Parameters(self): + if self.is3D: + hyp = self.Hypothesis("NETGEN_Parameters", [], + "libNETGENEngine.so", UseExisting=0) + else: + hyp = self.Hypothesis("NETGEN_Parameters_2D", [], + "libNETGENEngine.so", UseExisting=0) + return hyp - ## Generate new elements by extrusion of the elements belong to object - # @param theObject object wich elements should be processed - # @param StepVector vector, defining the direction and value of extrusion - # @param NbOfSteps the number of steps - # @param MakeGroups to generate new groups from existing ones - def ExtrusionSweepObject(self, theObject, StepVector, NbOfSteps, MakeGroups=False): - if ( isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - if ( isinstance( StepVector, geompyDC.GEOM._objref_GEOM_Object)): - StepVector = self.smeshpyD.GetDirStruct(StepVector) - if MakeGroups: - return self.editor.ExtrusionSweepObjectMakeGroups(theObject, StepVector, NbOfSteps) - self.editor.ExtrusionSweepObject(theObject, StepVector, NbOfSteps) - return [] +# Public class: Mesh_Projection1D +# ------------------------------ - ## Generate new elements by extrusion of the elements belong to object - # @param theObject object wich elements should be processed - # @param StepVector vector, defining the direction and value of extrusion - # @param NbOfSteps the number of steps - # @param MakeGroups to generate new groups from existing ones - def ExtrusionSweepObject1D(self, theObject, StepVector, NbOfSteps, MakeGroups=False): - if ( isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - if ( isinstance( StepVector, geompyDC.GEOM._objref_GEOM_Object)): - StepVector = self.smeshpyD.GetDirStruct(StepVector) - if MakeGroups: - return self.editor.ExtrusionSweepObject1DMakeGroups(theObject, StepVector, NbOfSteps) - self.editor.ExtrusionSweepObject1D(theObject, StepVector, NbOfSteps) - return [] +## Class to define a projection 1D algorithm +# +# More details. +class Mesh_Projection1D(Mesh_Algorithm): + + ## Private constructor. + def __init__(self, mesh, geom=0): + Mesh_Algorithm.__init__(self) + self.Create(mesh, geom, "Projection_1D") + + ## Define "Source Edge" hypothesis, specifying a meshed edge to + # take a mesh pattern from, and optionally association of vertices + # between the source edge and a target one (where a hipothesis is assigned to) + # @param edge to take nodes distribution from + # @param mesh to take nodes distribution from (optional) + # @param srcV is vertex of \a edge to associate with \a tgtV (optional) + # @param tgtV is vertex of \a the edge where the algorithm is assigned, + # to associate with \a srcV (optional) + # @param UseExisting if ==true - search existing hypothesis created with + # same parameters, else (default) - create new + def SourceEdge(self, edge, mesh=None, srcV=None, tgtV=None, UseExisting=0): + hyp = self.Hypothesis("ProjectionSource1D", [edge,mesh,srcV,tgtV], + UseExisting=0) + #UseExisting=UseExisting, CompareMethod=self.CompareSourceEdge) + hyp.SetSourceEdge( edge ) + if not mesh is None and isinstance(mesh, Mesh): + mesh = mesh.GetMesh() + hyp.SetSourceMesh( mesh ) + hyp.SetVertexAssociation( srcV, tgtV ) + return hyp - ## Generate new elements by extrusion of the elements belong to object - # @param theObject object wich elements should be processed - # @param StepVector vector, defining the direction and value of extrusion - # @param NbOfSteps the number of steps - # @param MakeGroups to generate new groups from existing ones - def ExtrusionSweepObject2D(self, theObject, StepVector, NbOfSteps, MakeGroups=False): - if ( isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - if ( isinstance( StepVector, geompyDC.GEOM._objref_GEOM_Object)): - StepVector = self.smeshpyD.GetDirStruct(StepVector) - if MakeGroups: - return self.editor.ExtrusionSweepObject2DMakeGroups(theObject, StepVector, NbOfSteps) - self.editor.ExtrusionSweepObject2D(theObject, StepVector, NbOfSteps) - return [] + ## Check if the given "SourceEdge" hypothesis has the same parameters as given arguments + #def CompareSourceEdge(self, hyp, args): + # # seems to be not really useful to reuse existing "SourceEdge" hypothesis + # return False - ## Generate new elements by extrusion of the given elements - # A path of extrusion must be a meshed edge. - # @param IDsOfElements is ids of elements - # @param PathMesh mesh containing a 1D sub-mesh on the edge, along which proceeds the extrusion - # @param PathShape is shape(edge); as the mesh can be complex, the edge is used to define the sub-mesh for the path - # @param NodeStart the first or the last node on the edge. It is used to define the direction of extrusion - # @param HasAngles allows the shape to be rotated around the path to get the resulting mesh in a helical fashion - # @param Angles list of angles - # @param HasRefPoint allows to use base point - # @param RefPoint point around which the shape is rotated(the mass center of the shape by default). - # User can specify any point as the Base Point and the shape will be rotated with respect to this point. - # @param MakeGroups to generate new groups from existing ones - # @param LinearVariation makes compute rotation angles as linear variation of given Angles along path steps - def ExtrusionAlongPath(self, IDsOfElements, PathMesh, PathShape, NodeStart, - HasAngles, Angles, HasRefPoint, RefPoint, - MakeGroups=False, LinearVariation=False): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - if ( isinstance( RefPoint, geompyDC.GEOM._objref_GEOM_Object)): - RefPoint = self.smeshpyD.GetPointStruct(RefPoint) - pass - if MakeGroups: - return self.editor.ExtrusionAlongPathMakeGroups(IDsOfElements, PathMesh.GetMesh(), - PathShape, NodeStart, HasAngles, - Angles, HasRefPoint, RefPoint) - return self.editor.ExtrusionAlongPath(IDsOfElements, PathMesh.GetMesh(), PathShape, - NodeStart, HasAngles, Angles, HasRefPoint, RefPoint) - ## Generate new elements by extrusion of the elements belong to object - # A path of extrusion must be a meshed edge. - # @param IDsOfElements is ids of elements - # @param PathMesh mesh containing a 1D sub-mesh on the edge, along which proceeds the extrusion - # @param PathShape is shape(edge); as the mesh can be complex, the edge is used to define the sub-mesh for the path - # @param NodeStart the first or the last node on the edge. It is used to define the direction of extrusion - # @param HasAngles allows the shape to be rotated around the path to get the resulting mesh in a helical fashion - # @param Angles list of angles - # @param HasRefPoint allows to use base point - # @param RefPoint point around which the shape is rotated(the mass center of the shape by default). - # User can specify any point as the Base Point and the shape will be rotated with respect to this point. - # @param MakeGroups to generate new groups from existing ones - # @param LinearVariation makes compute rotation angles as linear variation of given Angles along path steps - def ExtrusionAlongPathObject(self, theObject, PathMesh, PathShape, NodeStart, - HasAngles, Angles, HasRefPoint, RefPoint, - MakeGroups=False, LinearVariation=False): - if ( isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - if ( isinstance( RefPoint, geompyDC.GEOM._objref_GEOM_Object)): - RefPoint = self.smeshpyD.GetPointStruct(RefPoint) - if MakeGroups: - return self.editor.ExtrusionAlongPathObjectMakeGroups(theObject, PathMesh.GetMesh(), - PathShape, NodeStart, HasAngles, - Angles, HasRefPoint, RefPoint) - return self.editor.ExtrusionAlongPathObject(theObject, PathMesh.GetMesh(), PathShape, - NodeStart, HasAngles, Angles, HasRefPoint, - RefPoint) +# Public class: Mesh_Projection2D +# ------------------------------ - ## Symmetrical copy of mesh elements - # @param IDsOfElements list of elements ids - # @param Mirror is AxisStruct or geom object(point, line, plane) - # @param theMirrorType is POINT, AXIS or PLANE - # If the Mirror is geom object this parameter is unnecessary - # @param Copy allows to copy element(Copy is 1) or to replace with its mirroring(Copy is 0) - # @param MakeGroups to generate new groups from existing ones (if Copy) - def Mirror(self, IDsOfElements, Mirror, theMirrorType, Copy=0, MakeGroups=False): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - if ( isinstance( Mirror, geompyDC.GEOM._objref_GEOM_Object)): - Mirror = self.smeshpyD.GetAxisStruct(Mirror) - if Copy and MakeGroups: - return self.editor.MirrorMakeGroups(IDsOfElements, Mirror, theMirrorType) - self.editor.Mirror(IDsOfElements, Mirror, theMirrorType, Copy) - return [] +## Class to define a projection 2D algorithm +# +# More details. +class Mesh_Projection2D(Mesh_Algorithm): - ## Create a new mesh by symmetrical copy of mesh elements - # @param IDsOfElements list of elements ids - # @param Mirror is AxisStruct or geom object(point, line, plane) - # @param theMirrorType is POINT, AXIS or PLANE - # If the Mirror is geom object this parameter is unnecessary - # @param MakeGroups to generate new groups from existing ones - # @param NewMeshName is a name of new mesh to create - def MirrorMakeMesh(self, IDsOfElements, Mirror, theMirrorType, MakeGroups=0, NewMeshName=""): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - if ( isinstance( Mirror, geompyDC.GEOM._objref_GEOM_Object)): - Mirror = self.smeshpyD.GetAxisStruct(Mirror) - mesh = self.editor.MirrorMakeMesh(IDsOfElements, Mirror, theMirrorType, - MakeGroups, NewMeshName) - return Mesh(self.smeshpyD,self.geompyD,mesh) + ## Private constructor. + def __init__(self, mesh, geom=0): + Mesh_Algorithm.__init__(self) + self.Create(mesh, geom, "Projection_2D") - ## Symmetrical copy of object - # @param theObject mesh, submesh or group - # @param Mirror is AxisStruct or geom object(point, line, plane) - # @param theMirrorType is POINT, AXIS or PLANE - # If the Mirror is geom object this parameter is unnecessary - # @param Copy allows to copy element(Copy is 1) or to replace with its mirroring(Copy is 0) - # @param MakeGroups to generate new groups from existing ones (if Copy) - def MirrorObject (self, theObject, Mirror, theMirrorType, Copy=0, MakeGroups=False): - if ( isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - if ( isinstance( Mirror, geompyDC.GEOM._objref_GEOM_Object)): - Mirror = self.smeshpyD.GetAxisStruct(Mirror) - if Copy and MakeGroups: - return self.editor.MirrorObjectMakeGroups(theObject, Mirror, theMirrorType) - self.editor.MirrorObject(theObject, Mirror, theMirrorType, Copy) - return [] + ## Define "Source Face" hypothesis, specifying a meshed face to + # take a mesh pattern from, and optionally association of vertices + # between the source face and a target one (where a hipothesis is assigned to) + # @param face to take mesh pattern from + # @param mesh to take mesh pattern from (optional) + # @param srcV1 is vertex of \a face to associate with \a tgtV1 (optional) + # @param tgtV1 is vertex of \a the face where the algorithm is assigned, + # to associate with \a srcV1 (optional) + # @param srcV2 is vertex of \a face to associate with \a tgtV1 (optional) + # @param tgtV2 is vertex of \a the face where the algorithm is assigned, + # to associate with \a srcV2 (optional) + # @param UseExisting if ==true - search existing hypothesis created with + # same parameters, else (default) - create new + # + # Note: association vertices must belong to one edge of a face + def SourceFace(self, face, mesh=None, srcV1=None, tgtV1=None, + srcV2=None, tgtV2=None, UseExisting=0): + hyp = self.Hypothesis("ProjectionSource2D", [face,mesh,srcV1,tgtV1,srcV2,tgtV2], + UseExisting=0) + #UseExisting=UseExisting, CompareMethod=self.CompareSourceFace) + hyp.SetSourceFace( face ) + if not mesh is None and isinstance(mesh, Mesh): + mesh = mesh.GetMesh() + hyp.SetSourceMesh( mesh ) + hyp.SetVertexAssociation( srcV1, srcV2, tgtV1, tgtV2 ) + return hyp - ## Create a new mesh by symmetrical copy of object - # @param theObject mesh, submesh or group - # @param Mirror is AxisStruct or geom object(point, line, plane) - # @param theMirrorType is POINT, AXIS or PLANE - # If the Mirror is geom object this parameter is unnecessary - # @param MakeGroups to generate new groups from existing ones - # @param NewMeshName is a name of new mesh to create - def MirrorObjectMakeMesh (self, theObject, Mirror, theMirrorType,MakeGroups=0, NewMeshName=""): - if ( isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - if (isinstance(Mirror, geompyDC.GEOM._objref_GEOM_Object)): - Mirror = self.smeshpyD.GetAxisStruct(Mirror) - mesh = self.editor.MirrorObjectMakeMesh(theObject, Mirror, theMirrorType, - MakeGroups, NewMeshName) - return Mesh( self.smeshpyD,self.geompyD,mesh ) + ## Check if the given "SourceFace" hypothesis has the same parameters as given arguments + #def CompareSourceFace(self, hyp, args): + # # seems to be not really useful to reuse existing "SourceFace" hypothesis + # return False - ## Translates the elements - # @param IDsOfElements list of elements ids - # @param Vector direction of translation(DirStruct or vector) - # @param Copy allows to copy the translated elements - # @param MakeGroups to generate new groups from existing ones (if Copy) - def Translate(self, IDsOfElements, Vector, Copy, MakeGroups=False): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - if ( isinstance( Vector, geompyDC.GEOM._objref_GEOM_Object)): - Vector = self.smeshpyD.GetDirStruct(Vector) - if Copy and MakeGroups: - return self.editor.TranslateMakeGroups(IDsOfElements, Vector) - self.editor.Translate(IDsOfElements, Vector, Copy) - return [] +# Public class: Mesh_Projection3D +# ------------------------------ - ## Create a new mesh of translated elements - # @param IDsOfElements list of elements ids - # @param Vector direction of translation(DirStruct or vector) - # @param MakeGroups to generate new groups from existing ones - # @param NewMeshName is a name of new mesh to create - def TranslateMakeMesh(self, IDsOfElements, Vector, MakeGroups=False, NewMeshName=""): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - if ( isinstance( Vector, geompyDC.GEOM._objref_GEOM_Object)): - Vector = self.smeshpyD.GetDirStruct(Vector) - mesh = self.editor.TranslateMakeMesh(IDsOfElements, Vector, MakeGroups, NewMeshName) - return Mesh ( self.smeshpyD, self.geompyD, mesh ) +## Class to define a projection 3D algorithm +# +# More details. +class Mesh_Projection3D(Mesh_Algorithm): - ## Translates the object - # @param theObject object to translate(mesh, submesh, or group) - # @param Vector direction of translation(DirStruct or geom vector) - # @param Copy allows to copy the translated elements - # @param MakeGroups to generate new groups from existing ones (if Copy) - def TranslateObject(self, theObject, Vector, Copy, MakeGroups=False): - if ( isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - if ( isinstance( Vector, geompyDC.GEOM._objref_GEOM_Object)): - Vector = self.smeshpyD.GetDirStruct(Vector) - if Copy and MakeGroups: - return self.editor.TranslateObjectMakeGroups(theObject, Vector) - self.editor.TranslateObject(theObject, Vector, Copy) - return [] + ## Private constructor. + def __init__(self, mesh, geom=0): + Mesh_Algorithm.__init__(self) + self.Create(mesh, geom, "Projection_3D") + + ## Define "Source Shape 3D" hypothesis, specifying a meshed solid to + # take a mesh pattern from, and optionally association of vertices + # between the source solid and a target one (where a hipothesis is assigned to) + # @param solid to take mesh pattern from + # @param mesh to take mesh pattern from (optional) + # @param srcV1 is vertex of \a solid to associate with \a tgtV1 (optional) + # @param tgtV1 is vertex of \a the solid where the algorithm is assigned, + # to associate with \a srcV1 (optional) + # @param srcV2 is vertex of \a solid to associate with \a tgtV1 (optional) + # @param tgtV2 is vertex of \a the solid where the algorithm is assigned, + # to associate with \a srcV2 (optional) + # @param UseExisting - if ==true - search existing hypothesis created with + # same parameters, else (default) - create new + # + # Note: association vertices must belong to one edge of a solid + def SourceShape3D(self, solid, mesh=0, srcV1=0, tgtV1=0, + srcV2=0, tgtV2=0, UseExisting=0): + hyp = self.Hypothesis("ProjectionSource3D", + [solid,mesh,srcV1,tgtV1,srcV2,tgtV2], + UseExisting=0) + #UseExisting=UseExisting, CompareMethod=self.CompareSourceShape3D) + hyp.SetSource3DShape( solid ) + if not mesh is None and isinstance(mesh, Mesh): + mesh = mesh.GetMesh() + hyp.SetSourceMesh( mesh ) + hyp.SetVertexAssociation( srcV1, srcV2, tgtV1, tgtV2 ) + return hyp - ## Create a new mesh from translated object - # @param theObject object to translate(mesh, submesh, or group) - # @param Vector direction of translation(DirStruct or geom vector) - # @param MakeGroups to generate new groups from existing ones - # @param NewMeshName is a name of new mesh to create - def TranslateObjectMakeMesh(self, theObject, Vector, MakeGroups=False, NewMeshName=""): - if (isinstance(theObject, Mesh)): - theObject = theObject.GetMesh() - if (isinstance(Vector, geompyDC.GEOM._objref_GEOM_Object)): - Vector = self.smeshpyD.GetDirStruct(Vector) - mesh = self.editor.TranslateObjectMakeMesh(theObject, Vector, MakeGroups, NewMeshName) - return Mesh( self.smeshpyD, self.geompyD, mesh ) + ## Check if the given "SourceShape3D" hypothesis has the same parameters as given arguments + #def CompareSourceShape3D(self, hyp, args): + # # seems to be not really useful to reuse existing "SourceShape3D" hypothesis + # return False - ## Rotates the elements - # @param IDsOfElements list of elements ids - # @param Axis axis of rotation(AxisStruct or geom line) - # @param AngleInRadians angle of rotation(in radians) - # @param Copy allows to copy the rotated elements - # @param MakeGroups to generate new groups from existing ones (if Copy) - def Rotate (self, IDsOfElements, Axis, AngleInRadians, Copy, MakeGroups=False): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - if ( isinstance( Axis, geompyDC.GEOM._objref_GEOM_Object)): - Axis = self.smeshpyD.GetAxisStruct(Axis) - if Copy and MakeGroups: - return self.editor.RotateMakeGroups(IDsOfElements, Axis, AngleInRadians) - self.editor.Rotate(IDsOfElements, Axis, AngleInRadians, Copy) - return [] - ## Create a new mesh of rotated elements - # @param IDsOfElements list of element ids - # @param Axis axis of rotation(AxisStruct or geom line) - # @param AngleInRadians angle of rotation(in radians) - # @param MakeGroups to generate new groups from existing ones - # @param NewMeshName is a name of new mesh to create - def RotateMakeMesh (self, IDsOfElements, Axis, AngleInRadians, MakeGroups=0, NewMeshName=""): - if IDsOfElements == []: - IDsOfElements = self.GetElementsId() - if ( isinstance( Axis, geompyDC.GEOM._objref_GEOM_Object)): - Axis = self.smeshpyD.GetAxisStruct(Axis) - mesh = self.editor.RotateMakeMesh(IDsOfElements, Axis, AngleInRadians, - MakeGroups, NewMeshName) - return Mesh( self.smeshpyD, self.geompyD, mesh ) +# Public class: Mesh_Prism +# ------------------------ - ## Rotates the object - # @param theObject object to rotate(mesh, submesh, or group) - # @param Axis axis of rotation(AxisStruct or geom line) - # @param AngleInRadians angle of rotation(in radians) - # @param Copy allows to copy the rotated elements - # @param MakeGroups to generate new groups from existing ones (if Copy) - def RotateObject (self, theObject, Axis, AngleInRadians, Copy, MakeGroups=False): - if (isinstance(theObject, Mesh)): - theObject = theObject.GetMesh() - if (isinstance(Axis, geompyDC.GEOM._objref_GEOM_Object)): - Axis = self.smeshpyD.GetAxisStruct(Axis) - if Copy and MakeGroups: - return self.editor.RotateObjectMakeGroups(theObject, Axis, AngleInRadians) - self.editor.RotateObject(theObject, Axis, AngleInRadians, Copy) - return [] +## Class to define a 3D extrusion algorithm +# +# More details. +class Mesh_Prism3D(Mesh_Algorithm): - ## Create a new mesh from a rotated object - # @param theObject object to rotate (mesh, submesh, or group) - # @param Axis axis of rotation(AxisStruct or geom line) - # @param AngleInRadians angle of rotation(in radians) - # @param MakeGroups to generate new groups from existing ones - # @param NewMeshName is a name of new mesh to create - def RotateObjectMakeMesh(self, theObject, Axis, AngleInRadians, MakeGroups=0,NewMeshName=""): - if (isinstance( theObject, Mesh )): - theObject = theObject.GetMesh() - if (isinstance(Axis, geompyDC.GEOM._objref_GEOM_Object)): - Axis = self.smeshpyD.GetAxisStruct(Axis) - mesh = self.editor.RotateObjectMakeMesh(theObject, Axis, AngleInRadians, - MakeGroups, NewMeshName) - return Mesh( self.smeshpyD, self.geompyD, mesh ) + ## Private constructor. + def __init__(self, mesh, geom=0): + Mesh_Algorithm.__init__(self) + self.Create(mesh, geom, "Prism_3D") - ## Find group of nodes close to each other within Tolerance. - # @param Tolerance tolerance value - # @param list of group of nodes - def FindCoincidentNodes (self, Tolerance): - return self.editor.FindCoincidentNodes(Tolerance) +# Public class: Mesh_RadialPrism +# ------------------------------- - ## Find group of nodes close to each other within Tolerance. - # @param Tolerance tolerance value - # @param SubMeshOrGroup SubMesh or Group - # @param list of group of nodes - def FindCoincidentNodesOnPart (self, SubMeshOrGroup, Tolerance): - return self.editor.FindCoincidentNodesOnPart(SubMeshOrGroup, Tolerance) +## Class to define a Radial Prism 3D algorithm +# +# More details. +class Mesh_RadialPrism3D(Mesh_Algorithm): - ## Merge nodes - # @param list of group of nodes - def MergeNodes (self, GroupsOfNodes): - self.editor.MergeNodes(GroupsOfNodes) + ## Private constructor. + def __init__(self, mesh, geom=0): + Mesh_Algorithm.__init__(self) + self.Create(mesh, geom, "RadialPrism_3D") - ## Find elements built on the same nodes. - # @param MeshOrSubMeshOrGroup Mesh or SubMesh, or Group of elements for searching - # @return a list of groups of equal elements - def FindEqualElements (self, MeshOrSubMeshOrGroup): - return self.editor.FindEqualElements(MeshOrSubMeshOrGroup) + self.distribHyp = self.Hypothesis("LayerDistribution", UseExisting=0) + self.nbLayers = None - ## Merge elements in each given group. - # @param GroupsOfElementsID groups of elements for merging - def MergeElements(self, GroupsOfElementsID): - self.editor.MergeElements(GroupsOfElementsID) + ## Return 3D hypothesis holding the 1D one + def Get3DHypothesis(self): + return self.distribHyp - ## Remove all but one of elements built on the same nodes. - def MergeEqualElements(self): - self.editor.MergeEqualElements() + ## Private method creating 1D hypothes and storing it in the LayerDistribution + # hypothes. Returns the created hypothes + def OwnHypothesis(self, hypType, args=[], so="libStdMeshersEngine.so"): + #print "OwnHypothesis",hypType + if not self.nbLayers is None: + self.mesh.GetMesh().RemoveHypothesis( self.geom, self.nbLayers ) + self.mesh.GetMesh().AddHypothesis( self.geom, self.distribHyp ) + study = self.mesh.smeshpyD.GetCurrentStudy() # prevent publishing of own 1D hypothesis + hyp = self.mesh.smeshpyD.CreateHypothesis(hypType, so) + self.mesh.smeshpyD.SetCurrentStudy( study ) # anable publishing + self.distribHyp.SetLayerDistribution( hyp ) + return hyp - ## Sew free borders - def SewFreeBorders (self, FirstNodeID1, SecondNodeID1, LastNodeID1, - FirstNodeID2, SecondNodeID2, LastNodeID2, - CreatePolygons, CreatePolyedrs): - return self.editor.SewFreeBorders(FirstNodeID1, SecondNodeID1, LastNodeID1, - FirstNodeID2, SecondNodeID2, LastNodeID2, - CreatePolygons, CreatePolyedrs) + ## Define "NumberOfLayers" hypothesis, specifying a number of layers of + # prisms to build between the inner and outer shells + # @param UseExisting if ==true - search existing hypothesis created with + # same parameters, else (default) - create new + def NumberOfLayers(self, n, UseExisting=0): + self.mesh.GetMesh().RemoveHypothesis( self.geom, self.distribHyp ) + self.nbLayers = self.Hypothesis("NumberOfLayers", [n], UseExisting=UseExisting, + CompareMethod=self.CompareNumberOfLayers) + self.nbLayers.SetNumberOfLayers( n ) + return self.nbLayers - ## Sew conform free borders - def SewConformFreeBorders (self, FirstNodeID1, SecondNodeID1, LastNodeID1, - FirstNodeID2, SecondNodeID2): - return self.editor.SewConformFreeBorders(FirstNodeID1, SecondNodeID1, LastNodeID1, - FirstNodeID2, SecondNodeID2) + ## Check if the given "NumberOfLayers" hypothesis has the same parameters as given arguments + def CompareNumberOfLayers(self, hyp, args): + return IsEqual(hyp.GetNumberOfLayers(), args[0]) - ## Sew border to side - def SewBorderToSide (self, FirstNodeIDOnFreeBorder, SecondNodeIDOnFreeBorder, LastNodeIDOnFreeBorder, - FirstNodeIDOnSide, LastNodeIDOnSide, CreatePolygons, CreatePolyedrs): - return self.editor.SewBorderToSide(FirstNodeIDOnFreeBorder, SecondNodeIDOnFreeBorder, LastNodeIDOnFreeBorder, - FirstNodeIDOnSide, LastNodeIDOnSide, CreatePolygons, CreatePolyedrs) + ## Define "LocalLength" hypothesis, specifying segment length + # to build between the inner and outer shells + # @param l for the length of segments + # @param p for the precision of rounding + def LocalLength(self, l, p=1e-07): + hyp = self.OwnHypothesis("LocalLength", [l,p]) + hyp.SetLength(l) + hyp.SetPrecision(p) + return hyp - ## Sew two sides of a mesh. Nodes belonging to Side1 are - # merged with nodes of elements of Side2. - # Number of elements in theSide1 and in theSide2 must be - # equal and they should have similar node connectivity. - # The nodes to merge should belong to sides borders and - # the first node should be linked to the second. - def SewSideElements (self, IDsOfSide1Elements, IDsOfSide2Elements, - NodeID1OfSide1ToMerge, NodeID1OfSide2ToMerge, - NodeID2OfSide1ToMerge, NodeID2OfSide2ToMerge): - return self.editor.SewSideElements(IDsOfSide1Elements, IDsOfSide2Elements, - NodeID1OfSide1ToMerge, NodeID1OfSide2ToMerge, - NodeID2OfSide1ToMerge, NodeID2OfSide2ToMerge) + ## Define "NumberOfSegments" hypothesis, specifying a number of layers of + # prisms to build between the inner and outer shells + # @param n for the number of segments + # @param s for the scale factor (optional) + def NumberOfSegments(self, n, s=[]): + if s == []: + hyp = self.OwnHypothesis("NumberOfSegments", [n]) + else: + hyp = self.OwnHypothesis("NumberOfSegments", [n,s]) + hyp.SetDistrType( 1 ) + hyp.SetScaleFactor(s) + hyp.SetNumberOfSegments(n) + return hyp - ## Set new nodes for given element. - # @param ide the element id - # @param newIDs nodes ids - # @return If number of nodes is not corresponded to type of element - returns false - def ChangeElemNodes(self, ide, newIDs): - return self.editor.ChangeElemNodes(ide, newIDs) + ## Define "Arithmetic1D" hypothesis, specifying distribution of segments + # to build between the inner and outer shells as arithmetic length increasing + # @param start for the length of the first segment + # @param end for the length of the last segment + def Arithmetic1D(self, start, end ): + hyp = self.OwnHypothesis("Arithmetic1D", [start, end]) + hyp.SetLength(start, 1) + hyp.SetLength(end , 0) + return hyp - ## If during last operation of MeshEditor some nodes were - # created this method returns list of its IDs, \n - # if new nodes not created - returns empty list - def GetLastCreatedNodes(self): - return self.editor.GetLastCreatedNodes() + ## Define "StartEndLength" hypothesis, specifying distribution of segments + # to build between the inner and outer shells as geometric length increasing + # @param start for the length of the first segment + # @param end for the length of the last segment + def StartEndLength(self, start, end): + hyp = self.OwnHypothesis("StartEndLength", [start, end]) + hyp.SetLength(start, 1) + hyp.SetLength(end , 0) + return hyp - ## If during last operation of MeshEditor some elements were - # created this method returns list of its IDs, \n - # if new elements not creared - returns empty list - def GetLastCreatedElems(self): - return self.editor.GetLastCreatedElems() + ## Define "AutomaticLength" hypothesis, specifying number of segments + # to build between the inner and outer shells + # @param fineness for the fineness [0-1] + def AutomaticLength(self, fineness=0): + hyp = self.OwnHypothesis("AutomaticLength") + hyp.SetFineness( fineness ) + return hyp + +# Private class: Mesh_UseExisting +# ------------------------------- +class Mesh_UseExisting(Mesh_Algorithm): + + def __init__(self, dim, mesh, geom=0): + if dim == 1: + self.Create(mesh, geom, "UseExisting_1D") + else: + self.Create(mesh, geom, "UseExisting_2D")