it can be used to batch convert tdr files to therion sketch files.
there may still be mistakes. if you find any, please report.
similar utilities could be written for other sketch formats (dxf, svg, ...).
with this utility therion sketches can be extracted from a topodroid zip archiver.
this is a first step to a complete extraction of survey data and sketches in therion format from the zip, thus making the therion exports in topodroid obsolete.
getting the data therion file from the sqlite file should not be diffucult. if anyone writes an extraction program (C, python, perl, or whatever) i will be really happy to add it to the repo.