#!/bin/sh # Checks of the Tiger as a Tender, one Blender at a time; the ship and docking-arm files are opened read-only and never saved. # Results in build/checks/*.json; the README's checks table quotes them. B="/e/Steam/steamapps/common/Blender/blender.exe" P="/e/Tools/Programs/Python/python.exe" cd "$(dirname "$0")/.." "$B" -b Tender_Tiger.blend --python build/tg_dump.py 2>&1 | grep -E "DUMP|Traceback|Error" ; true "$B" -b Tender_Tiger.blend --python build/tg_motion_check.py 2>&1 | grep -E "MOTION|Traceback|Error" ; true "$B" -b Tender_Tiger.blend --python build/tg_cabin_check.py 2>&1 | grep -E "CABIN|Traceback|Error" | cut -c1-300 ; true "$B" -b ../docking-arm/DockArm_Carousel.blend --python build/tg_clamp_check.py 2>&1 | grep -E "CLAMP|HIT|Traceback|Error" | cut -c1-900 ; true "$B" -b ../M_Ship_v2_interior_season2.blend --python build/tg_clamp_check.py 2>&1 | grep -E "CLAMP|HIT|Traceback|Error" | cut -c1-900 ; true "$B" -b ../M_Ship_v2_interior_season2.blend --python build/tg_sweep_check.py 2>&1 | grep -E "Traceback|Error" ; true "$B" -b ../M_Ship_v2_interior_season2.blend --python build/tg_carousel_bvh.py 2>&1 | grep -E "CAROUSEL|Traceback|Error" | cut -c1-500 ; true "$B" -b ../M_Ship_v2_interior_season2.blend --python build/tg_descent_check.py 2>&1 | grep -E "DESCENT|Traceback|Error" | cut -c1-700 ; true "$P" -c " import json d = json.load(open('build/checks/sweep_and_moonpool.json')) print('sweep tiger', d['tiger'][0]) print('sweep kazah', d['kazah'][0]) print('moon pool at BOARD, tool arm folded', d['moonpool_board_tiger']) print('moon pool at BOARD, tool arm aft', d['moonpool_board_tiger_toolarm_aft']) " echo CHECKS DONE