Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
StdMeshersBuilder_Projection1D2D Class Reference

Defines a projection 1D-2D algorithm. More...

Inheritance diagram for StdMeshersBuilder_Projection1D2D:
Inheritance graph

Public Member Functions

def __init__
 Private constructor. More...
 
def SourceFace
 Defines "Source Face" hypothesis, specifying a meshed face, from where a mesh pattern is taken, and, optionally, the association of vertices between the source face and the target face (to which a hypothesis is assigned) More...
 

Static Public Attributes

string meshMethod = "Projection1D2D"
 name of the dynamic method in smeshBuilder.Mesh class More...
 
string algoType = "Projection_1D2D"
 type of algorithm used with helper function in smeshBuilder.Mesh class More...
 
string docHelper = "Creates projection 1D-2D algorithm for faces"
 doc string of the method More...
 
 isDefault = True
 flag pointing whether this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class More...
 

Detailed Description

Defines a projection 1D-2D algorithm.

It is created by calling smeshBuilder.Mesh.Projection1D2D(geom=0)

Constructor & Destructor Documentation

def __init__ (   self,
  mesh,
  geom = 0 
)

Private constructor.

Parameters
meshparent mesh object algorithm is assigned to
geomgeometry (shape/sub-shape) algorithm is assigned to; if it is 0 (default), the algorithm is assigned to the main shape

Member Function Documentation

def SourceFace (   self,
  face,
  mesh = None,
  srcV1 = None,
  tgtV1 = None,
  srcV2 = None,
  tgtV2 = None,
  UseExisting = 0 
)
inherited

Defines "Source Face" hypothesis, specifying a meshed face, from where a mesh pattern is taken, and, optionally, the association of vertices between the source face and the target face (to which a hypothesis is assigned)

Parameters
facefrom which the mesh pattern is taken
meshfrom which the mesh pattern is taken (optional)
srcV1a vertex of face to associate with tgtV1 (optional)
tgtV1a vertex of the face to which the algorithm is assigned, to associate with srcV1 (optional)
srcV2a vertex of face to associate with tgtV1 (optional)
tgtV2a vertex of the face to which the algorithm is assigned, to associate with srcV2 (optional)
UseExistingif ==true - forces the search for the existing hypothesis created with the same parameters, else (default) - forces the creation a new one

Note: all association vertices must belong to one edge of a face

References smeshBuilder.AssureGeomPublished(), Mesh_Algorithm.geom, StdMeshersBuilder_Segment.geom, Mesh.geom, Mesh_Algorithm.Hypothesis(), Mesh_Algorithm.mesh, Mesh.mesh, submeshProxy.mesh, meshEditor.mesh, and algoCreator.mesh.

Field Documentation

string meshMethod = "Projection1D2D"
static

name of the dynamic method in smeshBuilder.Mesh class

string algoType = "Projection_1D2D"
static

type of algorithm used with helper function in smeshBuilder.Mesh class

string docHelper = "Creates projection 1D-2D algorithm for faces"
static

doc string of the method

isDefault = True
staticinherited

flag pointing whether this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class