hoops_ai.cadaccess.HOOPSModel

class hoops_ai.cadaccess.HOOPSModel(intern_model, filesource='')

Bases: CADModel

Parameters:
  • intern_model (Any)

  • filesource (str)

get()
Return type:

Any

get_body(body_index=0)

Get body by index (0-based)

Parameters:

body_index (int)

Return type:

Any

get_body_count()

Get the total number of bodies in the model

Return type:

int

get_brep(body_index=0)

Get BrepAccess for the body at the specified index

Parameters:

body_index (int)

Return type:

BrepAccess

get_filesource()
get_mesh(body_index=0)

Get HOOPSMesh for the body at the specified index

Parameters:

body_index (int)

Return type:

HOOPSMesh