]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
authoreap <eap@opencascade.com>
Thu, 16 Jul 2009 06:13:51 +0000 (06:13 +0000)
committereap <eap@opencascade.com>
Thu, 16 Jul 2009 06:13:51 +0000 (06:13 +0000)
commitf5a2b6350efe839b5b003709670fb0966b3d9d12
treeef6c8882bfe37257dae682a31f46838075228143
parent74c00347274ba846dad96d1e2dd31f1b1b76c9f8
0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
+# optionally reverse node distribution on certain edges
+allEdges = geompy.SubShapeAllSortedIDs( box, geompy.ShapeType["EDGE"])
+reversedEdges = [ allEdges[0], allEdges[4] ]
+
 # define "Arithmetic1D" hypothesis to cut all edges in several segments with increasing arithmetic length
-algo1D.Arithmetic1D(1, 4)
+algo1D.Arithmetic1D(1, 4, reversedEdges)
doc/salome/gui/SMESH/input/tui_defining_hypotheses.doc