Skip to content

Commit 943073e

Browse files
committed
mesh_downloader update
1 parent be50c5e commit 943073e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pybullet_tree_sim/utils/mesh_downloader.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ def unzip(zip_file: str):
6565
print(f"Extracting file {zip_file}")
6666
with zipfile.ZipFile(zip_file, "r") as zipper:
6767
zipper.extractall(os.path.dirname(zip_file))
68+
print(f"Files extracted")
69+
70+
if not os.path.exists(meshes_path):
71+
print(f"Cannot find path {meshes_path}, error with process. Try running the file directly.")
6872
return
6973

7074

0 commit comments

Comments
 (0)