Domain :
        * The  work  is  related  to NC  code  generation  for  3 axis  milling  machine .
        * It  can  only  handle  the  2 1/2D  object (layered  objects) .
        * Also  g-m  code  is  generated  for  machining  from  one  side  at a time .
 

                                                 
 

 Input :
        As  the  objects  are  limited  to  2 &1/2 D , the  code  accepts  it  in  form  loops  and  palyarc  information  layer by layer.  The  bellow  figure  explain  how to  split up  object  into  layers  and  define  loops  and  polyarc  to  describe  complete  geometry.

                                
      sample  input-format-file.