Version: 9.15.0
What Is
# What Is
import
salome
salome.salome_init_without_session()
import
GEOM
from
salome.geom
import
geomBuilder
geompy =
geomBuilder.New
()
# create a box
box = geompy.MakeBoxDXDYDZ(100,30,100)
Descr = geompy.WhatIs(box)
print(
"\nBox 100x30x100 description:"
)
print(Descr)
geomBuilder::New
def New(instance=None)
Download this script
Introduction to Geometry
Geometry module Python Interface
Python Interface geomBuilder.py
Measurement Tools
Copyright © 2007-2025 CEA, EDF, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS