source: trunk/source/geometry/solids/test/SBT/script/ErrorView.awk @ 1350

Last change on this file since 1350 was 1350, checked in by garnier, 13 years ago

update to last version 4.9.4

File size: 605 bytes
Line 
1#!/bin/awk -f
2# MEDERNACH Emmanuel Aug 2000
3#
4# This script create a script for SBT to
5# show errors. You need to provide the solid
6#
7#
8# Usage : ErrorView <log file> > file.SBT
9
10BEGIN { 
11print "# ErrorView generated script for viewing error in SBT #" ;
12print "/vis/open VRML2FILE"
13print "/vis/viewer/set/style wireframe"
14print "#/vis/open VRML1FILE"
15print "/vis/drawVolume test"
16print "/tracking/storeTrajectory 1"
17print "/test/errorFileName " ARGV[1] ;
18}
19
20# print the solid command
21NR == 2 { print substr($0, 3) ;}
22{ print "#" $0 ; } 
23$1 ~ /[0-9]+/ {
24 print "/test/draw " $1 ;
25 print "/test/pause" ;
26}
Note: See TracBrowser for help on using the repository browser.