Changeset 4502 for trunk/gui/scripts/field.tcl
- Timestamp:
- Jul 15, 2014, 6:20:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/field.tcl
r4493 r4502 919 919 continue; # Ignore this component 920 920 } 921 set vector ""922 921 if 0 { 923 922 set f [open /tmp/$_path.$cname.dx "w"] … … 925 924 close $f 926 925 } 927 # This is temporary. I put a check for this in the DxToVtk928 # parser.929 if { [string range $contents 0 3] == "<DX>" } {930 set contents [string range $contents 4 end]931 }932 926 if { [catch { Rappture::DxToVtk $contents } vtkdata] == 0 } { 933 927 ReadVtkDataSet $cname $vtkdata 928 if 0 { 929 set f [open /tmp/$_path.$cname.vtk "w"] 930 puts -nonewline $f $vtkdata 931 close $f 932 } 934 933 } else { 935 934 puts stderr "Can't parse dx data: $vtkdata" 936 }937 if 0 {938 set f [open /tmp/$_path.$cname.vtk "w"]939 puts -nonewline $f $vtkdata940 close $f941 935 } 942 936 if { $_alwaysConvertDX || … … 953 947 [Rappture::FlowHints ::\#auto $_field $cname $_units] 954 948 } 955 set _dim 3956 949 incr _counter 957 950 } elseif { $type == "dicom"} {
Note: See TracChangeset
for help on using the changeset viewer.