[Therion] cross-section drawing

2006-12-21 Thread Stacho Mudrak
Quoting Wookey :
> Really I don't want to move markers - I want to place them by clicking
> on corner points. That would be very quick and easy.

Try today's developement snapshot (OK - if having problems with 0.4.0,  
just cd xtherion, make and copy only xtherion).

Instead of "scale" label, there is Scale button. If you will press it,  
you should be able to click both scaling points very fast.

S.




[Therion] Why no rock point symbol?

2006-12-21 Thread Wookey
There are point symbols for blocks and peddles and debris and roots
and all sorts of things but not 'a rock' which would be a really
well-used one if it existed...

It's tiresome drawing the outline for a small rock, or a few of them.

It should be at least somewhat dandomised in order to look good but
even a standard (scaleable) rock would suffice.

Is there a good reason why we don't have this?

(you can tell when I start using therion again can't you :-) I'll have
some more questions later )

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://wookware.org/



[Therion] cross-section drawing

2006-12-21 Thread Stacho Mudrak
Quoting Wookey :
> A scale taken from the overall map (properly scaled with stations) is
> that it is much more likely to be correct, and a typical avergae (not
> a value from the ends of the bell curve, which you might get using a
> random x-sect to scale all the others). So this seems to me to be much
> better (as well as much quicker).

But if you scaprs drawn in different scales? And what about rotation?  
I think it is difficult.

> Could you get confused as to which marker is which and
> thusaccidentally reverse the x-sect? If so them either make them diff
> shapes or colours, or put them slightly to corners.

This is, why I wanted to have there an arrow - it will point from  
first to second marker.

> for 'next two clicks place scale markers' would be best - but maybe
> that is not easy to code?

No idea, I need to have a look. May be adding another "RED" mode is feasible.

> We have a general (and very difficult) problem of what to do about
> labels and sections in the presence of over/under lying passages. I am
> not yet sure what the answers are but there is definately much room
> for improvement.

Agree.

S.




[Therion] atlas map queries

2006-12-21 Thread Wookey
On 2006-12-21 13:25 +0100, Stacho Mudrak wrote:
> Quoting Wookey :
> > 1) There are various blank pages. Why is this?
> > e.g. page17,18,19
> 
> Until now, we did not find an efficient way how to detect whether  
> there is something drawn on the page. We use scrap outline, so if  
> there is "diagonal" scrap, pages in 2 corners becomes empty.
> 
> We remove empty pages at the end, when everything is ready (I guess  
> using layout exclude-pages option).

OK. Fair enough. I will do it that way.

> > 2) Note that whenever the cave crosses the 'edge of atlas page' line
> > there is a fill glitch:
> > Left hand side page 1, Right hand uppper page 2
> 
> ? I am not able to see this, could you please highlight it on some  
> small picture?

Ah, OK. it is an evince rendering bug. It renders OK in xpdf. I will
file a bug.

> > These plots done on therion 0.3.10 as I am having problems with 0.4.0.
> 
> What kind of problems with 0.4.0 do you have?

Mostly 'my debian packaging' I think. It seems to be running in debug
mode and generating reams of output and then I got some error. And
loch killed my X server!

That is original 0.4.0 release. I need to incorporate latest code and
then test again. Then I can give you usewful bug reports. 

I just went back to 0.3.10 so I could get some actual drawing done :-)

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://wookware.org/



[Therion] atlas map queries

2006-12-21 Thread Stacho Mudrak
Quoting Wookey :
> 1) There are various blank pages. Why is this?
> e.g. page17,18,19

Until now, we did not find an efficient way how to detect whether  
there is something drawn on the page. We use scrap outline, so if  
there is "diagonal" scrap, pages in 2 corners becomes empty.

We remove empty pages at the end, when everything is ready (I guess  
using layout exclude-pages option).

> 2) Note that whenever the cave crosses the 'edge of atlas page' line
> there is a fill glitch:
> Left hand side page 1, Right hand uppper page 2

? I am not able to see this, could you please highlight it on some  
small picture?

> These plots done on therion 0.3.10 as I am having problems with 0.4.0.

What kind of problems with 0.4.0 do you have?

S.




[Therion] How do I change the water symbol

2006-12-21 Thread Stacho Mudrak
Quoting Olly Betts :
> I'm guessing the problem is that the distance between the diagonal lines
> scales with everything else so they're just too close together at a
> scale which is significantly smaller than those the therion developers
> tend to use themselves.

Exactly. We have already in TODO list to extract some generic  
variables for fill densities. Currently, you can do it by redefinition  
of symbols in layout. Just add to your layout:

code metapost

% pattern for water, .18u is density of lines.
beginpattern(pattern_water_MY);
 draw origin--10up withpen pensquare scaled (0.02u);
 patternxstep(.18u);
 patterntransform(identity rotated 45);
endpattern;

% pattern for sump, 0.25u is density in this case.
beginpattern(pattern_sump_MY);
 draw origin--(0,.25u) withpen pensquare scaled (0.02u);
 draw origin--(.25u,0) withpen pensquare scaled (0.02u);
 patterntransform(identity rotated 45);
endpattern;

def a_water (expr Path) =
   T:=identity;
   thclean Path;
   thfill Path withpattern pattern_water_MY;
enddef;

def a_sump (expr Path) =
   T:=identity;
   thclean Path;
   thfill Path withpattern pattern_sump_MY;
enddef;

endcode

... and modify 0.18u in water pattern (and/or 0.25u in sump pattern)  
to number you need.

In therion, area symbols are defined two ways:
1. Using patterns - no randomness, very small PDF file size. You need  
to redefine pattern (begin|endpattern) and symbol macro (a_water).
2. Using drawing/clipping into Path - random look, large PDF size.  
Here you need to redefine only symbol (a_water) macro.
Water is the case of pattern fills. Blocks and other are random.

For other area symbols, see mpost/thArea.mp file for metapost source codes.

HTH, S.





[Therion] cross-section drawing

2006-12-21 Thread Wookey
On 2006-12-21 13:11 +0100, Stacho Mudrak wrote:
> Quoting Wookey :
> > alongside the cave, and their natural scale is 'the same as the plan'.
> > It would be nice if there was some way to specify the scale as 'like
> > scrap foo'.
> 
> By default, when you insert scrap, the scale is set up to scale of  
> last scrap edited. So theoretically, you need to set scale once and  
> then just insert new scraps.

OK - that should help. 

The problem with the whole 'move two squares
and set corner co-ords' is that it is rather innacurate. ther can be
quite large errors in x-sect drawins and these are amplified by this
method. If that scale is then repeated for all the x-sects in a file
you could easy end up with them all being 20% too big.

> I need to have a look, what can I do about -scale-like option.

A scale taken from the overall map (properly scaled with stations) is
that it is much more likely to be correct, and a typical avergae (not
a value from the ends of the bell curve, which you might get using a
random x-sect to scale all the others). So this seems to me to be much
better (as well as much quicker).

> > The biggest problem is finding the corner-markers.
> 
> 100% agree. Shame on me :(
> 
> I see following improvements easy to code:
> 1. Adding a thick red arrow joining scale markers.
> 2. Adding a button that will put scale markers + arrow into center of  
> current screen.
> Would it help you? Do you see other solutions?

Moving the two markers to the middle would suit me best (as to draw
x-sects I am always zoomed in to max 400%, so even a big arrow could
take a while to find). 

Could you get confused as to which marker is which and
thusaccidentally reverse the x-sect? If so them either make them diff
shapes or colours, or put them slightly to corners.

Really I don't want to move markers - I want to place them by clicking
on corner points. That would be very quick and easy. So think a button
for 'next two clicks place scale markers' would be best - but maybe
that is not easy to code?

There is a whole load of other stuff to do with grouping x-sects and
auto-placing them in a box/area, and labelling section lines and
corresponding sections that also needs to be addressed, but I
think that is already on the to-do list. Therion ought to make sorting
out sections easier but in fact it current makes it slightly harder
than hand-drawing (which was already very tedious).

Terikan is a good example of a cave where sections next to passages
doesn't work very well - too many underlying and overlying layers.

We have a general (and very difficult) problem of what to do about
labels and sections in the presence of over/under lying passages. I am
not yet sure what the answers are but there is definately much room
for improvement.

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://wookware.org/



[Therion] cross-section drawing

2006-12-21 Thread Wookey
On 2006-12-21 08:42 +0100, Martin Sluka wrote:
> 
> On 21.12.2006, at 0:16, Wookey wrote:
> 
> > The biggest problem is finding the corner-markers.
> 
> There is a simple trick - just zoom out the scale of editation window  
> to 25 % -and move those red squares by mouse.

OK, yes, that works, but it takes 40 seconds to zoom in and another 40
seconds to zoom out again (on the largish file I have open right now),
so it is still slow and tedious. Also at this scale it is not possible
to see the cross-section I wish to place the scale marks next to
(obscrured by therion point blobs) so putting them in the right place
is difficult. I can see that this would work quite well for small
enough files/fast enough computers. It should go in the wiki.

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://wookware.org/



[Therion-cs] ako sustit Therion na Ubuntu / Kubuntu 6.10

2006-12-21 Thread Peter Sliacan
Dobry den,
Berte to len ako moju pripomienku.
Programovanie ma nebavi a nezaujima. Na to su tu urcite programatori, autori
a spolopracovnici programu reagujuci na pripomienky uzivatela.  Ja som len
ten uzivatel a preto ma zaujima funkcionalita  a pouzitelnost programu pre
mapovanie jaskyn o ktorom som uz vela pocul.  Idem ho vyskusat a skusit
uviest do praxe.
Esta raz dakujem za odpoved.
Peter


2006/12/21, Martin Sluka :
>
>
> On 21.12.2006, at 10:09, Peter Sliacan wrote:
>
> > Skoda, ze sa Therion po nainstalovani automaticky nezobrazi v
> > ponuke programov (K start) podobne ako Survex.
>
> Je to zadarmo, ber ako je alebo oprav, prípadne doprogramuj. :)
>
> Martin
> ___
> Therion-cs mailing list
> Therion-cs na speleo.cz
> http://www.speleo.cz/mailman/listinfo/therion-cs
>
- dal?í ?ást ---
HTML p?íloha byla odstran?na...
URL: 
<http://mailman.speleo.sk/pipermail/therion-cs/attachments/20061221/02a0ceeb/attachment.html>


[Therion-cs] ako sustit Therion na Ubuntu / Kubuntu 6.10

2006-12-21 Thread Martin Sluka

On 21.12.2006, at 10:09, Peter Sliacan wrote:

> Skoda, ze sa Therion po nainstalovani automaticky nezobrazi v  
> ponuke programov (K start) podobne ako Survex.

Je to zadarmo, ber ako je alebo oprav, prípadne doprogramuj. :)

Martin


[Therion] Offline wiki

2006-12-21 Thread Ladislav Blazek

Here you can find my first outdated attempt to generate HTML version. I
need to finalize output template but it works...
http://therion.speleo.sk/wiki/export/

L.

Ladislav Blazek napsal(a):
> Wookey napsal(a):
>> Thanx to Marco for his really useful therion by example (although none
>> of the pictures appear for me in the dillo browser - is this a feature
>> of the way the wiki works, or are they currently missing?)
>
> Pictures are back on the right place. Sorry. It happens during wiki moving
> to the therion.speleo.sk web site subdirectory.
>
>> BTW I want to put this (marco's) doc into the Debian Therion package
>> as it is really useful. Can we generate HTML from the current wiki
>> version easily? (I think this may have been answered before - must
>> check the archive).
>
> Yes it could be done via script. I can generate HTML version of whole wiki
> or any of the existing namespaces. So just let me know I will prepare a
> cron script for offline version generation. It could be also downloadable
> from web page as compressed archive.
>
> L.
>
> ___
> Therion mailing list
> Therion at speleo.sk
> http://www.speleo.sk/mailman/listinfo/therion
>


-- 
Ladislav Blazek




[Therion] cross-section drawing

2006-12-21 Thread Ladislav Blazek
Wookey napsal(a):
> Thanx to Marco for his really useful therion by example (although none
> of the pictures appear for me in the dillo browser - is this a feature
> of the way the wiki works, or are they currently missing?)

Pictures are back on the right place. Sorry. It happens during wiki moving
to the therion.speleo.sk web site subdirectory.

> BTW I want to put this (marco's) doc into the Debian Therion package
> as it is really useful. Can we generate HTML from the current wiki
> version easily? (I think this may have been answered before - must
> check the archive).

Yes it could be done via script. I can generate HTML version of whole wiki
or any of the existing namespaces. So just let me know I will prepare a
cron script for offline version generation. It could be also downloadable
from web page as compressed archive.

L.




[Therion-cs] ako sustit Therion na Ubuntu / Kubuntu 6.10

2006-12-21 Thread Ladislav Blazek
Dobry den,
therion je jen "kompilator" zdrojovych souboru. Pro kompilaci mapy musite
nejprve nejake zdrojove soubory vytvorit. K tomu slouzi graficka nastavba
xtherion = v konzoli napiste xtherion

Ladislav Blazek

PS: a nepracujte jako root :-)


Peter Sliacan napsal(a):
> Dobry den,
> Pouzivan Linux Kubuntu (odvodeny od Debianu) a cez pouku softu v manager
> Adept som si nainstaloval Therion.
> Neviem ho vsak spustit.
> V ponuke programov sa nezobrazuje a ked ho chcem spustit v konzole zobrazi
> sa len toto:
> root na peter:/home/peter# therion
> therion 0.3.10
> cavern - Survex 1.0.39
> initialization file: /etc/therion.ini
> reading ... done
> therion: error -- source files not specified
>
> Vedeli by ste mi poradit ci a ako sustit Therion na Ubuntu / Kubuntu 6.10
> ?
>
> Dakujem za odpoved.
>
> Peter
> ___
> Therion-cs mailing list
> Therion-cs na speleo.cz
> http://www.speleo.cz/mailman/listinfo/therion-cs
>


-- 
Ladislav Blazek




[Therion] cross-section drawing

2006-12-21 Thread Martin Sluka

On 21.12.2006, at 0:16, Wookey wrote:

> The biggest problem is finding the corner-markers.

There is a simple trick - just zoom out the scale of editation window  
to 25 % -and move those red squares by mouse.

Martin S.



[Therion] How do I change the water symbol

2006-12-21 Thread Martin Sluka

On 21.12.2006, at 1:03, Olly Betts wrote:

> the therion developers
> tend to use themselves.

There is a section in wiki about modification of metapost macros for  
symbols. Not exactly for water, but for several other areas. It  
should be similar.

http://therion.speleo.sk/wiki/doku.php?id=mmj

Please, after you find your solution, place it on wiki too.

m.s.



[Therion] How do I change the water symbol

2006-12-21 Thread Olly Betts
On Wed, Dec 20, 2006 at 11:36:32PM +, Wookey wrote:
> On 2006-12-20 18:46 +, Olly Betts wrote:
> > On Tue, Dec 19, 2006 at 03:21:01AM +, Wookey wrote:
> > > The xisting water shading sysmbol doesn't work at all well at small
> > > scales. The lines merge and I just get a black area for both open
> > > water and sumps.
> > 
> > We'd definitely like this too.  The drawn up survey has one small sump
> > pool and one static puddle, so we've just ignored that both look the
> > same, and black rather than patterned.
> 
> As MartinS and PhilipS pointed out this info is in the wiki here:
> http://therion.speleo.sk/wiki/doku.php?id=metapost

That seems to tell me how to make water blue, which isn't what I want.

What I'd like is for the diagonal stripes (on pools) and cross-hatching
(on sumps) to be visible at scales like 1:500 rather than just appearing
as solid black.

I'm guessing the problem is that the distance between the diagonal lines
scales with everything else so they're just too close together at a
scale which is significantly smaller than those the therion developers
tend to use themselves.

Cheers,
Olly