File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,26 @@ def test_default_to_vis_set():
26
26
for geo_obj in vis_set :
27
27
assert isinstance (geo_obj , ContextGeometry )
28
28
assert isinstance (geo_obj [0 ], DisplayMesh3D )
29
-
29
+
30
30
vis_set = parsed_model .to_vis_set ('none' )
31
31
assert len (vis_set ) == 1
32
32
for geo_obj in vis_set :
33
33
assert isinstance (geo_obj , ContextGeometry )
34
34
assert isinstance (geo_obj [0 ], DisplayLineSegment3D )
35
-
35
+
36
36
vis_set = parsed_model .to_vis_set ('boundary_condition' , include_wireframe = False )
37
37
print (len (vis_set ))
38
38
assert len (vis_set ) == 4
39
39
for geo_obj in vis_set :
40
40
assert isinstance (geo_obj , ContextGeometry )
41
41
assert isinstance (geo_obj [0 ], DisplayMesh3D )
42
42
43
+ vis_set = parsed_model .to_vis_set_wireframe ()
44
+ assert len (vis_set ) == 1
45
+ for geo_obj in vis_set :
46
+ assert isinstance (geo_obj , ContextGeometry )
47
+ assert isinstance (geo_obj [0 ], DisplayLineSegment3D )
48
+
43
49
44
50
def test_room_attr_to_vis_set ():
45
51
"""Test the room attribute argument of Model.to_vis_set()."""
You can’t perform that action at this time.
0 commit comments