Salome HOME
Merge from V6_main 11/02/2013
[modules/geom.git] / doc / salome / gui / GEOM / input / tui_normal_face.doc
index 0c81116a8f4348ee14565b2681907175151bac55..7d31fcc265dbc627c93400f7984dd1199a770fce 100644 (file)
@@ -1,23 +1,7 @@
 /*!
 
 \page tui_normal_face_page Normal to a Face
-
-\code
-import geompy
-import math
-
-# create a box
-box = geompy.MakeBoxDXDYDZ(100,30,100)
-
-faces = geompy.SubShapeAllSortedCentres(box, geompy.ShapeType["FACE"])
-face0 = faces[0]
-vnorm = geompy.GetNormal(face0)
-if vnorm is None:
-  raise RuntimeError, "GetNormal(face0) failed"
-else:
-  geompy.addToStudy(face0, "Face0")
-  geompy.addToStudy(vnorm, "Normale to Face0")
-  print "\nNormale of face has been successfully obtained"
-\endcode
+\include normal_face.py
+<a href="../../examples/GEOM/normal_face.py">Download this script</a>
 
 */