mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-12 00:29:18 +05:00
18 lines
262 B
Plaintext
18 lines
262 B
Plaintext
|
/*!
|
||
|
|
||
|
\page tui_check_shape_page Check Shape
|
||
|
|
||
|
\code
|
||
|
import geompy
|
||
|
|
||
|
# create a box
|
||
|
box = geompy.MakeBoxDXDYDZ(100,30,100)
|
||
|
IsValid = geompy.CheckShape(box)
|
||
|
if IsValid == 0:
|
||
|
raise RuntimeError, "Invalid box created"
|
||
|
else:
|
||
|
print "\nBox is valid"
|
||
|
\endcode
|
||
|
|
||
|
*/
|