Can you open the .th2 file in a text editor and copy/paste the relevant 
features from one file to the other?

On May 10, 2015, at 2:10 PM, Xavier Pennec <Xavier.Pennec at inria.fr> wrote:

Hi Torstein,

There is an undocumented feature which can help you that I am using once in a 
while to redraw an elevation with a new projection from the same scraps or to 
redraw a passage that has been too distorted: you can export the morphed th2 
files so that they are consistent with the coordinates with the xvi file. This 
is working essentially as an xvi export (see eample below).

HOWEVER, you should be careful that this feature is not documented for a good 
reason: most of the th2 options are missing in the exported th2 (eg label 
location and text, id of lines or points) so that the generated th2 file will 
not work properly. What I am doing , is comparing the two th2 files (original 
and warped) using notepad++ compare plugin and reput all the options where they 
should be. This may take a while for a large drawing, but it is way more 
efficient than redrawing everything.

Hope that help

Xavier

%%%%%%%%%%%%%%%%%%

layout th2-export
scale 1 100
grid-size 1 1 1  m
sketches on  ## rewarped also sketches exported in th2 now
endlayout

## Exports the maps and the images rewarped
# Do it only when needed!
export map -fmt th2 -o Elevation10_ReWarped.th2 -projection [elevation 10] 
-layout th2-export
export map -fmt xvi -o Elevation10_ReWarped.xvi -projection [elevation 10] 
-layout xvi-export



Le 10/05/2015 04:47, torstein finnesand a écrit :
> Hi fellows,
> 
> Sometimes I realize that two scraps should have been one (for instance scrap 
> A in A.th2 should have been a part of scrap B in B.th2), in particular when 
> it's difficult to join them. It's easy to insert the xvi file into the scrap 
> B file. But I have to draw it again.
> 
> Is there any workaround here?
> 
> Torstein Finnesand
> Norway
> 
> 
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion

-- 
> -------------------------
> Xavier Pennec
> Senior Research Scientist / Directeur de recherche
> Asclepios project-team, INRIA Sophia-Antipolis
> 2004 Route des Lucioles, BP93
> F-06902 Sophia-Antipolis Cedex, France
> +33 4 92 38 76 64
> +33 6 78 35 16 90
> http://www-sop.inria.fr/asclepios/
> -------------------------------

_______________________________________________
Therion mailing list
Therion at speleo.sk
http://mailman.speleo.sk/mailman/listinfo/therion

Reply via email to