Unlinking elements is now a bit more stable. Also simplify core tool namespace.

This commit is contained in:
Dion Moult
2021-10-05 09:51:51 +11:00
parent e8764c58b5
commit 216029ea10
29 changed files with 397 additions and 383 deletions
+5 -4
View File
@@ -1,16 +1,17 @@
import bpy
import numpy as np
import ifcopenshell
import ifcopenshell.api
import blenderbim.tool as tool
import test.bim.bootstrap
import blenderbim.core.tool.surveyor
import numpy as np
import blenderbim.core.tool
import blenderbim.tool as tool
from blenderbim.tool import Surveyor as subject
class TestImplementsTool(test.bim.bootstrap.NewFile):
def test_run(self):
assert isinstance(subject(), blenderbim.core.tool.surveyor.Surveyor)
assert isinstance(subject(), blenderbim.core.tool.Surveyor)
class TestGetGlobalMatrix(test.bim.bootstrap.NewFile):