[Therion] Convert eligible lines to curves
Mark Dickey
mark at markdickey.net
Fri Dec 2 21:40:33 CET 2022
Good day,
*Summary:* I added a new xtherion feature: "Convert eligible lines to
curves". I have tested the feature locally and used it to convert almost
a thousand poly lines to bezier curves successfully. I created a new git
fork of therion and have created a pull request for review and
approval. It is at: https://github.com/therion/therion/pull/468
*Detail:*
During a recent expedition I had a user change the line creation setting
in Topodroid away from bezier. This resulted in almost two weeks of
survey data on that device being poly based. While it would be possible
to convert lines individually, there were hundreds upon hundreds of
lines. I searched the therion book, wiki, and mailing list for tentative
solutions. The only reference to this was on the mailing list from years
ago and had no solution.
I considered writing a parser for the th2 files and running it through a
separate algorithm, as well as exporting to svg, converting the lines in
illustrator, and then converting to th2...but I decided to add a new
feature to Therion to convert all eligible lines from poly to bezier curves.
If approved, the new option is found under the "Edit" menu and provides
a prompt for confirmation with the count of lines to be converted. While
the process is running, there is a progress bar displayed. It takes a
long time to run when there is a high volume of points (mostly due to
redrawing of points I expect), but just let it go in the background and
it'll get there.
--
Mark Dickey
914-879-7803
mark at markdickey.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20221202/e87e181a/attachment.htm>
More information about the Therion
mailing list