How to convert DAE file to OBJ on the command line
Converting one or multiple DAE files to OBJ format can be done easily using the assimp command line tool.
First, install assimp:
install_assimp.sh
sudo apt-get install -y assimp-utilsThen, to convert only a single file
convert_single_dae.sh
assimp export input.dae output.objor to convert all files in the current folder:
convert_all_dae.sh
for i in *.dae ; do assimp export "$i" "${i%.dae}.obj" ; doneCheck out similar posts by category:
3D
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow