Parts, stock, settings and results can be saved/loaded in/from XML files which is the default format of the Next Nesting Software X.
Main structure of the XML files is the following:
Note that some files contain only partial information from this structure. For instance when working with parts only the contents of the part tag is saved.
<?xml version="1.0"?> <data> <parts> <row> ... </row> ... </parts> <stock> <row> ... </row> ... </stock> <technical_parameters> <true_shape> ... </true_shape> <dxf> ... </dxf> </technical_parameters> <results> <true_shape> <sheet_true_shape> ... </sheet_true_shape> ... </true_shape> </results> </data>
Detailed structure of the files is:
<?xml version="1.0"?> <data> <parts> <row> <filename></filename> <shape> <main_shape> <circle> <center_x>0.000000</center_x> <center_y>0.000000</center_y> <radius>117.500000</radius> </circle> </main_shape> </shape> <length>235</length> <width>235</width> <quantity>16</quantity> <label></label> <material></material> <allow_mirror>0</allow_mirror> <rotation_step>0.000000</rotation_step> <customer></customer> <color>16777215</color> <use_it>1</use_it> </row> <row> <filename></filename> <shape> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>0.000000</x> <y>0.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>100.000000</x> <y>0.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>150.000000</x> <y>100.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>0.000000</x> <y>50.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> </shape> <length>150</length> <width>100</width> <quantity>10</quantity> <label></label> <material></material> <allow_mirror>0</allow_mirror> <rotation_step>90.000000</rotation_step> <customer></customer> <color>16777215</color> <use_it>1</use_it> </row> </parts> <stock> <row> <length>1000</length> <width>1000</width> <quantity>2</quantity> <label></label> <material></material> <price>0.000000</price> <priority>0</priority> <use_it>1</use_it> </row> </stock> <technical_parameters> <true_shape> <optimization_level>1</optimization_level> <rotation_center>0</rotation_center> <starting_corner>0</starting_corner> <starting_direction>0</starting_direction> <cutter_type>0</cutter_type> <precision>0.000001</precision> <cutter_diameter>0.000000</cutter_diameter> <random_seed>0</random_seed> <allow_part_in_part>1</allow_part_in_part> </true_shape> <dxf> <linking_distance>0.010000</linking_distance> <allow_mix_layers>1</allow_mix_layers> </dxf> </technical_parameters> <results> <rectangular /> <true_shape> <sheet_true_shape> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>0.000000</x> <y>0.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>1000.000000</x> <y>0.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>1000.000000</x> <y>1000.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>0.000000</x> <y>1000.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <holes> <count>0</count> </holes> <trim>0.000000</trim> <num_pieces>24</num_pieces> <pieces> <piece> <main_shape> <circle> <center_x>117.500000</center_x> <center_y>117.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>117.500000</offset_x> <offset_y>117.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>352.500000</center_x> <center_y>117.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>352.500000</offset_x> <offset_y>117.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>587.500000</center_x> <center_y>117.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>587.500000</offset_x> <offset_y>117.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>822.500000</center_x> <center_y>117.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>822.500000</offset_x> <offset_y>117.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>234.140220</center_x> <center_y>322.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>234.140220</offset_x> <offset_y>322.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>469.140220</center_x> <center_y>322.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>469.140220</offset_x> <offset_y>322.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>704.140220</center_x> <center_y>322.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>704.140220</offset_x> <offset_y>322.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>881.643030</center_x> <center_y>477.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>881.643030</offset_x> <offset_y>477.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>117.500000</center_x> <center_y>527.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>117.500000</offset_x> <offset_y>527.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>352.500000</center_x> <center_y>527.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>352.500000</offset_x> <offset_y>527.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>587.500000</center_x> <center_y>527.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>587.500000</offset_x> <offset_y>527.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>765.002810</center_x> <center_y>682.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>765.002810</offset_x> <offset_y>682.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>234.140220</center_x> <center_y>732.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>234.140220</offset_x> <offset_y>732.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>469.140220</center_x> <center_y>732.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>469.140220</offset_x> <offset_y>732.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>848.881810</x> <y>232.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>948.881810</x> <y>232.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>998.881810</x> <y>332.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>848.881810</x> <y>282.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <offset_x>848.881810</offset_x> <offset_y>232.000000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>90.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>1</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>0.000000</x> <y>728.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>100.000000</x> <y>728.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>150.000000</x> <y>828.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>0.000000</x> <y>778.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <offset_x>0.000000</offset_x> <offset_y>728.000000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>90.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>1</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>849.643230</x> <y>764.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>949.643230</x> <y>764.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>999.643230</x> <y>864.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>849.643230</x> <y>814.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <offset_x>849.643230</offset_x> <offset_y>764.000000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>90.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>1</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>581.763490</x> <y>766.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>681.763490</x> <y>766.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>731.763490</x> <y>866.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>581.763490</x> <y>816.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <offset_x>581.763490</offset_x> <offset_y>766.000000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>90.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>1</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>724.263490</x> <y>800.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>824.263490</x> <y>800.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>874.263490</x> <y>900.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>724.263490</x> <y>850.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <offset_x>724.263490</offset_x> <offset_y>800.000000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>90.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>1</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>0.000000</x> <y>812.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>100.000000</x> <y>812.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>150.000000</x> <y>912.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>0.000000</x> <y>862.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <offset_x>0.000000</offset_x> <offset_y>812.000000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>90.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>1</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>301.177520</x> <y>829.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>401.177520</x> <y>829.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>451.177520</x> <y>929.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>301.177520</x> <y>879.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <offset_x>301.177520</offset_x> <offset_y>829.000000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>90.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>1</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>530.017150</x> <y>833.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>630.017150</x> <y>833.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>680.017150</x> <y>933.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>530.017150</x> <y>883.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <offset_x>530.017150</offset_x> <offset_y>833.000000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>90.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>1</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>144.500000</x> <y>850.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>244.500000</x> <y>850.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>294.500000</x> <y>950.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>144.500000</x> <y>900.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <offset_x>144.500000</offset_x> <offset_y>850.000000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>90.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>1</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>672.517150</x> <y>867.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>772.517150</x> <y>867.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>822.517150</x> <y>967.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>672.517150</x> <y>917.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <offset_x>672.517150</offset_x> <offset_y>867.000000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>90.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>1</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> </pieces> <area_covered>0.000000</area_covered> <quantity>1</quantity> <material></material> <label></label> <priority>0</priority> <solution_cost>0.000000</solution_cost> <index>0</index> </sheet_true_shape> <sheet_true_shape> <main_shape> <polygon> <num_vertices>4</num_vertices> <vertex> <x>0.000000</x> <y>0.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>1000.000000</x> <y>0.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>1000.000000</x> <y>1000.000000</y> <is_arc>0</is_arc> </vertex> <vertex> <x>0.000000</x> <y>1000.000000</y> <is_arc>0</is_arc> </vertex> </polygon> </main_shape> <holes> <count>0</count> </holes> <trim>0.000000</trim> <num_pieces>2</num_pieces> <pieces> <piece> <main_shape> <circle> <center_x>117.500000</center_x> <center_y>117.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>117.500000</offset_x> <offset_y>117.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> <piece> <main_shape> <circle> <center_x>352.500000</center_x> <center_y>117.500000</center_y> <radius>117.500000</radius> </circle> </main_shape> <offset_x>352.500000</offset_x> <offset_y>117.500000</offset_y> <rotated_angle>0.000000</rotated_angle> <rotation_step>0.000000</rotation_step> <mirrored>0</mirrored> <label></label> <customer></customer> <index>0</index> <color>16777215</color> <holes> <count>0</count> </holes> <inside_other_part>0</inside_other_part> </piece> </pieces> <area_covered>0.000000</area_covered> <quantity>1</quantity> <material></material> <label></label> <priority>0</priority> <solution_cost>0.000000</solution_cost> <index>0</index> </sheet_true_shape> </true_shape> </results> </data>