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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160406/cbdc2a28/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: xtherion.rar Type: application/rar Size: 192671 bytes Desc: not available URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160406/cbdc2a28/attachment.rar> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-xtherion-Added-line-simplification-menu-in-Edit-line.patch Type: application/octet-stream Size: 8406 bytes Desc: not available URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160406/cbdc2a28/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: 2016-04-06 14_31_40.png Type: image/png Size: 18327 bytes Desc: not available URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160406/cbdc2a28/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: 2016-04-06 14_20_41.png Type: image/png Size: 17540 bytes Desc: not available URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160406/cbdc2a28/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: 2016-04-06 14_21_13.png Type: image/png Size: 8512 bytes Desc: not available URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160406/cbdc2a28/attachment-0002.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: 2016-04-06 14_22_09.png Type: image/png Size: 39917 bytes Desc: not available URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160406/cbdc2a28/attachment-0003.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: 2016-04-06 14_23_15.png Type: image/png Size: 39508 bytes Desc: not available URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160406/cbdc2a28/attachment-0004.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: 2016-04-06 14_31_09.png Type: image/png Size: 21495 bytes Desc: not available URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20160406/cbdc2a28/attachment-0005.png>