Skip to content

Instantly share code, notes, and snippets.

@k-okada
Created April 17, 2020 11:03
Show Gist options
  • Save k-okada/057f391d7fcab4a0ebb1bd3a182f839f to your computer and use it in GitHub Desktop.
Save k-okada/057f391d7fcab4a0ebb1bd3a182f839f to your computer and use it in GitHub Desktop.
#!/bin/bash
set -x
set -e
cd $(rospack find nextage_description)
cd urdf
for file in meshes/*.dae; do
assimp_devel export $file $(dirname $file)/$(basename $file .dae).stl
done
sed -i 's/.dae/.stl/' NextageOpen.urdf
echo "Successfully Done. OK!!!!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment