Hi guys
There was one option I was missing in XTherion to reduce the number of points in a line.
I work mostly with Topodroid and depending on the settings while drawing, in some cases I end up with lines with hundreds of points. This makes them harder to edit, enlarges the TH2 file and slows the compilation.
I added a menu Edit line > Simplify line that reduces the points. There is also a setting in xtherion.ini called "xth(gui,me,line,simp_limit)" that controls how smooth/rough the line becomes. A value of 10 seemed to work well for me.
One limitation is that Bezier lines become simple lines.
I've attached a few screenshots, the patch file, and the xtherion.tcl file.
Would be nice is someone can test how it works with their scraps.
Vladimir