mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
Correction of script because of 'geompyDC' refactoring.
This commit is contained in:
parent
bb5c11a5ed
commit
7f7f68d7de
@ -302,8 +302,8 @@ class StdMeshersBuilder_Segment(Mesh_Algorithm):
|
|||||||
store_geom = self.geom
|
store_geom = self.geom
|
||||||
if type(vertex) is types.IntType:
|
if type(vertex) is types.IntType:
|
||||||
if vertex == 0 or vertex == 1:
|
if vertex == 0 or vertex == 1:
|
||||||
from salome.geom import geomBuilder
|
from geompy import ShapeType
|
||||||
vertex = self.mesh.geompyD.ExtractShapes(self.geom, geomBuilder.ShapeType["VERTEX"],True)[vertex]
|
vertex = self.mesh.geompyD.ExtractShapes(self.geom, ShapeType["VERTEX"],True)[vertex]
|
||||||
self.geom = vertex
|
self.geom = vertex
|
||||||
pass
|
pass
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user