Jump to content

Recommended Posts

  • [An...] changed the title to Query for preliminary actual mesh in project?

You can try to compute if there is a mesh in the program:

import gom

mesh_in_program = False

try:
    print(gom.app.project.parts['Part'].actual.computation_status)
    mesh_in_program = True
    mesh_points = gom.app.project.parts['Part'].actual.num_points
    print(f'Mesh found in program: {mesh_points} points')
except:
    print('No mesh in program')

 

To get the details of the polygonization quality, you would need to record that to a json file or txt file for use later.

×
×
  • Create New...