geom/doc/salome/examples/whatis.py

14 lines
269 B
Python
Raw Normal View History

2013-02-12 17:35:16 +06:00
# What Is
import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New(salome.myStudy)
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)