# Last edited on 2024-06-06 17:41:31 by stolfi SHELL := /bin/bash PROG := slicing_bad_example NE_MIN := 30 # NE_MAX := 300 NE_MAX := 3000000 all: ${PROG}.py mkdir -p out NE=${NE_MIN} ; \ while [[ $${NE} -le ${NE_MAX} ]]; do \ ofile=`printf "out/bad_%08d.obj" "$${NE}"` ; \ rm -fv $${ofile} ; \ ${PROG}.py $${NE} > $${ofile} ; \ ls -l $${ofile} ; \ if [[ ( $${NE} -le 3000 ) && ( -s $${ofile} ) ]]; then \ f3d --camera-view-up='0,0,1' $${ofile}; \ fi ; \ NE=$$(( $${NE} * 10 )) ; \ done