geom/doc/salome/examples/whatis.py

14 lines
271 B
Python
Raw Normal View History

2013-02-12 17:35:16 +06:00
# What Is
import salome
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
2017-06-13 14:57:14 +05:00
geompy = geomBuilder.New()
2013-02-12 17:35:16 +06:00
# create a box
box = geompy.MakeBoxDXDYDZ(100,30,100)
Descr = geompy.WhatIs(box)
2017-02-10 21:07:24 +05:00
print("\nBox 100x30x100 description:")
print(Descr)