hoops_ai.cadaccess.HOOPSTools

class hoops_ai.cadaccess.HOOPSTools

Bases: CADTools

adapt_brep(model, brep_options=None)

Helper that reads settings to adapt/prepare the BREP model.

Parameters:
Return type:

None

adapt_tessellation(model, tess_options)

.

Parameters:
Return type:

None

apply_filter()

Filter.

Return type:

Dict[str, Any]

brep_options()

Helper that reads settings to adapt/prepare the BREP model.

Return type:

Dict[str, Any]

exportOBJ(model, filepath)

Export the model to a desired CAD format.

Parameters:

model (CADModel)

Return type:

Any

exportSTEP(model, filename)

Export the model to STEP formart

Parameters:

model (CADModel)

Return type:

Any

exportStreamCache(model, filename, is_white_background=True, overwrite=False)

Export the model to Stream Cache format.

Parameters:

model (CADModel)

Return type:

Any

extract_holes(model)

Check and extract holes in the cad files. Only for Parasolid Files

Parameters:

model (CADModel)

Return type:

Dict[str, List[Any]]

tessellation_options()
Return type:

Dict[str, Any]