[Therion] Cross Sections - Scale?
Andrew Atkinson
andrew at wotcc.org.uk
Tue Sep 21 09:15:29 CEST 2010
Sorry but I am getting no where with this (well not strictly true.)
Looking at the .th2 file in the text editor, I can see it is getting a
default scale from somewhere, so I can do a search and replace on all the
-scraps [-128.0 -128.0 9261.85826771 -128.0 0.0 0.0 238.5024 0.0 m]
and replace them with the correct numbers.
However, it would be better if I could do it in the file, as you suggest.
##XTHERION## xth_me_area_adjust -128.0 -128.0 9362.0 4379.96850394
##XTHERION## xth_me_area_zoom_to 400
##XTHERION## xth_me_image_insert {155.905511811 1 1.0} {949.606299212
1.0} PocketTopo/SandWormth_p.xvi 0 {}
I cannot find any help on these lines, but to me it looks like the fist
line defines the visible area, the second the zoom
and final one is something to do with the background image. However the
numbers in the brackets I cannot work out. There is a {} which could
contain a scale, but again if this is true I cannot work it out.
Although I am wondering even if I do work this out it might only be
applied to new scraps I insert.
Reading the wiki again I found
http://therion.speleo.sk/wiki/doku.php?id=tfc:332
And to quote the first paragraph
> When you open a new .th2 file. there are 2 red squares at bottom corners of canvas. These points are used to set scale manually.
I have tried opening a new .th2 file but cannot see these square? So
moving onto the next line
> After drawing plan and extended scraps, they could not be visible. If selected object on canvas is not a manually scaled scrap, they will NOT be visible at all. You need to go to “File commands control” panel, then click on the line representing cross-section scrap you create on last step. They should be visible now. However, if some zooming was done, they could be out of visual reach. You may scroll canvas or set zooming to 25% to see them. Once found, they can be dragged.
What is the "File Control Panel"
The closest I can find is Command Preview but this does not bring up the
red square?
version 5.3.3 on Ubuntu 10.04
thanks
Andrew
On 20/09/10 21:06, Martin Sluka wrote:
> Any scrap is "calibrated" see first lines of th2 file. Probably there is a another way.
>
> Odesláno z iPhone
>
> 20.9.2010 v 18:26, Andrew Atkinson<andrew at wotcc.org.uk>:
>
>> Damn
>>
>> Thanks, I had read the wiki, but sort of saw it working without the scale, so assumed that it was an undocumented feature, and that it took the scale from the main map some how, as I seem to remember it complaining if it did not have scale before, or was that only for plans.
>>
>> Now my reading of the wiki, and the thbook is that a scale would be needed for every scrap.
>>
>> Okay this seems like a good option, but as most of the time anything in a single th2 file would be at the same scale, could not a default one be set for the file, and then over ridden by a scrap scale. As you might have seen I have lots of cross sections, to scale.
>> It would be even better if it could take the scale from the plan, or maybe somehow from the PocketTopo import. Maybe an option for the sections been a a set multiple of the plan. (but I am not sure if people do this when drawing in the cave so might be pointless.) But maybe this is not possible, it is certainly for the future, this print will have to go out as is, guess the problem is that lost of the poeple looking at the survey next w/e are on the list so the mistake will jump out at them, now :(
>>
>> If I do want to stay up all night and correct this, would the quickest way be to set the scale in one cross-section scrap and then edit it in the text editor and copy to all the other cross-section scraps?
>>
>> thanks
>>
>> Andrew
>>
>>
>> On 20/09/10 12:10, Martin Sluka wrote:
>>> The cross-sections has no included any stations to calibrate the size as
>>> map or elevation. Normally you should calibrate them:
>>> http://therion.speleo.sk/wiki/doku.php?id=tbe:wiki3#cross_sections
>>>
>>> Martin
>>>
>>> On 19.9.2010, at 23:51, Andrew Atkinson wrote:
>>>
>>>> At last a final survey to be printed, well not quite.
>>>>
>>>> On closer examination, there seems to be a scale problem with the
>>>> cross section. Either that or my drawing is really bad.
>>>> Some of them seem to be twice the scale of the main survey, others
>>>> seem to be the same.
>>>>
>>>> Is there a way to control this and what is the default?
>>>>
>>>> I have a horrible feeling that when I have imported from pocket topo,
>>>> it asks which scale, some I have done at 1:200 but in the end I
>>>> switched to 1:100, I hope this has not made a difference.
>>>>
>>>> You should be able to see what I mean on
>>>>
>>>> http://www.ubss.org.uk/__transfer/Charterhouse_basic_survey_small_file.pdf
>>>>
>>>>
>>>> The ones on Route 66 (upper label) Onion Passage, look fine, but the
>>>> ones on Route 66 (lower label) seem far too large, I have assumed
>>>> twice scale.
>>>>
>>>> Practically out of time this has to go to printing, tomorrow
>>>>
>>>> Can I also thank all those on the list that have helped me to get this
>>>> into production, and especially to those of you doing the coding
>>>>
>>>> Andrew
>>>>
>>>> _______________________________________________
>>>> Therion mailing list
>>>> Therion at speleo.sk
>>>> http://mailman.speleo.sk/mailman/listinfo/therion
>>>
>>> _______________________________________________
>>> Therion mailing list
>>> Therion at speleo.sk
>>> http://mailman.speleo.sk/mailman/listinfo/therion
>>>
>>
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> http://mailman.speleo.sk/mailman/listinfo/therion
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
More information about the Therion
mailing list