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

Defines a projection 2D algorithm. More...

Inheritance diagram for StdMeshersBuilder_Projection2D:
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 = "Projection2D"
 name of the dynamic method in smeshBuilder.Mesh class More...
 
string algoType = "Projection_2D"
 type of algorithm used with helper function in smeshBuilder.Mesh class More...
 
 isDefault = True
 flag pointing whether this algorithm should be used by default in dynamic method of smeshBuilder.Mesh class More...
 
string docHelper = "Creates projection 2D algorithm for faces"
 doc string of the method More...
 

Detailed Description

Defines a projection 2D algorithm.

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

Constructor & Destructor Documentation

def __init__ (   self,
  mesh,
  geom = 0 
)

Member Function Documentation

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

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 = "Projection2D"
static

name of the dynamic method in smeshBuilder.Mesh class

string algoType = "Projection_2D"
static

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

isDefault = True
static

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

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

doc string of the method