Closed x-dev-s closed 2 months ago
Go to the script's folder, go to utils, and modify utils.py
go to the function copy_package and use the following code:
def copy_package(save_dir, package_dir):
try:
os.mkdir(save_dir + '/launch')
except:
pass
try:
os.mkdir(save_dir + '/urdf')
except:
pass
# shutil.copytree replaces copy_tree
shutil.copytree(package_dir, save_dir, dirs_exist_ok=True)
Don't forget to add the library
import shutil # Add this import
Regards,
Thank you for the help @ShikurM56
Works perfectly ❤
I did the mentioned changes still it doesn't work
Remove copy tree library
On Sun 22 Sep 2024 at 7:08 a.m., Prithvi_jai @.***> wrote:
I did the mentioned changes still it doesn't work
— Reply to this email directly, view it on GitHub https://github.com/syuntoku14/fusion2urdf/issues/81#issuecomment-2365487771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV3HDBXS6YASEJVC2XRIPXTZXZNE3AVCNFSM6AAAAABORJQAO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRVGQ4DONZXGE . You are receiving this because you were mentioned.Message ID: @.***>
Hii , I removed the library and It worked . Thank you so much.
After updating the software to the latest version, the script is not working. It does nothing when I run it. No browse window or anything is opening. I removed the script from the fusion360 and then added it again, but it is still not working.
Any help, please!!!