def runTest(self):
self.vis.delete()<EOL>v = self.vis["<STR_LIT>"]<EOL>filename = os.path.join(meshcat.viewer_assets_path(),<EOL>"<STR_LIT>")<EOL>with open(filename, "<STR_LIT:r>") as f:<EOL><INDENT>fio = StringIO(f.read())<EOL>v["<STR_LIT>"].set_object(g.Mesh(g.ObjMeshGeometry.from_stream(fio)))<EOL>v["<STR_LIT>"].set_transform(tf.translation_matrix([<NUM_LIT:0>, <NUM_LIT:0.0>, <NUM_LIT:0>]))<EOL><DEDENT>filename = os.path.join(meshcat.viewer_assets_path(),<EOL>"<STR_LIT>")<EOL>with open(filename, "<STR_LIT:r>") as f:<EOL><INDENT>fio = StringIO(f.read())<EOL>v["<STR_LIT>"].set_object(g.Mesh(g.StlMeshGeometry.from_stream(fio)))<EOL>v["<STR_LIT>"].set_transform(tf.translation_matrix([<NUM_LIT:0>, -<NUM_LIT:0.5>, <NUM_LIT:0>]))<EOL><DEDENT>filename = os.path.join(meshcat.viewer_assets_path(),<EOL>"<STR_LIT>")<EOL>with open(filename, "<STR_LIT:rb>") as f:<EOL><INDENT>fio = BytesIO(f.read())<EOL>v["<STR_LIT>"].set_object(g.Mesh(g.StlMeshGeometry.from_stream(fio)))<EOL>v["<STR_LIT>"].set_transform(tf.translation_matrix([<NUM_LIT:0>, -<NUM_LIT:1.0>, <NUM_LIT:0>]))<EOL><DEDENT>filename = os.path.join(meshcat.viewer_assets_path(),<EOL>"<STR_LIT>")<EOL>with open(filename, "<STR_LIT:r>") as f:<EOL><INDENT>fio = StringIO(f.read())<EOL>v["<STR_LIT>"].set_object(g.Mesh(g.DaeMeshGeometry.from_stream(fio)))<EOL>v["<STR_LIT>"].set_transform(tf.translation_matrix([<NUM_LIT:0>, -<NUM_LIT>, <NUM_LIT:0>]))<EOL><DEDENT>
Applications using meshcat may already have meshes loaded in memory. It is
        more efficient to load these meshes with streams rather than going to and then
        from a file on disk. To test this we are importing meshes from disk and
        converting them into streams so it kind of defeats the intended purpose! But at
        least it tests the functionality.