Add a geometry to a documentΒΆ

To add a geometry to a document in python mode, you need the following arguments:

  • doc : the document
  • geom : the geometry
  • shape_name : the name of the geometry

Use the function addShape:

doc   = hexablock.addDocument (doc_name)
geom  = geompy.ImportBREP  (shape_name + ".brep")
shape = hexablock.addShape (doc, geom , shape_name)

GUI command: Add a geometry to a document

Previous topic

Associations

Next topic

Associate the model of blocks to the geometry

This Page