diff --git a/src/blenderbim/blenderbim/core/tool.py b/src/blenderbim/blenderbim/core/tool.py index fe1d651bee..54bc12d513 100644 --- a/src/blenderbim/blenderbim/core/tool.py +++ b/src/blenderbim/blenderbim/core/tool.py @@ -153,6 +153,17 @@ class Bsdd: def should_load_preview_domains(cls): pass +@interface +class Clash: + def export_clash_sets(cls): pass + def get_clash(cls, clash_set, a_global_id, b_global_id): pass + def get_clash_set(cls, name): pass + def get_clash_sets(cls): pass + def import_active_clashes(cls): pass + def load_clash_sets(cls, fn): pass + def look_at(cls, target, location): pass + + @interface class Collector: def assign(cls, obj): pass diff --git a/src/blenderbim/blenderbim/tool/__init__.py b/src/blenderbim/blenderbim/tool/__init__.py index 4f98a7b5e3..80ea55419f 100644 --- a/src/blenderbim/blenderbim/tool/__init__.py +++ b/src/blenderbim/blenderbim/tool/__init__.py @@ -22,6 +22,7 @@ from blenderbim.tool.boundary import Boundary from blenderbim.tool.brick import Brick from blenderbim.tool.bsdd import Bsdd from blenderbim.tool.cad import Cad +from blenderbim.tool.clash import Clash from blenderbim.tool.collector import Collector from blenderbim.tool.context import Context from blenderbim.tool.debug import Debug diff --git a/src/ifcclash/ifcclash/ifcclash.py b/src/ifcclash/ifcclash/ifcclash.py index b66fe7689d..d5c16413db 100644 --- a/src/ifcclash/ifcclash/ifcclash.py +++ b/src/ifcclash/ifcclash/ifcclash.py @@ -135,8 +135,7 @@ class Clasher: self.logger.info(f"Adding objects {name}") assert iterator.initialize() while True: - self.tree.add_element(iterator.get_native(), should_triangulate=True) - # self.tree.add_element(iterator.get()) + self.tree.add_element(iterator.get()) shape = iterator.get() if not iterator.next(): break