mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Allow creating smeshBuilder before geomBuilder
This commit is contained in:
parent
074862c213
commit
7e7ad126e7
@ -195,7 +195,7 @@ PolySegment
|
|||||||
.. py:class:: PolySegment
|
.. py:class:: PolySegment
|
||||||
|
|
||||||
Define a cutting plane passing through two points.
|
Define a cutting plane passing through two points.
|
||||||
Used in :meth:`smeshBuilder.Mesh.MakePolyLine`
|
Used in :meth:`~smeshBuilder.Mesh.MakePolyLine`
|
||||||
|
|
||||||
.. py:attribute:: node1ID1, node1ID2
|
.. py:attribute:: node1ID1, node1ID2
|
||||||
|
|
||||||
@ -545,7 +545,7 @@ Filter
|
|||||||
Return satisfying elements
|
Return satisfying elements
|
||||||
|
|
||||||
:param SMESH.SMESH_Mesh mesh: the mesh;
|
:param SMESH.SMESH_Mesh mesh: the mesh;
|
||||||
it can be obtained via :meth:`smeshBuilder.Mesh.GetMesh`
|
it can be obtained via :meth:`~smeshBuilder.Mesh.GetMesh`
|
||||||
|
|
||||||
:return: list of IDs
|
:return: list of IDs
|
||||||
|
|
||||||
@ -553,7 +553,7 @@ Filter
|
|||||||
|
|
||||||
Return satisfying elements.
|
Return satisfying elements.
|
||||||
A mesh to filter must be already set, either via :meth:`SetMesh` method
|
A mesh to filter must be already set, either via :meth:`SetMesh` method
|
||||||
or via ``mesh`` argument of :meth:`smeshBuilder.smeshBuilder.GetFilter`
|
or via ``mesh`` argument of :meth:`~smeshBuilder.smeshBuilder.GetFilter`
|
||||||
|
|
||||||
:return: list of IDs
|
:return: list of IDs
|
||||||
|
|
||||||
@ -562,7 +562,7 @@ Filter
|
|||||||
Set mesh to filter
|
Set mesh to filter
|
||||||
|
|
||||||
:param SMESH.SMESH_Mesh mesh: the mesh;
|
:param SMESH.SMESH_Mesh mesh: the mesh;
|
||||||
it can be obtained via :meth:`smeshBuilder.Mesh.GetMesh`
|
it can be obtained via :meth:`~smeshBuilder.Mesh.GetMesh`
|
||||||
|
|
||||||
.. py:function:: SetCriteria( criteria )
|
.. py:function:: SetCriteria( criteria )
|
||||||
|
|
||||||
@ -605,7 +605,7 @@ SMESH_MeshEditor
|
|||||||
|
|
||||||
.. py:class:: Extrusion_Error
|
.. py:class:: Extrusion_Error
|
||||||
|
|
||||||
Enumeration of errors of :meth:`smeshBuilder.Mesh.ExtrusionAlongPathObjects`
|
Enumeration of errors of :meth:`~smeshBuilder.Mesh.ExtrusionAlongPathObjects`
|
||||||
|
|
||||||
.. py:attribute::
|
.. py:attribute::
|
||||||
EXTR_OK
|
EXTR_OK
|
||||||
@ -777,7 +777,7 @@ SMESH_subMesh
|
|||||||
.. py:function:: GetMeshInfo()
|
.. py:function:: GetMeshInfo()
|
||||||
|
|
||||||
Return number of mesh elements of each :class:`SMESH.EntityType`.
|
Return number of mesh elements of each :class:`SMESH.EntityType`.
|
||||||
Use :meth:`smeshBuilder.smeshBuilder.EnumToLong` to get an integer from
|
Use :meth:`~smeshBuilder.smeshBuilder.EnumToLong` to get an integer from
|
||||||
an item of :class:`SMESH.EntityType`.
|
an item of :class:`SMESH.EntityType`.
|
||||||
|
|
||||||
:return: array of number of elements per :class:`SMESH.EntityType`
|
:return: array of number of elements per :class:`SMESH.EntityType`
|
||||||
@ -912,7 +912,7 @@ SMESH_IDSource
|
|||||||
* :class:`SMESH.SMESH_subMesh`
|
* :class:`SMESH.SMESH_subMesh`
|
||||||
* :class:`SMESH.SMESH_GroupBase`
|
* :class:`SMESH.SMESH_GroupBase`
|
||||||
* :class:`SMESH.Filter`
|
* :class:`SMESH.Filter`
|
||||||
* temporal ID source created by :meth:`smeshBuilder.Mesh.GetIDSource`
|
* temporal ID source created by :meth:`~smeshBuilder.Mesh.GetIDSource`
|
||||||
|
|
||||||
.. py:function:: GetIDs()
|
.. py:function:: GetIDs()
|
||||||
|
|
||||||
@ -921,13 +921,13 @@ SMESH_IDSource
|
|||||||
.. py:function:: GetMeshInfo()
|
.. py:function:: GetMeshInfo()
|
||||||
|
|
||||||
Return number of mesh elements of each :class:`SMESH.EntityType`.
|
Return number of mesh elements of each :class:`SMESH.EntityType`.
|
||||||
Use :meth:`smeshBuilder.smeshBuilder.EnumToLong` to get an integer from
|
Use :meth:`~smeshBuilder.smeshBuilder.EnumToLong` to get an integer from
|
||||||
an item of :class:`SMESH.EntityType`.
|
an item of :class:`SMESH.EntityType`.
|
||||||
|
|
||||||
.. py:function:: GetNbElementsByType()
|
.. py:function:: GetNbElementsByType()
|
||||||
|
|
||||||
Return number of mesh elements of each :class:`SMESH.ElementType`.
|
Return number of mesh elements of each :class:`SMESH.ElementType`.
|
||||||
Use :meth:`smeshBuilder.smeshBuilder.EnumToLong` to get an integer from
|
Use :meth:`~smeshBuilder.smeshBuilder.EnumToLong` to get an integer from
|
||||||
an item of :class:`SMESH.ElementType`.
|
an item of :class:`SMESH.ElementType`.
|
||||||
|
|
||||||
|
|
||||||
|
@ -619,6 +619,8 @@ class smeshBuilder( SMESH._objref_SMESH_Gen, object ):
|
|||||||
if not geompyD:
|
if not geompyD:
|
||||||
from salome.geom import geomBuilder
|
from salome.geom import geomBuilder
|
||||||
geompyD = geomBuilder.geom
|
geompyD = geomBuilder.geom
|
||||||
|
if not geompyD:
|
||||||
|
geompyD = geomBuilder.New()
|
||||||
pass
|
pass
|
||||||
self.geompyD=geompyD
|
self.geompyD=geompyD
|
||||||
self.SetGeomEngine(geompyD)
|
self.SetGeomEngine(geompyD)
|
||||||
|
Loading…
Reference in New Issue
Block a user