<div dir="ltr"><div class="gmail_default" style="font-size:small">In most cases it does, but if the points in a line are too many it still leaves more points than I would like. And some remaining points are still very close together because the line segment had some micro-curves that the Bezier lines tries to preserve.<br></div><div class="gmail_default" style="font-size:small">In other cases "Conver to curve" doesn't work and does nothing, but I haven't checked the code to see why.<br><br></div><div class="gmail_default" style="font-size:small">Sometimes I just need a simple "rougher" line without curves so I added this option.<br><br></div><div class="gmail_default" style="font-size:small">Vladimir<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 6, 2016 at 3:39 PM, Martin Sluka <span dir="ltr"><<a href="mailto:martinsluka@mac.com" target="_blank">martinsluka@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">And "Convert to curve" doesn’t works for you?<div><br></div><div>m.s.</div><div><br><div><blockquote type="cite"><div>6. 4. 2016 v 13:45, Владимир Георгиев <<a href="mailto:vld.georgiev@gmail.com" target="_blank">vld.georgiev@gmail.com</a>>:</div><br><div><div><div class="h5"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi guys<br><br></div><div class="gmail_default" style="font-size:small">There was one option I was missing in XTherion to reduce the number of points in a line.<br>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.<br><br></div><div class="gmail_default" style="font-size:small">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.<br><div class="gmail_default" style="font-size:small">One limitation is that Bezier lines become simple lines.<br><br></div>I've attached a few screenshots, the patch file, and the xtherion.tcl file.<br></div><div class="gmail_default" style="font-size:small">Would be nice is someone can test how it works with their scraps.<br></div><br><div class="gmail_default" style="font-size:small">Vladimir<br></div></div>
</div></div><span><xtherion.rar></span><span><0001-xtherion-Added-line-simplification-menu-in-Edit-line.patch></span><span><2016-04-06 14_31_40.png></span><span><2016-04-06 14_20_41.png></span><span><2016-04-06 14_21_13.png></span><span><2016-04-06 14_22_09.png></span><span><2016-04-06 14_23_15.png></span><span><2016-04-06 14_31_09.png></span>_______________________________________________<br>Therion mailing list<br><a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br><a href="http://mailman.speleo.sk/mailman/listinfo/therion" target="_blank">http://mailman.speleo.sk/mailman/listinfo/therion</a><br></div></blockquote></div><br></div></div><br>_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk">Therion@speleo.sk</a><br>
<a href="http://mailman.speleo.sk/mailman/listinfo/therion" rel="noreferrer" target="_blank">http://mailman.speleo.sk/mailman/listinfo/therion</a><br>
<br></blockquote></div><br></div>