ifcpatch.recipes.ExtractPropertiesToSQLite

Module Contents

class ifcpatch.recipes.ExtractPropertiesToSQLite.Patcher(src, file, logger)

Extracts properties and relationships from a IFC-SPF model to SQLite.

This is a lossy extraction which simplifies popular properties to key value pairs.

Example:

result = ifcpatch.execute({"input": fn, "file": model, "recipe": "ExtractPropertiesToSQLite"})
ifcpatch.write(result, "output.sqlite")
patch()
file
logger
src