Dear DX users,

         I want to make  simple cubic box using data explore 4.2,
but the following DX file does not work. What is wrong with my file?
       
    I would greatly appreciate some help.

object 1 class array type float rank 1 shape 3 items   8 data follows
    0.500000    0.500000    0.500000
    0.500000    0.500000   -0.500000
    0.500000   -0.500000    0.500000
    0.500000   -0.500000   -0.500000
   -0.500000    0.500000    0.500000
   -0.500000    0.500000   -0.500000
   -0.500000   -0.500000    0.500000
   -0.500000   -0.500000   -0.500000
object 3 class array type int rank 0 items  56 data follows
   0   1   3   2
   4   5   7   6
   0   1   5   4
   0   1
   4   5
   2   3   7   6
   2   3
   6   7
   0   2   6   4
   0   2
   4   6
   0   4
   0
   4
   2   6
   2
   6
   1   3   7   5
   1   3
   5   7
   1   5
   1
   5
   3   7
   3
   7
attribute "ref" string "positions"
#
object 4 class array type int rank 0 items  26 data follows
   0   4   8  12  14  16
  20  22  24  28  30  32
  34  35  36  38  39  40
  44  46  48  50  51  52
  54  55
attribute "ref" string "edges"
#
object 5 class array type int rank 0 items  26 data follows
   0   1   2   3   4   5
   6   7   8   9  10  11
  12  13  14  15  16  17
  18  19  20  21  22  23
  24  25
attribute "ref" string "loops"
#
object "box" class field
component "positions"   value 1
component "edges" value 3
component "loops" value 4
component "faces" value 5
#
end
 

-- 
Yours sincerely,

Jiang-long Wang


object 1 class array type float rank 1 shape 3 items   8 data follows
    0.500000    0.500000    0.500000
    0.500000    0.500000   -0.500000
    0.500000   -0.500000    0.500000
    0.500000   -0.500000   -0.500000
   -0.500000    0.500000    0.500000
   -0.500000    0.500000   -0.500000
   -0.500000   -0.500000    0.500000
   -0.500000   -0.500000   -0.500000
object 3 class array type int rank 0 items  56 data follows
   0   1   3   2
   4   5   7   6
   0   1   5   4
   0   1
   4   5
   2   3   7   6
   2   3
   6   7
   0   2   6   4
   0   2
   4   6
   0   4
   0
   4
   2   6
   2
   6
   1   3   7   5
   1   3
   5   7
   1   5
   1
   5
   3   7
   3
   7
attribute "ref" string "positions"
#
object 4 class array type int rank 0 items  26 data follows
   0   4   8  12  14  16
  20  22  24  28  30  32
  34  35  36  38  39  40
  44  46  48  50  51  52
  54  55
attribute "ref" string "edges"
#
object 5 class array type int rank 0 items  26 data follows
   0   1   2   3   4   5
   6   7   8   9  10  11
  12  13  14  15  16  17
  18  19  20  21  22  23
  24  25
attribute "ref" string "loops"
#
object "box" class field
component "positions"   value 1
component "edges" value 3
component "loops" value 4
component "faces" value 5
#
end

Reply via email to