mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 16:43:00 +00:00
Optimise object placement change checking, so medium sized project exports are 5 seconds faster at minimum, but can be much higher since false positives are culled.
This commit is contained in:
@@ -28,6 +28,7 @@ class TestEditObjectPlacement:
|
||||
geometry.clear_scale("obj").should_be_called()
|
||||
surveyor.get_absolute_matrix("obj").should_be_called().will_return("matrix")
|
||||
ifc.run("geometry.edit_object_placement", product="element", matrix="matrix").should_be_called()
|
||||
geometry.record_object_position("obj").should_be_called()
|
||||
|
||||
def test_run(self, ifc, geometry, surveyor):
|
||||
self.predict(ifc, geometry, surveyor)
|
||||
|
||||
Reference in New Issue
Block a user