#!/bin/sh
#Tag 0x006A0033
#
# Another fine tool from the:
######                                  ######
#     #   ####   #    #  #    #   ####  #     #    ##     ####   #    #
#     #  #    #  ##   #  #    #  #      #     #   #  #   #    #  #   #
######   #    #  # #  #  #    #   ####  ######   #    #  #       ####
#     #  #    #  #  # #  #    #       # #        ######  #       #  #
#     #  #    #  #   ##  #    #  #    # #        #    #  #    #  #   #
######    ####   #    #   ####    ####  #        #    #   ####   #    #
#                                                            hackers...
#
# Copy this file to /usr/local/bin (which should be in your PATH)
#
if [ -x /usr/demos/Inventor/SceneViewer ] ; then
	3dsToIv -q -t $1 | ivOrient - | /usr/demos/Inventor/SceneViewer - 2>/dev/null
else
	3dsToIv -q -t $1 | ivOrient - | SceneViewer - 2>/dev/null
fi
