Model.__init__

Model.__init__(filepath=None, schema='IFC4', use_occ=False, load_geometries=True, verbose=True, extensions=None)

Construct the Model object.

Parameters:
filepathstr

The path to the IFC file.

schemastr

The IFC schema to use. Default is “IFC4”.

use_occbool

Whether to use OCC for geometry processing. Default is False.

load_geometriesbool

Whether to pre-load geometries from the IFC file using multi-threading. Default is True.

verbosebool

Whether to print verbose output. Default is True.

extensionsDict[str, Type]

A dictionary of extensions to use, with the key being the IFC class name and the value being the extension class.