hoops_ai.cadaccess.hoops_exchange.hoops_access
Classes
|
|
- class hoops_ai.cadaccess.hoops_exchange.hoops_access.HOOPSLoader
Bases:
CADLoader- create_from_file(filename)
Reads a CAD file and initializes the CAD model.
- Parameters:
filename (str)
- Return type:
- get_general_options()
Returns the current settings (dict) for loading the CAD file, so the user can see or modify them.
- get_model()
Returns the CAD model.
- Return type:
- class hoops_ai.cadaccess.hoops_exchange.hoops_access.HOOPSModel(intern_model, filesource='')
Bases:
CADModel- get_filesource()
- class hoops_ai.cadaccess.hoops_exchange.hoops_access.HOOPSTools
Bases:
CADTools- adapt_brep(model, brep_options=None)
Helper that reads settings to adapt/prepare the BREP model.
- adapt_tesselation(model, tess_options)
.
- brep_options()
Helper that reads settings to adapt/prepare the BREP model.
- exportOBJ(model, filepath)
Export the model to a desired CAD format.
- Parameters:
model (CADModel)
- Return type:
- exportSTEP(model, filename)
Export the model to STEP formart
- Parameters:
model (CADModel)
- Return type:
- exportStreamCache(model, filename, is_white_background=True, overwrite=False)
Export the model to Stream Cache format.
- Parameters:
model (CADModel)
- Return type:
- extract_holes(model)
Check and extract holes in the cad files. Only for Parasolid Files