
Public Member Functions | |
| def | ApplyToMeshFaces |
| def | ApplyToHexahedrons |
Definition at line 6404 of file smeshDC.py.
| def smeshDC.Pattern.ApplyToHexahedrons | ( | self, | |
| theMesh, | |||
| theVolumesIDs, | |||
| theNode000Index, | |||
| theNode001Index | |||
| ) |
Definition at line 6416 of file smeshDC.py.
06417 : 06418 flag0 = False 06419 flag1 = False 06420 if isinstance(theNode000Index,str): 06421 flag0 = True 06422 if isinstance(theNode001Index,str): 06423 flag1 = True 06424 theNode000Index,theNode001Index,Parameters = geompyDC.ParseParameters(theNode000Index,theNode001Index) 06425 if flag0: 06426 theNode000Index -= 1 06427 if flag1: 06428 theNode001Index -= 1 06429 theMesh.SetParameters(Parameters) 06430 return SMESH._objref_SMESH_Pattern.ApplyToHexahedrons( self, theMesh, theVolumesIDs, theNode000Index, theNode001Index ) 06431 06432 #Registering the new proxy for Pattern 06433 omniORB.registerObjref(SMESH._objref_SMESH_Pattern._NP_RepositoryId, Pattern)
| def smeshDC.Pattern.ApplyToMeshFaces | ( | self, | |
| theMesh, | |||
| theFacesIDs, | |||
| theNodeIndexOnKeyPoint1, | |||
| theReverse | |||
| ) |
Definition at line 6406 of file smeshDC.py.
06407 : 06408 flag = False 06409 if isinstance(theNodeIndexOnKeyPoint1,str): 06410 flag = True 06411 theNodeIndexOnKeyPoint1,Parameters = geompyDC.ParseParameters(theNodeIndexOnKeyPoint1) 06412 if flag: 06413 theNodeIndexOnKeyPoint1 -= 1 06414 theMesh.SetParameters(Parameters) 06415 return SMESH._objref_SMESH_Pattern.ApplyToMeshFaces( self, theMesh, theFacesIDs, theNodeIndexOnKeyPoint1, theReverse )