mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
WIP
This commit is contained in:
+3
-2
@@ -64,10 +64,8 @@ assert "Version" in dir(app)
|
||||
g = ifcopenshell.file(schema=f.schema)
|
||||
p = g.createIfcCartesianPoint((0.,0.))
|
||||
assert len(g.types()) == 1
|
||||
assert "IfcPoint" in g.types_with_super()
|
||||
g.remove(p)
|
||||
assert len(g.types()) == 0
|
||||
assert len(g.types_with_super()) == 0
|
||||
|
||||
# Some operations on ifcopenshell.entity_instance
|
||||
assert f[22].Id == ''
|
||||
@@ -92,6 +90,9 @@ assert f[288].ConnectedTo == (rel,)
|
||||
# Some operations on ifcopenshell.guid
|
||||
assert len(ifcopenshell.guid.compress(uuid.uuid1().hex)) == 22
|
||||
|
||||
# reopen, because we messed with the units
|
||||
f = ifcopenshell.open("input/acad2010_walls.ifc")
|
||||
|
||||
# Test the BVH tree
|
||||
tree_settings = ifcopenshell.geom.settings()
|
||||
tree_settings.set(tree_settings.DISABLE_OPENING_SUBTRACTIONS, True)
|
||||
|
||||
Reference in New Issue
Block a user