Hello Error in xvi with sketches for extended elevation, see picture Therion 5.3.9 -- WBR, Vasily
There is indeed a constent shift of the included sketch in xvi files. A workaround is to double click on the sketch with the right button to translate the sketch were it should be with respect to the xvi, but one has to do that every time one opens the file in xtherion. It would be nice to correct the bug. Xavier Le 25/11/2011 16:36, Vasily Vl. Suhachev a écrit :
Hello
Error in xvi with sketches for extended elevation, see picture
Therion 5.3.9
_______________________________________________ Therion mailing list Therion@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/ -------------------------------
Yes, indeed, one can correct the coordinates of the included jpg file in xtherion, but one should know how much to offset, and this value is changing for each included picture. Here are two examples where the jpg file should be changed from -68:516 to -75:464 for the first file (projPuits) and from 639:146 to 471:329 for the second (proj300_entree) Moreover, the updated offset in not saved in the th2 (this is normal since the th2 only loads the xvi), which means that the next time we open the th2, the same offset will have to be corrected once again. In fact, the problem comes from the generation of the xvi file with sketches where the offset generated for the "set XVIimages" seems to be wrong. Xavier Le 25/11/2011 17:30, Martin Sluka a écrit :
On 25.11.2011, at 16:57, Xavier Pennec wrote:
There is indeed a constent shift of the included sketch in xvi files.
There are coordinates each sketch has in xtherion. Probably it is faster and more accurate to change those coordinates.
m.
_______________________________________________ Therion mailing list Therion@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/ -------------------------------
On 25.11.2011, at 18:35, Xavier Pennec wrote:
In fact, the problem comes from the generation of the xvi file with sketches where the offset generated for the "set XVIimages" seems to be wrong.
Have you check the .th2 file if there is the wrong coordinates too? What's happen if you manually change the coordinates in .th2 file out of xtherion? m.
The th2 file has only one set of coordinates for the xvi file comprising both the sketch jpg image and the vector drawing. When loading this th2 file, the sketch offset is wrong, and even if one corrects it and save the th2, it will be wrong again the next time one opens it. Xavier ##XTHERION## xth_me_image_insert {314.962 1 1.0} {157.48 101} MasDuPre1_projPuits.xvi 0 {} Le 26/11/2011 00:24, Martin Sluka a écrit :
On 25.11.2011, at 18:35, Xavier Pennec wrote:
In fact, the problem comes from the generation of the xvi file with sketches where the offset generated for the "set XVIimages" seems to be wrong.
Have you check the .th2 file if there is the wrong coordinates too? What's happen if you manually change the coordinates in .th2 file out of xtherion?
m. _______________________________________________ Therion mailing list Therion@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/ -------------------------------
On 26.11.2011, at 19:33, Xavier Pennec wrote:
The th2 file has only one set of coordinates for the xvi file comprising both the sketch jpg image and the vector drawing. When loading this th2 file, the sketch offset is wrong, and even if one corrects it and save the th2, it will be wrong again the next time one opens it.
It is really strange, because if you import several sketches each one will have its own coordinates. Stacho? Martin
participants (4)
-
Martin Sluka -
Stacho Mudrak -
Vasily Vl. Suhachev -
Xavier Pennec