#763

Sawing centres show the operator the picture of the cutting map and expect it in the EMF format. The server hands the map over in SVG, so the program turns one format into the other on your computer.

How the program knows that this is a cutting map

By the neighbours: if an .xml file lies next to the .svg file in the same folder, it means this is part of the cutting program — the picture has to be made into EMF. If the file is in the labels folder, it will go to PDF. Everything else, including the drawings in the SVG\ folder, is not converted at all.

What you get on the disk

  • The .emf file appears in the same folder where the source .svg was. It cannot be redirected somewhere else — copying to the machines is there for that.
  • The source .svg is deleted after a successful conversion: the machine does not need it, and it takes up space.
  • If the conversion failed, the source stays in place — so that there is something to show during the investigation.

Why EMF opens as a picture

The resulting EMF is a raster image of the map enlarged three times. The machines read it: they determine the format by the contents of the file, not by the extension. The threefold enlargement is done so that the text on the map is readable on the machine screen.

Hence a useful check: drag the .emf into a browser. If it opened, the file is intact, and the problem is on the machine side or in the fact that the file is not in the folder the machine looks at.

If the map was not converted

  • Most often the source file is empty or was damaged during generation. The log will name the exact file. It is cured by downloading the order again: Delete an order and download it again.
  • Conversion errors are visible on the «Conversion» tab in the error column and in the invalid_svg_1.log file.
  • The program does not show pop-up messages about this — you have to watch the error counter yourself.

When the conversion is not needed

If your machines take the map in a different form, the EMF conversion can be switched off with a checkbox on the «Conversion» tab. Then the SVG files will stay on the disk as they are and will be copied to the machine together with the rest of the files.