Changeset 3529 for trunk


Ignore:
Timestamp:
Mar 18, 2013 12:28:47 PM (11 years ago)
Author:
ldelgass
Message:

Set the origin of uniform grids in VTK output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/mesh.tcl

    r3519 r3529  
    534534            append out "DIMENSIONS $xNum $yNum 1\n"
    535535            append out "SPACING $xSpace $ySpace 0\n"
    536             append out "ORIGIN 0 0 0\n"
     536            append out "ORIGIN $xMin $yMin 0\n"
    537537            set _vtkdata $out
    538538            foreach axis {x y} {
     
    547547            append out "DIMENSIONS $xNum $yNum $zNum\n"
    548548            append out "SPACING $xSpace $ySpace $zSpace\n"
    549             append out "ORIGIN 0 0 0\n"
     549            append out "ORIGIN $xMin $yMin $zMin\n"
    550550            set _vtkdata $out
    551551            foreach axis {x y z} {
Note: See TracChangeset for help on using the changeset viewer.