lanthaon / sl-animation-blender

A project where motion capture data is created based on the AI solution MediaPipe Holistic and applied to a 3D character in Blender
MIT License
67 stars 18 forks source link

Python script failed and default path error #3

Open chaytonmin opened 3 years ago

chaytonmin commented 3 years ago

When I run load_mp_landmarks.py and make_bvh_files.blend in blender, I met the error " Python script failed. check the message in the system console".

I also fond that the default path is your computer " /Users/lanthaon/Documents/Uni/study-pj-2021/Animation and Motion Capture/PointCloudApproach/blender_scripts/ ". How can change the default path for my computer?

lanthaon commented 2 years ago

Hi @chaytonmin,

what message or messages were shown to you in the system console?

If you create a new file to run load_mp_landmarks.py, it should work if you:

  1. Delete any existing hierarchy/collection in the blender scene.
  2. Put the file into the blender_scripts folder. The script goes to the folder above the parent folder of the blender file and looks for the folder sign_videos.

The same applies to make_bvh_files.blend. If you cloned the project with git lfs 1) and 2) should be initially fulfilled, but in any case you should reload the python file from disk in the scripting tab.

Sorry for the late reply. Please let me know if any of these tips worked for you.