#!/bin/sh
#cd ${0%/*} || exit 1    # Run from this directory
cd $1 || exit 1 # Run from the parent script $PWD

# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions

rm log.* > /dev/null 2>&1
rm nohup.out > /dev/null 2>&1

# Remove surface and features
rm -f constant/triSurface/*.obj.gz > /dev/null 2>&1
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
rm -f constant/triSurface/*.eMesh > /dev/null 2>&1
rm -f constant/triSurface/*_scaled.stl > /dev/null 2>&1

cleanCase

#------------------------------------------------------------------------------
