hoops_ai.cadaccess.HOOPSLoader

class hoops_ai.cadaccess.HOOPSLoader

Bases: CADLoader

create_from_file(filename)

Reads a CAD file and initializes the CAD model.

Parameters:

filename (str)

Return type:

HOOPSModel

get_general_options()

Returns the current settings (dict) for loading the CAD file, so the user can see or modify them.

Return type:

Dict[str, Any]

get_model()

Returns the CAD model.

Return type:

HOOPSModel

set_general_options(general_options)

Sets the settings used when loading the CAD file.

Parameters:

general_options (Dict[str, Any])

Return type:

None