Salome HOME
Merge branch 'fbt/addAngleInCylPrimitive'
[modules/geom.git] / doc / salome / gui / GEOM / input / tui_check_compound_of_blocks.doc
index 1bd2fe9bb813d6fbfc9897f0bae911f4b99b6066..ff448334bfcd58b24d77addc01343eba9e3e6e08 100644 (file)
@@ -1,27 +1,6 @@
 /*!
 
 \page tui_check_compound_of_blocks_page Check Compound of Blocks
-
-\code
-import geompy
-import salome
-gg = salome.ImportComponentGUI("GEOM")
-
-# create boxes
-box1 = geompy.MakeBox(0,0,0,100,50,100)
-box2 = geompy.MakeBox(100,0,0,250,50,100)
-
-# make a compound
-compound = geompy.MakeCompound([box1, box2])
-
-# glue the faces of the compound
-tolerance = 1e-5
-glue = geompy.MakeGlueFaces(compound, tolerance)
-IsValid = geompy.CheckCompoundOfBlocks(glue)
-if IsValid == 0:
-    raise RuntimeError, "Invalid compound created"
-else:
-    print "\nCompound is valid"
-\endcode
+\tui_script{check_compound_of_blocks.py}
 
 */