SUBMENU_NAME = "Realistisch 1";

OBJECT_NAME = "Auto       " ;
EXERCISE_LEVEL = 1 ;
EXERCISE_NO_USE = B,F;
ROTATE_BEFORE_USE = (-90, 90, 0) ;
NUMBER_OF_VERTICES = 14 ;
NUMBER_OF_SURFACES = 11 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE = 4 ;

VERTICES = ( ( {v[ 1]}   100,  -60,  -40 ),
             ( {v[ 2]}    60,  -60,   20 ),
             ( {v[ 3]}     0,  -60,   20 ),
             ( {v[ 4]}   -40,  -60,  -40 ),
             ( {v[ 5]}   100,   60,  -40 ),
             ( {v[ 6]}    60,   60,   20 ),
             ( {v[ 7]}     0,   60,   20 ),
             ( {v[ 8]}   -40,   60,  -40 ),
             ( {v[ 9]}  -100,  -60, -100 ),
             ( {v[10]}  -100,  -60,  -40 ),
             ( {v[11]}  -100,   60,  -40 ),
             ( {v[12]}  -100,   60, -100 ),
             ( {v[13]}   100,  -60, -100 ),
             ( {v[14]}   100,   60, -100 ) ) ;

SURFACES_INFO = ( ( {vlak  1} 4, Cyan,         FALSE ),
                  ( {vlak  2} 4, LightCyan,    FALSE ),
                  ( {vlak  3} 4, LightMagenta, FALSE ),
                  ( {vlak  4} 4, Yellow,       FALSE ),
                  ( {vlak  5} 4, LightMagenta, TRUE  ),
                  ( {vlak  6} 4, LightCyan,    TRUE  ),
                  ( {vlak  7} 4, Cyan,         FALSE ),
                  ( {vlak  8} 4, LightRed,     FALSE ),
                  ( {vlak  9} 4, Magenta,      FALSE ),
                  ( {vlak 10} 4, LightMagenta, FALSE ),
                  ( {vlak 11} 4, LightGray,    FALSE ) ) ;

SURFACES_VERTICES = ( { vlak  1}  ( 1,  2,  3,  4),
                      { vlak  2}  ( 8,  7,  6,  5),
                      { vlak  3}  ( 3,  2,  6,  7),
                      { vlak  4}  ( 9, 10, 11, 12),
                      { vlak  5}  (10,  4,  8, 11),
                      { vlak  6}  ( 4,  3,  7,  8),
                      { vlak  7}  ( 1,  5,  6,  2),
                      { vlak  8}  (13, 14,  5,  1),
                      { vlak  9}  ( 9, 13,  1, 10),
                      { vlak 10}  (12, 11,  5, 14),
                      { vlak 11}  ( 9, 12, 14, 13) ) ;

OBJECT_END ;
OBJECT_NAME = "Computer" ;
EXERCISE_LEVEL = 3 ;
EXERCISE_NO_USE = B,C;
ROTATE_BEFORE_USE = (-90, 90, 0);
NUMBER_OF_VERTICES = 14 ;
NUMBER_OF_SURFACES = 11 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE = 5 ;

VERTICES = ( ( {v[ 1]}  -100, -100, -100 ),
             ( {v[ 2]}   100, -100, -100 ),
             ( {v[ 3]}   100, -100,  100 ),
             ( {v[ 4]}   -40, -100,  100 ),
             ( {v[ 5]}   -40, -100,  -60 ),
             ( {v[ 6]}   100,  100, -100 ),
             ( {v[ 7]}  -100,  100, -100 ),
             ( {v[ 8]}   -40,  100,  -60 ),
             ( {v[ 9]}   -40,  100,  100 ),
             ( {v[10]}   100,  100,  100 ),
             ( {v[11]}   -10,  -70,   70 ),
             ( {v[12]}   -10,  -70,  -30 ),
             ( {v[13]}   -10,   70,   70 ),
             ( {v[14]}   -10,   70,  -30 ) ) ;

SURFACES_INFO = ( ( {vlak  1} 5, Cyan,         FALSE ),
                  ( {vlak  2} 5, LightCyan,    FALSE ),
                  ( {vlak  3} 4, LightMagenta, FALSE ),
                  ( {vlak  4} 4, Magenta,      TRUE  ),
                  ( {vlak  5} 4, Blue,         TRUE  ),
                  ( {vlak  6} 4, LightBlue,    TRUE  ),
                  ( {vlak  7} 4, Brown,        TRUE  ),
                  ( {vlak  8} 4, LightCyan,    FALSE ),
                  ( {vlak  9} 4, Cyan,         FALSE ),
                  ( {vlak 10} 4, LightGray,    TRUE  ),
                  ( {vlak 11} 4, LightGray,    FALSE ) ) ;

SURFACES_VERTICES = ( { vlak  1}  ( 1,  2,  3,  4,  5),
                      { vlak  2}  ( 6,  7,  8,  9, 10),
                      { vlak  3}  ( 5,  4, 11, 12,  0),
                      { vlak  4}  ( 4,  9, 13, 11,  0),
                      { vlak  5}  ( 8, 14, 13,  9,  0),
                      { vlak  6}  ( 8,  5, 12, 14,  0),
                      { vlak  7}  ( 1,  5,  8,  7,  0),
                      { vlak  8}  ( 9,  4,  3, 10,  0),
                      { vlak  9}  ( 2,  6, 10,  3,  0),
                      { vlak 10}  (14, 12, 11, 13,  0),
                      { vlak 11}  ( 1,  7,  6,  2,  0) ) ;

OBJECT_END ;

OBJECT_NAME = "I-balk" ;

EXERCISE_LEVEL = 2 ;
EXERCISE_NO_USE = A ;
NUMBER_OF_VERTICES = 24 ;
NUMBER_OF_SURFACES = 14 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE = 12 ;

VERTICES = (( {v[ 1]}  -100,  -100,   100 ),
            ( {v[ 2]}   100,  -100,   100 ),
            ( {v[ 3]}   100,   -60,   100 ),
            ( {v[ 4]}    30,   -60,   100 ),
            ( {v[ 5]}    30,    60,   100 ),
            ( {v[ 6]}   100,    60,   100 ),
            ( {v[ 7]}   100,   100,   100 ),
            ( {v[ 8]}  -100,   100,   100 ),
            ( {v[ 9]}  -100,    60,   100 ),
            ( {v[ 10]}  -30,    60,   100 ),
            ( {v[ 11]}  -30,   -60,   100 ),
            ( {v[ 12]} -100,   -60,   100 ),
            ( {v[ 13]} -100,  -100,  -100 ),
            ( {v[ 14]} -100,   -60,  -100 ),
            ( {v[ 15]}  -30,   -60,  -100 ),
            ( {v[ 16]}  -30,    60,  -100 ),
            ( {v[ 17]} -100,    60,  -100 ),
            ( {v[ 18]} -100,   100,  -100 ),
            ( {v[ 19]}  100,   100,  -100 ),
            ( {v[ 20]}  100,    60,  -100 ),
            ( {v[ 21]}   30,    60,  -100 ),
            ( {v[ 22]}   30,   -60,  -100 ),
            ( {v[ 23]}  100,   -60,  -100 ),
            ( {v[ 24]}  100,  -100,  -100 )) ;

SURFACES_INFO =
     (  {vlak  1}  ( 12 ,  Magenta        , FALSE ),
           {vlak  2}  ( 12 ,  Blue           , FALSE ),
           {vlak  3}  ( 4  ,  Green          , FALSE ),
           {vlak  4}  ( 4  ,  Yellow         , TRUE  ),
           {vlak  5}  ( 4  ,  Cyan           , TRUE  ),
           {vlak  6}  ( 4  ,  Brown          , TRUE  ),
           {vlak  7}  ( 4  ,  LightMagenta   , FALSE ),
           {vlak  8}  ( 4  ,  LightBlue      , FALSE ),
           {vlak  9}  ( 4  ,  LightGreen     , FALSE ),
           {vlak  10} ( 4  ,  LightCyan      , TRUE  ),
           {vlak  11} ( 4  ,  Yellow         , TRUE  ),
           {vlak  12} ( 4  ,  LightRed       , TRUE  ),
           {vlak  13} ( 4  ,  Magenta        , FALSE ),
           {vlak  14} ( 4  ,  LightGreen     , FALSE ) ) ;

SURFACES_VERTICES =
     (  {vlak  1}  (  1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12 ),
           {vlak  2}  ( 13,  14,  15,  16,  17,  18,  19,  20,  21,  22,  23,  24 ),
           {vlak  3}  (  2,  24,  23,   3,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak  4}  (  3,  23,  22,   4,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak  5}  (  4,  22,  21,   5,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak  6}  (  5,  21,  20,   6,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak  7}  (  6,  20,  19,   7,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak  8}  (  7,  19,  18,   8,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak  9}  (  8,  18,  17,   9,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak 10}  (  9,  17,  16,  10,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak 11}  ( 10,  16,  15,  11,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak 12}  ( 11,  15,  14,  12,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak 13}  ( 12,  14,  13,   1,   0,   0,   0,   0,   0,   0,   0,   0 ),
           {vlak 14}  (  1,  13,  24,   2,   0,   0,   0,   0,   0,   0,   0,   0 ) );

OBJECT_END ;

OBJECT_NAME = "Hoekstaal" ;

EXERCISE_LEVEL = 1 ;

NUMBER_OF_VERTICES = 12 ;
NUMBER_OF_SURFACES = 8 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE = 6 ;

VERTICES = (( {v[ 1]}  -100,  -100,   100 ),
            ( {v[ 2]}   100,  -100,   100 ),
            ( {v[ 3]}   100,   -50,   100 ),
            ( {v[ 4]}   -50,   -50,   100 ),
            ( {v[ 5]}   -50,   100,   100 ),
            ( {v[ 6]}  -100,   100,   100 ),
            ( {v[ 7]}  -100,  -100,  -100 ),
            ( {v[ 8]}  -100,   100,  -100 ),
            ( {v[ 9]}   -50,   100,  -100 ),
            ( {v[ 10]}  -50,   -50,  -100 ),
            ( {v[ 11]}  100,   -50,  -100 ),
            ( {v[ 12]}  100,  -100,  -100 )) ;

SURFACES_INFO =
     (  {vlak  1}  ( 6 ,   LightMagenta   , FALSE ),
           {vlak  2}  ( 6 ,   LightBlue      , FALSE ),
           {vlak  3}  ( 4 ,   LightGreen     , FALSE ),
           {vlak  4}  ( 4 ,   Yellow         , TRUE  ),
           {vlak  5}  ( 4 ,   LightCyan      , TRUE  ),
           {vlak  6}  ( 4 ,   LightRed       , FALSE ),
           {vlak  7}  ( 4 ,   Magenta        , FALSE ),
           {vlak  8}  ( 4 ,   Blue           , FALSE ) ) ;

SURFACES_VERTICES =
     (  {vlak  1}  ( 1,   2,   3,   4,   5,   6 ),
           {vlak  2}  ( 7,   8,   9,  10,  11,  12 ),
           {vlak  3}  ( 2,  12,  11,   3,   0,   0 ),
           {vlak  4}  ( 3,  11,  10,   4,   0,   0 ),
           {vlak  5}  ( 4,  10,   9,   5,   0,   0 ),
           {vlak  6}  ( 5,   9,   8,   6,   0,   0 ),
           {vlak  7}  ( 6,   8,   7,   1,   0,   0 ),
           {vlak  8}  ( 1,   7,  12,   2,   0,   0 ) ) ;

OBJECT_END ;

OBJECT_NAME = "U-profiel" ;
EXERCISE_LEVEL = 1 ;
EXERCISE_NO_USE = A,B;
ROTATE_BEFORE_USE = (90, 0, 90) ;
NUMBER_OF_VERTICES = 16 ;
NUMBER_OF_SURFACES = 10 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE =  8 ;

VERTICES =        ( ( {v[ 1]}    70,   100,   100 ),
               ( {v[ 2]}  -100,   100,   100 ),
               ( {v[ 3]}  -100,  -100,   100 ),
               ( {v[ 4]}    70,  -100,   100 ),
               ( {v[ 5]}    70,   100,  -100 ),
               ( {v[ 6]}  -100,   100,  -100 ),
               ( {v[ 7]}  -100,  -100,  -100 ),
               ( {v[ 8]}    70,  -100,  -100 ),
               ( {v[ 9]}    70,   100,    50 ),
               ( {v[10]}   -50,   100,    50 ),
               ( {v[11]}   -50,   100,   -50 ),
               ( {v[12]}    70,   100,   -50 ),
               ( {v[13]}    70,  -100,    50 ),
               ( {v[14]}   -50,  -100,    50 ),
               ( {v[15]}   -50,  -100,   -50 ),
               ( {v[16]}    70,  -100,   -50 ) );

SURFACES_INFO =
        (  {vlak  1}  (4 , LightMagenta   , FALSE ),
           {vlak  2}  (4 , LightBlue      , FALSE ),
           {vlak  3}  (8 , LightRed       , FALSE ),
           {vlak  4}  (8 , Yellow         , FALSE ),
           {vlak  5}  (4 , LightGreen     , FALSE ),
           {vlak  6}  (4 , LightGreen     , FALSE ),
           {vlak  7}  (4 , Magenta        , FALSE ),
           {vlak  8}  (4 , Blue           , TRUE  ),
           {vlak  9}  (4 , Green          , TRUE  ),
           {vlak 10}  (4 , Magenta        , TRUE  ) );


SURFACES_VERTICES =
        (  {vlak  1}  ( 1,   2,   3,   4,   0,   0,   0,  0 ),
           {vlak  2}  ( 8,   7,   6,   5,   0,   0,   0,  0 ),
           {vlak  3}  ( 1,   9,  10,  11,  12,   5,   6,  2 ),
           {vlak  4}  ( 3,   7,   8,  16,  15,  14,  13,  4 ),
           {vlak  5}  ( 1,   4,  13,   9,   0,   0,   0,  0 ),
           {vlak  6}  (12,  16,   8,   5,   0,   0,   0,  0 ),
           {vlak  7}  ( 2,   6,   7,   3,   0,   0,   0,  0 ),
           {vlak  8}  (10,   9,  13,  14,   0,   0,   0,  0 ),
           {vlak  9}  (10,  14,  15,  11,   0,   0,   0,  0 ),
           {vlak 10}  (11,  15,  16,  12,   0,   0,   0,  0 ) );

OBJECT_END ;OBJECT_NAME = "Doosprofiel" ;

EXERCISE_LEVEL = 2 ;
EXERCISE_NO_USE = A,B;
NUMBER_OF_VERTICES = 24 ;
NUMBER_OF_SURFACES = 14 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE = 12 ;

VERTICES = (( {v[ 1]}  -100,  100,  100 ),
            ( {v[ 2]}  -100, -100,  100 ),
            ( {v[ 3]}   100, -100,  100 ),
            ( {v[ 4]}   100,  100,  100 ),
            ( {v[ 5]}    30,  100,  100 ),
            ( {v[ 6]}    30,   50,  100 ),
            ( {v[ 7]}    50,   50,  100 ),
            ( {v[ 8]}    50,  -50,  100 ),
            ( {v[ 9]}   -50,  -50,  100 ),
            ( {v[ 10]}  -50,   50,  100 ),
            ( {v[ 11]}  -30,   50,  100 ),
            ( {v[ 12]}  -30,  100,  100 ),
            ( {v[ 13]} -100,  100, -100 ),
            ( {v[ 14]}  -30,  100, -100 ),
            ( {v[ 15]}  -30,   50, -100 ),
            ( {v[ 16]}  -50,   50, -100 ),
            ( {v[ 17]}  -50,  -50, -100 ),
            ( {v[ 18]}   50,  -50, -100 ),
            ( {v[ 19]}   50,   50, -100 ),
            ( {v[ 20]}   30,   50, -100 ),
            ( {v[ 21]}   30,  100, -100 ),
            ( {v[ 22]}  100,  100, -100 ),
            ( {v[ 23]}  100, -100, -100 ),
            ( {v[ 24]} -100, -100, -100 )) ;

SURFACES_INFO =
     (  {vlak  1}  ( 12 ,  Magenta       ,  FALSE ),
           {vlak  2}  ( 12 ,  Blue          ,  FALSE ),
           {vlak  3}  (  4 ,  LightGreen    ,  FALSE ),
           {vlak  4}  (  4 ,  Yellow        ,  FALSE ),
           {vlak  5}  (  4 ,  Cyan          ,  TRUE  ),
           {vlak  6}  (  4 ,  Brown         ,  TRUE  ),
           {vlak  7}  (  4 ,  LightMagenta  ,  TRUE  ),
           {vlak  8}  (  4 ,  LightBlue     ,  TRUE  ),
           {vlak  9}  (  4 ,  Green         ,  TRUE  ),
           {vlak 10}  (  4 ,  LightCyan     ,  TRUE  ),
           {vlak 11}  (  4 ,  Green         ,  TRUE  ),
           {vlak 12}  (  4 ,  LightRed      ,  FALSE ),
           {vlak 13}  (  4 ,  Magenta       ,  FALSE ),
           {vlak 14}  (  4 ,  Blue          ,  FALSE ) ) ;

SURFACES_VERTICES =
     (  {vlak  1}  (  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12 ),
           {vlak  2}  ( 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 ),
           {vlak  3}  (  3, 23, 22,  4,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak  4}  (  4, 22, 21,  5,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak  5}  (  5, 21, 20,  6,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak  6}  (  6, 20, 19,  7,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak  7}  (  7, 19, 18,  8,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak  8}  (  8, 18, 17,  9,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak  9}  (  9, 17, 16, 10,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak 10}  ( 10, 16, 15, 11,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak 11}  ( 11, 15, 14, 12,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak 12}  ( 12, 14, 13,  1,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak 13}  (  1, 13, 24,  2,  0,  0,  0,  0,  0,  0,  0, 0  ),
           {vlak 14}  (  2, 24, 23,  3,  0,  0,  0,  0,  0,  0,  0, 0  ) ) ;

OBJECT_END ;
OBJECT_NAME = "Steun" ;

EXERCISE_LEVEL = 2 ;

NUMBER_OF_VERTICES = 18 ;
NUMBER_OF_SURFACES = 13 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE = 6 ;

VERTICES =    ( ( {v[ 1]}     110,   -103,    100 ),
                ( {v[ 2]}     110,   -103,   -100 ),
                ( {v[ 3]}     110,     95,   -100 ),
                ( {v[ 4]}     110,     95,    -50 ),
                ( {v[ 5]}     110,    -60,    -50 ),
                ( {v[ 6]}     110,    -60,    100 ),
                ( {v[ 7]}      19,    -60,    100 ),
                ( {v[ 8]}      19,    -60,    -50 ),
                ( {v[ 9]}      19,     95,    -50 ),
                ( {v[10]}     -19,    -60,    100 ),
                ( {v[11]}     -19,     95,    -50 ),
                ( {v[12]}     -19,    -60,    -50 ),
                ( {v[13]}    -110,   -103,    100 ),
                ( {v[14]}    -110,    -60,    100 ),
                ( {v[15]}    -110,    -60,    -50 ),
                ( {v[16]}    -110,     95,    -50 ),
                ( {v[17]}    -110,     95,   -100 ),
                ( {v[18]}    -110,   -103,   -100 ) ) ;

SURFACES_INFO =
          ( {vlak  1}  ( 6 , LightRed     , FALSE ),
               {vlak  2}  ( 4 , Yellow       , TRUE  ),
               {vlak  3}  ( 4 , LightMagenta , TRUE  ),
               {vlak  4}  ( 3 , Cyan         , TRUE  ),
               {vlak  5}  ( 4 , LightBlue    , FALSE ),
               {vlak  6}  ( 4 , LightGreen   , FALSE ),
               {vlak  7}  ( 4 , Yellow       , TRUE  ),
               {vlak  8}  ( 3 , Magenta      , TRUE  ),
               {vlak  9}  ( 4 , LightMagenta , TRUE  ),
               {vlak 10}  ( 6 , LightBlue    , FALSE ),
               {vlak 11}  ( 4 , Green        , FALSE ),
               {vlak 12}  ( 4 , Brown        , FALSE ),
               {vlak 13}  ( 4 , Magenta      , FALSE ) ) ;

SURFACES_VERTICES =
          ( {vlak  1}  (  1,  2,  3,  4,  5,  6),
               {vlak  2}  (  8,  7,  6,  5,  0,  0),
               {vlak  3}  (  9,  8,  5,  4,  0,  0),
               {vlak  4}  (  8,  9,  7,  0,  0,  0),
               {vlak  5}  (  7,  9, 11, 10,  0,  0),
               {vlak  6}  ( 17, 16,  4,  3,  0,  0),
               {vlak  7}  ( 12, 15, 14, 10,  0,  0),
               {vlak  8}  ( 12, 10, 11,  0,  0,  0),
               {vlak  9}  ( 11, 16, 15, 12,  0,  0),
               {vlak 10}  ( 13, 14, 15, 16, 17, 18),
               {vlak 11}  (  1,  6, 14, 13,  0,  0),
               {vlak 12}  (  2, 18, 17,  3,  0,  0),
               {vlak 13}  (  1, 13, 18,  2,  0,  0) ) ;

OBJECT_END ;

OBJECT_NAME = "Tafel" ;

EXERCISE_LEVEL = 2 ;
EXERCISE_NO_USE = A,B ;
NUMBER_OF_VERTICES = 24 ;
NUMBER_OF_SURFACES = 14 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE = 8 ;

VERTICES =    ( ( {v[ 1]}  -100, -100,  100 ),
                ( {v[ 2]}  -100, -100,   50 ),
                ( {v[ 3]}   -50, -100,  100 ),
                ( {v[ 4]}    50, -100,  100 ),
                ( {v[ 5]}   100, -100,   50 ),
                ( {v[ 6]}   100, -100,  100 ),
                ( {v[ 7]}    50, -100, -100 ),
                ( {v[ 8]}   100, -100, -100 ),
                ( {v[ 9]}   100, -100,  -50 ),
                ( {v[10]}  -100, -100,  -50 ),
                ( {v[11]}  -100, -100, -100 ),
                ( {v[12]}   -50, -100, -100 ),
                ( {v[13]}   -50,   50,  100 ),
                ( {v[14]}    50,   50,  100 ),
                ( {v[15]}   100,   50,   50 ),
                ( {v[16]}   100,   50,  -50 ),
                ( {v[17]}    50,   50, -100 ),
                ( {v[18]}   -50,   50, -100 ),
                ( {v[19]}  -100,   50,  -50 ),
                ( {v[20]}  -100,   50,   50 ),
                ( {v[21]}  -100,  100,  100 ),
                ( {v[22]}   100,  100,  100 ),
                ( {v[23]}   100,  100, -100 ),
                ( {v[24]}  -100,  100, -100 ) ) ;


SURFACES_INFO =
          ( {vlak 1}  ( 3 , LightGreen   , FALSE ),
               {vlak 2}  ( 3 , LightMagenta , FALSE ),
               {vlak 3}  ( 3 , LightRed     , FALSE ),
               {vlak 4}  ( 3 , LightBlue    , FALSE ),
               {vlak 5}  ( 4 , Magenta      , TRUE  ),
               {vlak 6}  ( 4 , LightBlue    , TRUE  ),
               {vlak 7}  ( 4 , Blue         , TRUE  ),
               {vlak 8}  ( 4 , LightGray    , TRUE  ),
               {vlak 9}  ( 8 , LightRed     , FALSE ),
               {vlak10}  ( 8 , LightBlue    , FALSE ),
               {vlak11}  ( 8 , Brown        , FALSE ),
               {vlak12}  ( 8 , LightCyan    , FALSE ),
               {vlak13}  ( 4 , LightMagenta , FALSE ),
               {vlak14}  ( 8 , Yellow       , TRUE  ) ) ;


SURFACES_VERTICES =
          ( {vlak 1}  ( 1,  2,  3,  0,  0,  0,  0,  0),
               {vlak 2}  ( 4,  5,  6,  0,  0,  0,  0,  0),
               {vlak 3}  ( 7,  8,  9,  0,  0,  0,  0,  0),
               {vlak 4}  (10, 11, 12,  0,  0,  0,  0,  0),
               {vlak 5}  (20, 13,  3,  2,  0,  0,  0,  0),
               {vlak 6}  (14, 15,  5,  4,  0,  0,  0,  0),
               {vlak 7}  (16, 17,  7,  9,  0,  0,  0,  0),
               {vlak 8}  (10, 12, 18, 19,  0,  0,  0,  0),
               {vlak 9}  ( 1,  3, 13, 14,  4,  6, 22, 21),
               {vlak10}  ( 6,  5, 15, 16,  9,  8, 23, 22),
               {vlak11}  ( 8,  7, 17, 18, 12, 11, 24, 23),
               {vlak12}  ( 1, 21, 24, 11, 10, 19, 20,  2),
               {vlak13}  (21, 22, 23, 24,  0,  0,  0,  0),
               {vlak14}  (20, 19, 18, 17, 16, 15, 14, 13) )  ;

OBJECT_END ;

OBJECT_NAME = "Trap" ;

EXERCISE_LEVEL = 2 ;

THEORY_OBJECT ;

NUMBER_OF_VERTICES = 16 ;
NUMBER_OF_SURFACES = 10 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE = 8 ;

VERTICES =    ( ( {v[ 1]}    -100,   -100,   100 ),
                ( {v[ 2]}     100,   -100,   100 ),
                ( {v[ 3]}     100,    -50,   100 ),
                ( {v[ 4]}      50,    -50,   100 ),
                ( {v[ 5]}      50,     50,   100 ),
                ( {v[ 6]}     -50,     50,   100 ),
                ( {v[ 7]}     -50,    100,   100 ),
                ( {v[ 8]}    -100,    100,   100 ),
                ( {v[ 9]}     100,   -100,  -100 ),
                ( {v[10]}    -100,   -100,  -100 ),
                ( {v[11]}    -100,    100,  -100 ),
                ( {v[12]}     -50,    100,  -100 ),
                ( {v[13]}     -50,     50,  -100 ),
                ( {v[14]}      50,     50,  -100 ),
                ( {v[15]}      50,    -50,  -100 ),
                ( {v[16]}     100,    -50,  -100 ) ) ;

SURFACES_INFO =
          ( {vlak  1}  ( 4 , LightGreen   , FALSE ),
               {vlak  2}  ( 4 , LightBlue    , TRUE  ),
               {vlak  3}  ( 4 , LightCyan    , TRUE  ),
               {vlak  4}  ( 4 , Lightmagenta , TRUE  ),
               {vlak  5}  ( 4 , Brown        , TRUE  ),
               {vlak  6}  ( 4 , Lightred     , TRUE  ),
               {vlak  7}  ( 4 , LightBlue    , FALSE ),
               {vlak  8}  ( 4 , Yellow       , FALSE ),
               {vlak  9}  ( 8 , Cyan         , FALSE ),
               {vlak 10}  ( 8 , Magenta      , FALSE ) ) ;

SURFACES_VERTICES =
          ( {vlak  1}  (  3,  2,  9, 16,  0,  0,  0,  0),
               {vlak  2}  (  4,  3, 16, 15,  0,  0,  0,  0),
               {vlak  3}  (  5,  4, 15, 14,  0,  0,  0,  0),
               {vlak  4}  (  6,  5, 14, 13,  0,  0,  0,  0),
               {vlak  5}  (  7,  6, 13, 12,  0,  0,  0,  0),
               {vlak  6}  (  8,  7, 12, 11,  0,  0,  0,  0),
               {vlak  7}  (  1,  8, 11, 10,  0,  0,  0,  0),
               {vlak  8}  ( 10,  9,  2,  1,  0,  0,  0,  0),
               {vlak  9}  (  1,  2,  3,  4,  5,  6,  7,  8),
               {vlak 10}  (  9, 10, 11, 12, 13, 14, 15, 16) ) ;


OBJECT_END ;
OBJECT_NAME = "H" ;
EXERCISE_LEVEL = 2 ;
EXERCISE_NO_USE = A,B,F;
ROTATE_BEFORE_USE = (90, 0, 0) ;
NUMBER_OF_VERTICES = 24 ;
NUMBER_OF_SURFACES = 14 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE = 12 ;

VERTICES = ( ( {v[ 1]}  -100, -100, -100 ),
             ( {v[ 2]}  -100, -100,  100 ),
             ( {v[ 3]}  -100,  -40,  100 ),
             ( {v[ 4]}  -100,  -40, -100 ),
             ( {v[ 5]}   -30, -100, -100 ),
             ( {v[ 6]}   -30, -100,  -30 ),
             ( {v[ 7]}    30, -100,  -30 ),
             ( {v[ 8]}    30, -100, -100 ),
             ( {v[ 9]}   100, -100, -100 ),
             ( {v[10]}   100, -100,  100 ),
             ( {v[11]}    30, -100,  100 ),
             ( {v[12]}    30, -100,   30 ),
             ( {v[13]}   -30, -100,   30 ),
             ( {v[14]}   -30, -100,  100 ),
             ( {v[15]}   100,  -40, -100 ),
             ( {v[16]}   100,  -40,  100 ),
             ( {v[17]}   -30,  -40,  100 ),
             ( {v[18]}   -30,  -40,   30 ),
             ( {v[19]}    30,  -40,   30 ),
             ( {v[20]}    30,  -40,  100 ),
             ( {v[21]}    30,  -40, -100 ),
             ( {v[22]}    30,  -40,  -30 ),
             ( {v[23]}   -30,  -40,  -30 ),
             ( {v[24]}   -30,  -40, -100 ) ) ;

SURFACES_INFO = ( ( {vlak  1}  4, Yellow,       FALSE ),
                  ( {vlak  2} 12, Green,        FALSE ),
                  ( {vlak  3}  4, Green,        FALSE ),
                  ( {vlak  4} 12, LightGreen,   FALSE ),
                  ( {vlak  5}  4, LightRed,     FALSE ),
                  ( {vlak  6}  4, LightRed,     FALSE ),
                  ( {vlak  7}  4, LightGray,    FALSE ),
                  ( {vlak  8}  4, LightGray,    FALSE ),
                  ( {vlak  9}  4, Magenta,      TRUE  ),
                  ( {vlak 10}  4, Blue,         TRUE  ),
                  ( {vlak 11}  4, Brown,        TRUE  ),
                  ( {vlak 12}  4, Brown,        TRUE  ),
                  ( {vlak 13}  4, LightBlue,    TRUE  ),
                  ( {vlak 14}  4, LightBlue,    TRUE  ) ) ;

SURFACES_VERTICES = ( { vlak  1}  ( 1,  2,  3,  4,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  2}  ( 1,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14,  2),
                      { vlak  3}  ( 9, 15, 16, 10,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  4}  ( 4,  3, 17, 18, 19, 20, 16, 15, 21, 22, 23, 24),
                      { vlak  5}  ( 1,  4, 24,  5,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  6}  ( 8, 21, 15,  9,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  7}  ( 2, 14, 17,  3,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  8}  (11, 10, 16, 20,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  9}  ( 6, 23, 22,  7,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak 10}  (13, 12, 19, 18,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak 11}  (24, 23,  6,  5,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak 12}  ( 8,  7, 22, 21,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak 13}  (18, 17, 14, 13,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak 14}  (19, 12, 11, 20,  0,  0,  0,  0,  0,  0,  0,  0) ) ;

OBJECT_END ;
OBJECT_NAME = "M" ;
EXERCISE_LEVEL = 2 ;
EXERCISE_NO_USE = A,B,F ;
ROTATE_BEFORE_USE = (-90, 180, 0) ;
NUMBER_OF_VERTICES = 24 ;
NUMBER_OF_SURFACES = 14 ;
MAXIMUM_NUMBER_OF_VERTICES_PER_SURFACE = 12 ;

VERTICES = ( ( {v[ 1]}  -100, -100, -100 ),
             ( {v[ 2]}  -100, -100,  100 ),
             ( {v[ 3]}  -100,  -20,  100 ),
             ( {v[ 4]}  -100,  -20, -100 ),
             ( {v[ 5]}   100, -100, -100 ),
             ( {v[ 6]}   100,  -20, -100 ),
             ( {v[ 7]}   100,  -20,  100 ),
             ( {v[ 8]}   100, -100,  100 ),
             ( {v[ 9]}   -60, -100, -100 ),
             ( {v[10]}   -60, -100,   40 ),
             ( {v[11]}     0, -100, -100 ),
             ( {v[12]}    60, -100,   40 ),
             ( {v[13]}    60, -100, -100 ),
             ( {v[14]}    60, -100,  100 ),
             ( {v[15]}     0, -100,  -40 ),
             ( {v[16]}   -60, -100,  100 ),
             ( {v[17]}   -60,  -20,  100 ),
             ( {v[18]}     0,  -20,  -40 ),
             ( {v[19]}    60,  -20,  100 ),
             ( {v[20]}    60,  -20, -100 ),
             ( {v[21]}    60,  -20,   40 ),
             ( {v[22]}     0,  -20, -100 ),
             ( {v[23]}   -60,  -20,   40 ),
             ( {v[24]}   -60,  -20, -100 ) ) ;

SURFACES_INFO = ( ( {vlak  1}  4, Green,        FALSE ),
                  ( {vlak  2}  4, Green,        FALSE ),
                  ( {vlak  3} 12, Cyan,         FALSE ),
                  ( {vlak  4} 12, LightGreen,   FALSE ),
                  ( {vlak  5}  4, LightGray,    FALSE ),
                  ( {vlak  6}  4, LightGray,    FALSE ),
                  ( {vlak  7}  4, LightRed,     FALSE ),
                  ( {vlak  8}  4, LightRed,     FALSE ),
                  ( {vlak  9}  4, Brown,        TRUE  ),
                  ( {vlak 10}  4, LightGreen,   TRUE  ),
                  ( {vlak 11}  4, LightCyan,    TRUE  ),
                  ( {vlak 12}  4, LightBlue,    TRUE  ),
                  ( {vlak 13}  4, Magenta,      TRUE  ),
                  ( {vlak 14}  4, LightMagenta, TRUE  ) ) ;

SURFACES_VERTICES = ( { vlak  1}  ( 1,  2,  3,  4,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  2}  ( 5,  6,  7,  8,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  3}  ( 1,  9, 10, 11, 12, 13,  5,  8, 14, 15, 16,  2),
                      { vlak  4}  ( 4,  3, 17, 18, 19,  7,  6, 20, 21, 22, 23, 24),
                      { vlak  5}  ( 4, 24,  9,  1,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  6}  (20,  6,  5, 13,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  7}  ( 3,  2, 16, 17,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  8}  ( 8,  7, 19, 14,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak  9}  (22, 11, 10, 23,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak 10}  (11, 22, 21, 12,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak 11}  ( 9, 24, 23, 10,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak 12}  (20, 13, 12, 21,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak 13}  (18, 15, 14, 19,  0,  0,  0,  0,  0,  0,  0,  0),
                      { vlak 14}  (15, 18, 17, 16,  0,  0,  0,  0,  0,  0,  0,  0) ) ;

OBJECT_END ;

SUBMENU_END ;
