[Therion] Using metapost code examples

2008-12-30 Thread Dave Clucas
Looking at the metapost examples in the Wiki it appears that a block  
symbol can be defined or redefined which allows the size of the block  
to be changed. Does this apply to each instance of a block or is it a  
global definition. How do you specify the size of the block when you  
place it in the drawing?

   code metapost
def p_blocks_UIS (expr pos,theta,sc,al)=
 symbolsize:=1.0u; %Factor*u; Factor=size of the blocks
 U:=(.5u,.5u);
 T:=identity aligned al rotated theta scaled sc shifted pos;
 pickup PenC;
 thdraw (.0symbolsize,.0symbolsize)--(1.0symbolsize,-. 
5symbolsize)--(0.0symbolsize,-1.5symbolsize)-- 
(-1.0symbolsize,-1.0symbolsize)--cycle;
 thdraw (.5symbolsize,-.25symbolsize)--(1.0symbolsize,. 
5symbolsize)--(0.0symbolsize,1.5symbolsize)--(-0.5symbolsize,. 
5symbolsize);
 thdraw (.0symbolsize,.0symbolsize)--(.0symbolsize,.5symbolsize)-- 
(-1.5symbolsize,.5symbolsize)--(-1.5symbolsize,-0.5symbolsize)-- 
(-0.5symbolsize,-0.5symbolsize);
enddef;
   endcode



Dave Clucas
email:dave at daveclucas.com
Website: http://daveclucas.com
  http://mycaves.org
Skype: daveclucas




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20081230/ea2e1e04/attachment.html>


[Therion] Therion Digest, Vol 37, Issue 15

2008-12-31 Thread Dave Clucas
I'm afraid that's what I thought. We have the situation here in Mulu  
where the main passages are 50m wide with house sized boulders with  
side passages a mere 5m wide and small car size boulders so ideally we  
need a mixture of block sizes to play with. And of course chambers the  
size of football fields.

On 31 Dec 2008, at 19:00, therion-request at speleo.sk wrote:

> Send Therion mailing list submissions to
>   therion at speleo.sk
>
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
>
> You can reach the person managing the list at
>   therion-owner at speleo.sk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
>
>
> Today's Topics:
>
>   1. Re: Using metapost code examples (Stefan Oswald)
>   2. Re: Using metapost code examples (Martin Budaj)
>   3. Re: Using metapost code examples (Wookey)
>
>
> --
>
> Message: 1
> Date: Tue, 30 Dec 2008 13:01:17 +0100
> From: "Stefan Oswald" 
> Subject: Re: [Therion] Using metapost code examples
> To: therion at speleo.sk
> Message-ID: <20081230120117.233970 at gmx.net>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> The size is controlled by the factor before the u.  
> (symbolsize:=1.0u; %Factor*u; Factor=size of the blocks change 1.0  
> as you want)
>> Does this apply to each instance of a block or is it a
>> global definition.
> This overrules the point_block sizes in the whole plan compiled.
> Size canging/definition of a single block is, as far as i know, not  
> possible and not projected?
>
> The problem was (with other symbols it is still the case, a solution  
> could be, for example an layout command for small symbols) that with  
> small caves in small scales the normative symbol size is too large,  
> so it might happen that you only see a small part of the symbol in a  
> narrow passage on small scale.
> You can handle this problem with block_points and block_area in UIS  
> as in described in wiki by changing the factor before the "u".
>
> Gl?ck Tief, Stefan
>
>  Original-Nachricht 
>> Datum: Tue, 30 Dec 2008 12:00:01 +0100
>> Von: therion-request at speleo.sk
>> An: therion at speleo.sk
>> Betreff: Therion Digest, Vol 37, Issue 14
>
>> Send Therion mailing list submissions to
>>  therion at speleo.sk
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>  http://mailman.speleo.sk/mailman/listinfo/therion
>> or, via email, send a message with subject or body 'help' to
>>  therion-request at speleo.sk
>>
>> You can reach the person managing the list at
>>  therion-owner at speleo.sk
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Therion digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Using metapost code examples (Dave Clucas)
>>
>>
>> --
>>
>> Message: 1
>> Date: Tue, 30 Dec 2008 19:00:56 +0800
>> From: Dave Clucas 
>> Subject: [Therion] Using metapost code examples
>> To: therion at speleo.sk
>> Message-ID: <2CDC217E-E91E-4780-A35C-F6B719CC9D32 at daveclucas.com>
>> Content-Type: text/plain; charset="us-ascii"; Format="flowed";
>>  DelSp="yes"
>>
>> Looking at the metapost examples in the Wiki it appears that a block
>> symbol can be defined or redefined which allows the size of the block
>> to be changed. Does this apply to each instance of a block or is it a
>> global definition. How do you specify the size of the block when you
>> place it in the drawing?
>>
>>   code metapost
>>def p_blocks_UIS (expr pos,theta,sc,al)=
>> symbolsize:=1.0u; %Factor*u; Factor=size of the blocks
>> U:=(.5u,.5u);
>> T:=identity aligned al rotated theta scaled sc shifted pos;
>> pickup PenC;
>> thdraw (.0symbolsize,.0symbolsize)--(1.0symbolsize,-.
>> 5symbolsize)--(0.0symbolsize,-1.5symbolsize)--
>> (-1.0symbolsize,-1.0symbolsize)--cycle;
>> thdraw (.5symbolsize,-.25symbolsize)--(1.0symbolsize,.
>> 5symbolsize)--(0.0symbolsize,1.5symbolsize)--(-0.5symbolsize,.
>> 5symbolsize);
>> thdraw (.0symbolsize,.0symbolsize)--(.0symbolsize,.5

[Therion] Therion Digest, Vol 38, Issue 1

2009-01-02 Thread Dave Clucas
It would be better, I think, to have an attribute for the scale  
(Factor) with values of say 1-10 which could be passed to and  
evaluated by the definition.
But first, I was checking to see if I was missing something in the way  
Stefan's def works.

On 2 Jan 2009, at 19:00, therion-request at speleo.sk wrote:

> Send Therion mailing list submissions to
>   therion at speleo.sk
>
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
>
> You can reach the person managing the list at
>   therion-owner at speleo.sk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
>
>
> Today's Topics:
>
>   1. Re: Using metapost code examples (Bruce Mutton)
>   2. improved script for converting SVG to th2 (Thomas Holder)
>
>
> --
>
> Message: 1
> Date: Fri, 02 Jan 2009 11:58:05 +1300
> From: Bruce Mutton 
> Subject: Re: [Therion] Using metapost code examples
> To: 'List for Therion users' 
> Message-ID: <2A837C7D04834F3FA9928B5D91A18CF0 at JUICEBRAIN>
> Content-Type: text/plain; charset="us-ascii"
>
> "I'm afraid that's what I thought. We have the situation here in  
> Mulu where
> the main passages are 50m wide with house sized boulders with side  
> passages
> a mere 5m wide and small car size boulders so ideally we need a  
> mixture of
> block sizes to play with. And of course chambers the size of football
> fields."
>
>
>
> I have not tried this but surely the solution is just a matter of  
> creating a
> number of similar metapost code definitions, that differ only by the  
> scale
> factor as mentioned by Stefan, and named say blocks_xl, blocks_l,  
> blocks_s,
> blocks_xs.  Then add these additional definitions to the legend and
> configuration file as in the bats example in the last few pages of the
> Therion book.  We would then have 5 different block scales that  
> could be
> used at will in any drawing.
>
>
>
> I'm probably being naive again, but it looks in concept very simple,  
> as we
> have a code example as a template.  Any reason why not?
>
>
>
> Regards
>
> Bruce
>
>
>
>
>
>
>
>
>
>
>
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20090102/9b7b7245/attachment.html
>  
> >
>
> --
>
> Message: 2
> Date: Fri, 02 Jan 2009 01:35:18 +0100
> From: Thomas Holder 
> Subject: [Therion] improved script for converting SVG to th2
> To: therion at speleo.sk
> Message-ID: <495D6146.3020702 at thomas-holder.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> there is a new SVG to th2 converter, implemented as an export plugin  
> for
> inkscape. Check the wiki page:
>
> http://therion.speleo.sk/wiki/doku.php?id=inkscape
>
> Regards,
>   Thomas
>
>
> --
>
> ___
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>
>
> End of Therion Digest, Vol 38, Issue 1
> **



Dave Clucas
email:dave at daveclucas.com
Website: http://daveclucas.com
  http://mycaves.org
Skype: daveclucas




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20090102/8e7e4f4e/attachment.html>


[Therion] Google Earth terrain model

2009-07-13 Thread Dave Clucas
Have you tried Terraintool?

quote
I've recently developed an application to create terrain data for  
Survex from the results of the Shuttle Radar Topography Mission  
(SRTM). Coverage is >99% of the land mass between 60 degrees North and  
56 degrees South - with the missing bits mostly being in mountaneous  
areas where steep faces were shadowed from the oblique radar by  
surrounding peaks.

The tool lets you select a rectangular area in a variety of coordinate  
systems (OSGB, Irish Grid, UTM, Lambert Coordinates, Austrian grid...)  
and saves the result as a .svx Survex data file. It's written in Java  
and should run OK on Windows, Linux, Solaris etc. If anyone's  
interested in playing with it you can download it 
fromhttp://uk.geocities.com/mikemccombe at btinternet.com/terraintool.htm 
  You'll also find some installation instructions and driving  
instructions.

Best regards,
Mike
unquote
-- 
Survex http://lists.survex.com/mailman/listinfo/survex
On 12 Jul 2009, at 11:00, therion-request at speleo.sk wrote:

> Message: 2
> Date: Sun, 12 Jul 2009 20:09:40 +1200
> From: "Bruce Mutton" 
> Subject: Re: [Therion] Google Earth terrain model
> To: "'List for Therion users'" 
> Message-ID: <1F4C18599AC54E418B97157105730B60 at JUICEBRAIN>
> Content-Type: text/plain; charset="us-ascii"
>
> Thomas
> As far as I can tell there is no Windows interpreter that will run
> applescript.  One would need to write an equivalent script in a  
> Windows
> compatible language I think.
>
> Stelios' approach seems to be more straight forward, except that I  
> have not
> being able to decipher vtopo and gensur.  I stumbled my way through  
> the
> French language to install it and eventually view vtopo in English,  
> but
> gensur is always it French it seems.  That stopped me.
>
> Wolfgang has posted a reasonably comprehensive means to get a  
> terrain model.
> I will try it eventually. http://therion.speleo.sk/wiki/doku.php? 
> id=ifl
>
> Bruce
>
> -Original Message-
> From: therion-bounces at speleo.sk [mailto:therion-bounces at speleo.sk]  
> On Behalf
> Of thomasschilter at bluewin.ch
> Sent: Saturday, 11 July 2009 5:14 a.m.
> To: therion at speleo.sk
> Subject: Re: [Therion] Google Earth terrain model
>
> Hello
> Does anyone with a Windows machine? Did someone perhaps the Google  
> Earth
> script by Martin reprogrammed? Or what other
> options there are? Unfortunately I have no idea about the program.
>
> Best regards
> Thomas
>
>
>
>
> --
>
> _______
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>
>
> End of Therion Digest, Vol 44, Issue 9
> **

Dave Clucas
dave at daveclucas.com
http://daveclucas.com
http://mycaves.org



-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20090713/377b7644/attachment.html>


[Therion] Therion Digest, Vol 40, Issue 12

2009-03-14 Thread Dave Clucas
I think this is just a matter of terminology. Depth should perhaps  
read vertical range or denivelation. What you are suggesting would  
only be valid for a cave with a single entrance.

On 14 Mar 2009, at 19:00, therion-request at speleo.sk wrote:

> Send Therion mailing list submissions to
>   therion at speleo.sk
>
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
>
> You can reach the person managing the list at
>   therion-owner at speleo.sk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
>
>
> Today's Topics:
>
>   1. depth (Guido Verhoeven)
>
>
> --
>
> Message: 1
> Date: Sat, 14 Mar 2009 11:05:13 +0100
> From: Guido Verhoeven 
> Subject: [Therion] depth
> To: 
> Message-ID: 
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hello eveyone
>
>
>
> I'm new to this list (3 days) and I already saw something that, in  
> my opinion, may be better:
>
>
>
> As well on the plan as on the extended elevation there is mentioned  
> 'Depth' followed by the meters between the highest point and the  
> lowest point of the cave. But we have found, for the moment just a  
> little cave, that goes at the entrance down for about 5 meter and  
> then slowly up for about 15 meter. So I believe it would be better  
> that there is: 'Depth: -5 m , + 15 m'.
>
>
>
> Thank you
>
>
>
> Verhoeven Guido
>
> _
> Een pauze nodig? Speel een spelletje met je vrienden
> http://www.messengerbillboard.be/nl/play
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20090314/37bddee5/attachment.html
>  
> >
>
> ------
>
> ___
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>
>
> End of Therion Digest, Vol 40, Issue 12
> ***



Dave Clucas
email:dave at daveclucas.com
Website: http://daveclucas.com
  http://mycaves.org
Skype: daveclucas




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20090314/e85d9ff3/attachment.html>


[Therion] ESRI output

2009-09-15 Thread Dave Clucas
I have been trying out the ESRI model and see that it only exports  
shots, stations and walls. I would like to use the areas, particularly  
areas of subtype water in order to create an underground river shape  
file. Could you put this on your TODO list please.

Dave Clucas
dave at daveclucas.com
http://daveclucas.com
http://mycaves.org






[Therion] Therion bugs

2010-02-10 Thread Dave Clucas
I've had a couple of problems

1. I put an altitude point at the entrance to a cave. According to thbook this 
can be optionally followed by units but no units show on the output pdf. I 
tried the following options but none of them worked
-value [fix 1562 meter]
-value [fix 1562 metre]
-value [fix 1562 m]

2. scrap author
thbook says that if the author's name has more than 2 words separate them with 
'/'. I got an error saying invalid name format. I discovered by trial and error 
that I can use "name1 name2/name3" but not name1/name2/name3. The real problem 
though is that I want to use four words and this just doesn't work.

Dave Clucas
email:dave at daveclucas.com 
Website: http://daveclucas.com
 http://mycaves.org
Skype: daveclucas




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20100210/bdb58545/attachment.html>


[Therion] Altitude Units

2010-02-14 Thread Dave Clucas
Altitude Units
Sorry but I don't understand this answer. My problem is not that I want to 
change the units that the altitude is displayed in but that I want to display 
the units as a suffix after the value as in "1562m" or "1562 m".

It sounds as though I've misunderstood the meaning of this paragraph in thbook

altitude: the value specied is the altitude dierence from the nearest station. 
If the
altitude value is prexed by \fix" (e.g. -value [fix 1300]), this value is used 
as an
absolute altitude. The value can optionally be followed by length units.


> Message: 4
> Date: Wed, 10 Feb 2010 20:07:08 +0100
> From: Stacho Mudrak 
> Subject: Re: [Therion] Therion bugs
> To: List for Therion users 
> Message-ID:
>   <55e5b7b51002101107u1bacc7fy40ade323f0213a73 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
>> I've had a couple of problems
>> 1. I put an altitude point at the entrance to a cave. According to thbook 
>> this can be optionally followed by units but no units show on the output 
>> pdf. I tried the following options but none of them worked
>> -value [fix 1562 meter]
>> -value [fix 1562 metre]
>> -value [fix 1562 m]
> 
> These units are parsed when file is read. On the output, all altitudes
> are converted to meters, regardless of input units.
> 
> Best regards, S.
> 
> 
> --
> 
> ___
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
> 
> 
> End of Therion Digest, Vol 51, Issue 10
> ***



Dave Clucas
email:dave at daveclucas.com 
Website: http://daveclucas.com
 http://mycaves.org
Skype: daveclucas




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20100214/1d7e7b32/attachment.html>


[Therion] Installation on Snow Leopard

2010-02-18 Thread Dave Clucas
Trying to install v5.3 on Snow Leopard vives me this error.

tclsh makeinstall.tcl MACOSX
installation error: could not write /usr/bin/loch

I seem to remember last time I installed Therion I had to remove some lines 
from a makefile but I can't remember which file or which lines to remove. Can 
anyone help please. 


Dave Clucas
email:dave at daveclucas.com 
Website: http://daveclucas.com
 http://mycaves.org
Skype: daveclucas




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20100218/3eda3571/attachment.html>


[Therion] ESRI model

2010-02-27 Thread Dave Clucas
I've been having a play with the ESRI format model and can display shots and 
stations but not the walls. Am I doing something wrong?


Dave Clucas
email:dave at daveclucas.com 
Website: http://daveclucas.com
 http://mycaves.org
Skype: daveclucas




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20100227/279913af/attachment.html>


[Therion] ESRI model problem

2012-03-27 Thread Dave Clucas
I'm having problems with GIS data output.
If I export a kml model it appears in Google Earth in the correct place.
If I import the kml into QGIS it appears in the correct place. cs is UTM50.
However, if I export an ESRI model it appears in QGIS about 500 kms to the NE 
o.f where it should be.



Dave Clucas
dave at daveclucas.com
http://daveclucas.com
http://mycaves.org



-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20120327/0a626669/attachment.html>


[Therion] Installing on Mountain Lion

2012-11-03 Thread Dave Clucas
ly2tri.h:36:
In file included from ./extern/poly2tri/sweep/cdt.h:35:
./extern/poly2tri/sweep/advancing_front.h:51:47: warning: field 'value' will be
  initialized after field 'next' [-Wreorder]
  Node(Point& p) : point(&p), triangle(NULL), value(p.x), next(NULL), prev(NULL)
  ^
./extern/poly2tri/sweep/advancing_front.h:55:58: warning: field 'value' will be
  initialized after field 'next' [-Wreorder]
  Node(Point& p, Triangle& t) : point(&p), triangle(&t), value(p.x),
 ^
2 warnings generated.
c++ -c -Wall -DTHMACOSX -O2 -o thcs.o thcs.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thcsdata.o thcsdata.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thexptable.o thexptable.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thdb2d.o thdb2d.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thscrap.o thscrap.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thendscrap.o thendscrap.cxx
c++ -c -Wall -DTHMACOSX -O2 -o th2ddataobject.o th2ddataobject.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thdb2dprj.o thdb2dprj.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thdb2dpt.o thdb2dpt.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thdb2dlp.o thdb2dlp.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thdb2dab.o thdb2dab.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thdb2dji.o thdb2dji.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thdb2dmi.o thdb2dmi.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thdb2dcp.o thdb2dcp.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thdb2dxm.o thdb2dxm.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thdb2dxs.o thdb2dxs.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thscraplo.o thscraplo.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thscraplp.o thscraplp.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thscrapen.o thscrapen.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thpoint.o thpoint.cxx
thpoint.cxx:654:29: warning: format string is not a string literal
  (potentially insecure) [-Wformat-security]
  ...utf2tex(out->layout->units.format_human_length(this->xsize)));
 ^~~~
1 warning generated.
c++ -c -Wall -DTHMACOSX -O2 -o thline.o thline.cxx
c++ -c -Wall -DTHMACOSX -O2 -o tharea.o tharea.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thlegenddata.o thlegenddata.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thmpost.o thmpost.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thsymbolsets.o thsymbolsets.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thjoin.o thjoin.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thmap.o thmap.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thexpmap.o thexpmap.cxx
thexpmap.cxx:2372:40: warning: equality comparison with extraneous parentheses
  [-Wparentheses-equality]
  if thline*)obj)->outline == TT_LINE_OUTLINE_NONE)) { 
   ^~~
thexpmap.cxx:2372:40: note: remove extraneous parentheses around the comparison
  to silence this warning
  if thline*)obj)->outline == TT_LINE_OUTLINE_NONE)) { 
  ~^  ~
thexpmap.cxx:2372:40: note: use '=' to turn this equality comparison into an
  assignment
  if thline*)obj)->outline == TT_LINE_OUTLINE_NONE)) { 
   ^~
   =
1 warning generated.
c++ -c -Wall -DTHMACOSX -O2 -o thlayoutln.o thlayoutln.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thlayoutclr.o thlayoutclr.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thexpsys.o thexpsys.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thexpuni.o thexpuni.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thconvert.o thconvert.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thpdf.o thpdf.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thpdfdbg.o thpdfdbg.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thpdfdata.o thpdfdata.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thtexfonts.o thtexfonts.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thsymbolset.o thsymbolset.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thlang.o thlang.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thmapstat.o thmapstat.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thexpdb.o thexpdb.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thpic.o thpic.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thsketch.o thsketch.cxx
c++ -c -Wall -DTHMACOSX -O2 -o thproj.o thproj.cxx
c++ -c -Wall -DTHMACOSX -O2 -o extern/lxMath.o loch/lxMath.cxx
c++ -c -Wall -DTHMACOSX -O2 -o extern/lxFile.o loch/lxFile.cxx
In file included from loch/lxFile.cxx:13:
loch/getline.h:27:1: error: functions that differ only in their return type
  cannot be overloaded
getline (char **_lineptr, size_t *_n, FILE *_stream);
^
/usr/include/stdio.h:449:9: note: previous declaration is here
ssize_t getline(char ** __restrict, size_t * __restrict, FILE * ...
^
In file included from loch/lxFile.cxx:13:
loch/getline.h:30:1: error: functions that differ only in their return type
  cannot be overloaded
getdelim (char **_lineptr, size_t *_n, int _delimiter, FILE *_stream);
^
/usr/include/stdio.h:448:9: note: previous declaration is here
ssize_t getdelim(char ** __restrict, size_t * __restrict, int, FILE * ...
^
2 erro

[Therion] Metapost modifications

2012-11-16 Thread Dave Clucas
In Mulu many of the passages are part filled with sandstone pebbles.  
I'd like to create a user area and a user symbol based on pebbles  
where the ellipses are filled with a colour (light brown). Can anybody  
tell me how to modify the standard definition?

Dave Clucas
dave at daveclucas.com
http://daveclucas.com
http://mycaves.org






[Therion] Metapost modifications

2012-11-16 Thread Dave Clucas
I've answered my own question. It was a lot easier than I expected!

code metapost
   def a_u_pebbles (expr p) =
  T:=identity;
  pickup PenC;
  path q, qq; q = bbox p;
  picture tmp_pic;
  tmp_pic := image(
for i = xpart llcorner q step 1.5u until xpart urcorner q:
  for j = ypart llcorner q step 1.5u until ypart urcorner q:
qq := (superellipse((.2u,0),(0,.1u),(-.2u,0),(0,.-.1u),.75))
% randomized (u/25)
 rotated uniformdeviate(360)
 shifted ((i,j) randomized 0.8u);
if xpart (p intersectiontimes qq) < 0:
  thdraw qq;
  thfill qq withcolor(1, 0.85, 0.83);
fi;
  endfor;
endfor;
  );
  clip tmp_pic to p;
  draw tmp_pic;
enddef;

def p_u_pebbles (expr pos,theta,sc,al)=
U:=(.45u,.35u);
T:=identity aligned al rotated theta scaled sc shifted pos;
pickup PenC;
p:=superellipse((.2u,0),(0,.1u),(-.2u,0),(0,.-.1u),.75);
thdraw p rotated 20 shifted (0,.25u);
thfill p rotated 20 shifted (0,.25u) withcolor(1, 0.85, 0.83);
thdraw p rotated -37 shifted (.25u,-.25u);
thfill p rotated -37 shifted (.25u,-.25u) withcolor(1, 0.85, 0.83);
thdraw p rotated -62 shifted (-.25u,-.25u);
thfill p rotated -62 shifted (-.25u,-.25u) withcolor(1, 0.85, 0.83);
enddef;

endcode

On 16 Nov 2012, at 09:28, Dave Clucas wrote:

> In Mulu many of the passages are part filled with sandstone pebbles.  
> I'd like to create a user area and a user symbol based on pebbles  
> where the ellipses are filled with a colour (light brown). Can  
> anybody tell me how to modify the standard definition?
>
> Dave Clucas
> dave at daveclucas.com
> http://daveclucas.com
> http://mycaves.org
>
>
>

Dave Clucas
dave at daveclucas.com
http://daveclucas.com
http://mycaves.org






[Therion] Therion Digest, Vol 83, Issue 18

2012-11-16 Thread Dave Clucas
I took a look at Bruce's code, in particular Code to redefine area and  
point water symbols
. 
This looks like something I'd like to use but how and where do I  
define the colour eg.

 if known colour_water_bg: thfill Path withcolor colour_water_bg;  
else: thfill Path withcolor white; fi;



On 16 Nov 2012, at 11:00, therion-request at speleo.sk wrote:

> Send Therion mailing list submissions to
>   therion at speleo.sk
>
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
>
> You can reach the person managing the list at
>   therion-owner at speleo.sk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
>
>
> Today's Topics:
>
>   1. Metapost modifications (Dave Clucas)
>   2. Re: Metapost modifications (Footleg)
>   3. Re: Metapost modifications (Dave Clucas)
>
>
> ------
>
> Message: 1
> Date: Fri, 16 Nov 2012 09:28:17 +
> From: Dave Clucas 
> Subject: [Therion] Metapost modifications
> To: therion at speleo.sk
> Message-ID: <669F7863-965F-4631-9398-DBDB3CCFB323 at daveclucas.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> In Mulu many of the passages are part filled with sandstone pebbles.
> I'd like to create a user area and a user symbol based on pebbles
> where the ellipses are filled with a colour (light brown). Can anybody
> tell me how to modify the standard definition?
>
> Dave Clucas
> dave at daveclucas.com
> http://daveclucas.com
> http://mycaves.org
>
>
>
>
>
> --
>
> Message: 2
> Date: Fri, 16 Nov 2012 09:39:17 +
> From: Footleg 
> Subject: Re: [Therion] Metapost modifications
> To: List for Therion users 
> Message-ID:
>   
> Content-Type: text/plain; charset="iso-8859-1"
>
> Take a look at Bruce's customised symbol sets on the wiki. I based  
> mine on
> those. I have not tried adding a completely new symbol to therion  
> yet, but
> here is how I override the pebbles area fill with one which looks  
> more like
> I prefer. Include this layout in your pdf export command to see  
> pebbles
> rendered with this custom style:
>
> layout CustomisedSymbols
>  code metapost
>
> beginpattern(pattern_pebbles);
> pickup PenC;
> path qq;
> for i=0.0u step 0.6u until 5.1u:
> for j=0.0u step 0.6u until 5.1u:
>  qq := (superellipse((.05u,0),(0,.05u),(-.05u,0),(0,.-.05u),.75))
> randomized (u/45)
> scaled (uniformdeviate(1.2)+.55)
> rotated uniformdeviate(360)
> shifted ((i,j) randomized 0.55u);
>   draw qq;
> endfor;
> endfor;
> patternstep(5.1u,5.1u);
> endpattern;
>
> def a_pebbles (expr p) =
> T:=identity;
> thfill p withpattern pattern_pebbles;
> enddef;
>
>  endcode
> endlayout CustomisedSymbols
>
>
> On 16 November 2012 09:28, Dave Clucas  wrote:
>
>> In Mulu many of the passages are part filled with sandstone  
>> pebbles. I'd
>> like to create a user area and a user symbol based on pebbles where  
>> the
>> ellipses are filled with a colour (light brown). Can anybody tell  
>> me how to
>> modify the standard definition?
>>
>> Dave Clucas
>> dave at daveclucas.com
>> http://daveclucas.com
>> http://mycaves.org
>>
>>
>>
>> __**_
>> Therion mailing list
>> Therion at speleo.sk
>> http://mailman.speleo.sk/**mailman/listinfo/therion<http://mailman.speleo.sk/mailman/listinfo/therion
>>  
>> >
>>
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20121116/f597890d/attachment.html
>  
> >
>
> --
>
> Message: 3
> Date: Fri, 16 Nov 2012 10:04:22 +
> From: Dave Clucas 
> Subject: Re: [Therion] Metapost modifications
> To: therion at speleo.sk
> Message-ID: 
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> I've answered my own question. It was a lot easier than I expected!
>
> code metapost
>   def a_u_pebbles (expr p) =
>  T:=identity;
>  pickup PenC;
>  path q, qq; q = bbox p;
>  picture tmp_pic;
>  tmp_pic := image(
>for i = xpart llcorner q step 1.5u until xpart urcorner q:
>  for j = ypart llcorner q step 1.5u until ypart urcorner q:
>qq

[Therion] if exist colour_water_bg (Bruce)

2012-11-22 Thread Dave Clucas
This works fine now that I've read the full article

On 18 Nov 2012, at 11:00, therion-request at speleo.sk wrote:

>   1. if exist colour_water_bg (Bruce)

Dave Clucas
dave at daveclucas.com
http://daveclucas.com
http://mycaves.org



-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20121122/341a417d/attachment.html>


[Therion] Wiki - new metaapost code

2012-11-25 Thread Dave Clucas
I have uploaded a couple of user defined symbols to the Metapost  
section of the Wiki.

I've also added an Asia Pacific project.

Dave Clucas
dave at daveclucas.com
http://daveclucas.com
http://mycaves.org






[Therion] Topparser

2013-08-07 Thread Dave Clucas
> But I do not have a windows machine, I am on Debian. I think there is a
> hacked version that might work on Debian.

When Martin says a Windows machine I think he means a machine with an Intel 
chipset.

Dave Clucas
daveclucas.com
mycaves.org.
daveclucas at icloud.com


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130807/92ca911d/attachment.html>


[Therion] Building therion for HomeBrew (Christian Sandrini)

2013-12-29 Thread Dave Clucas
I got as far as checkout and then got this error.

mycavesmba11-2:local daveclucas$ git checkout therion
error: pathspec 'therion' did not match any file(s) known to git.

I tried to pull the files again with this result

mycavesmba11-2:local daveclucas$ git pull chris therion


[Therion] Building therion for HomeBrew

2013-12-29 Thread Dave Clucas
mycavesmba11:~ daveclucas$ brew install 
https://raw.github.com/un1x86/homebrew/therion/Library/Formula/therion.rb
 100.0%
Error: No available formula for vtk5 
Searching taps...
homebrew/versions/vtk5

Dave Clucas
daveclucas.com
mycaves.org.
daveclucas at icloud.com




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20131229/722a88ff/attachment.html>


[Therion] wish list map-image

2013-02-07 Thread Dave Clucas
I have started to use map-image to add a 3d representation from Loch to my map. 
The problem I have is that I have to resize the image  for each map I export 
depending on which sub maps are included. It would be nice if the map-image 
scale could be defined as well as its x,y position.

Dave Clucas
daveclucas.com
mycaves.org.




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130207/642f501a/attachment.html>


[Therion] point:passage-height

2013-01-11 Thread Dave Clucas
I'm using point passage-height to show the depth of some cobble banks. The map 
scale is 1:2000. The symbol almost fills the passage which is 9m wide and I 
can't find a way to scale it down. Using -scale xs makes no difference and I 
can't find any definition for the point or any metapost code to change it. I 
tried the layoutScales from Bruce but that made no difference.

Does anybody know how I can modify it?

Dave Clucas
daveclucas.com
mycaves.org.




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130111/b139480b/attachment.html>


[Therion] point:passage-height

2013-01-12 Thread Dave Clucas
Footleg - I'm not using the symbol to control the passage height, I'm using it 
to show the depth of a trench in a gravel bank.
Vasily - I'm already using base-scale to control the size of other symbols but 
this one is too big. I need to make it smaller without changing all the 
symbols. The size is probably related to the font size but again I'm happy with 
the font size for labels etc, I just want to change this particular symbol.

Dave Clucas
daveclucas.com
mycaves.org.




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130112/efca47aa/attachment.html>


[Therion] point:passage-height

2013-01-15 Thread Dave Clucas
I've just tried this again and it's fine so I must have been doing something 
wrong.

Dave Clucas
daveclucas.com
mycaves.org.




On 14 Jan 2013, at 21:25, therion-request at speleo.sk wrote:

> Send Therion mailing list submissions to
>   therion at speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: point:passage-height (Marco Corvi)
>   2. Re: point:passage-height (Martin Sluka)
> 
> 
> --
> 
> Message: 1
> Date: Mon, 14 Jan 2013 04:15:21 -0800 (PST)
> From: Marco Corvi 
> Subject: Re: [Therion] point:passage-height
> To: List for Therion users 
> Message-ID:
>   <1358165721.27508.YahooMailNeo at web120301.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset="utf-8"
> 
> hi bruce,
> 
> passage-height goes with modes 2, 3, 4, and 5
> 
> dave might redefine the mpost macros scaling the label (lab) in a custom 
> layout.
> 
> marco
> 
> 
> 
> 
> From: Bruce 
> To: 'List for Therion users'  
> Sent: Saturday, January 12, 2013 7:57 PM
> Subject: Re: [Therion] point:passage-height
> 
> 
> 
> Dave
> The key to modifying the symbol definition
> may lie in the file thText.mp in the sources
> ?
> Ie Here is the code from 5.3.9 as an
> example
> ?
> vardef p_label@#(expr txt,pos,rot,mode) =
> ? if (mode=1) or (mode=7): interim
> labeloffset:=(u/8) fi;
> ? lab:=thelabel@#(txt, pos);
> ? if mode>1: pickup PenD fi;
> ? if mode=1:
> ??? pickup pencircle scaled
> (u/6);
> ??? drawdot(pos);
> ??? process_label(pos,0);
> ? elseif mode=2:
> process_uplabel;?? 
> ? elseif mode=3: process_downlabel;
> ? elseif mode=4: process_updownlabel;
> ? elseif mode=5:
> process_circledlabel;
> ? elseif mode=6: process_boxedlabel;
> ? elseif mode=7:
> process_label(pos,rot);? % station name
> ? elseif mode=8:
> process_filledlabel(pos, rot);
> ? else: process_label(pos,rot); fi;
> enddef;
> ?
> I have not looked into how it works, but I?m
> guessing the ?point height? and ?point passage-height?
> labels are one of the ?modes? above, and that the processes called
> are default metapost routines.? Too complicated for me to unravel.
> ?
> BTW shouldn?t you be using ?point
> height? to indicate the height of cobble banks, rather than ?point
> passage-height?? (Probably the same symbol size issue will apply).
> ?
> Also, as a path to a possible work around,
> I think the AUT symbol set includes the option to label ?line pit?
> (or is it ?line wall:pit?)?? I have never managed to get it to
> work ? but have not tried too hard either.
> ?
> Bruce
> ?
> 
> 
> 
> From:therion-bounces at speleo.sk [mailto:therion-bounces at speleo.sk] On 
> Behalf Of Dave Clucas
> Sent: Sunday, 13 January 2013
> 12:59 a.m.
> To: therion at speleo.sk
> Subject: Re: [Therion]
> point:passage-height
> ?
> Footleg - I'm not using the symbol to control the passage height, I'm
> using it to show the depth of a trench in a gravel bank.
> Vasily - I'm already using base-scale to control the size of other symbols
> but this one is too big. I need to make it smaller without changing all the
> symbols. The size is probably related to the font size but again I'm happy 
> with
> the font size for labels etc, I just want to change this particular symbol.
> ?
> Dave Clucas
> daveclucas.com
> mycaves.org.
> ?
> ?
> ?
> ___
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20130114/29ae6ad0/attachment-0001.htm>
> 
> --
> 
> Message: 2
> Date: Mon, 14 Jan 2013 14:36:48 +0100
> From: Martin Sluka 
> Subject: Re: [Therion] point:passage-height
> To: List for Therion users 
> Message-ID: <9FA52187-02F7-4917-8490-06B891F1A2A1 at mac.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> 
> On Jan 14, 2013, at 1:15 PM, Marco Corvi 

[Therion] Elevation - exaggerate passage height

2013-01-15 Thread Dave Clucas
It would be quite useful to be able to scale up the height of a passage to be 
able to show the detail better. If this could be done then it would also need a 
vertical scale bar.

Dave Clucas
daveclucas.com
mycaves.org.




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130115/6380d233/attachment.html>


[Therion] North arrow

2013-03-01 Thread Dave Clucas
Could anyone confirm that the north arrow points to true north?

Dave Clucas
daveclucas.com
mycaves.org.




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130301/e17c4ed0/attachment.html>


[Therion] Possible bug in elevation xvi

2013-05-29 Thread Dave Clucas
I drawing a map based on a survey originally done with Compass. I have used the 
data from the .dat file and put survey and centreline around it. The lengths 
are all in feet so I added units tape feet.
I exported the plan xvi and drew the plan view around it. So far so good, 
everything looked fine but, when I came to draw the elevation, the xvi file was 
drawn correctly in the x axis but in the y axis the scale was wrong. It seems 
it is not converting the feet to metres.

Dave Clucas
daveclucas.com
mycaves.org.
daveclucas at icloud.com




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130529/1fe349b2/attachment.html>


[Therion] Possible bug in elevation xvi

2013-05-29 Thread Dave Clucas
I forgot to mention in my first post that I tested it by converting the lengths 
to metres in the source file and then the scales were OK.

Dave Clucas
daveclucas.com
mycaves.org.
daveclucas at icloud.com




On 29 May 2013, at 16:13, Dave Clucas  wrote:

> I drawing a map based on a survey originally done with Compass. I have used 
> the data from the .dat file and put survey and centreline around it. The 
> lengths are all in feet so I added units tape feet.
> I exported the plan xvi and drew the plan view around it. So far so good, 
> everything looked fine but, when I came to draw the elevation, the xvi file 
> was drawn correctly in the x axis but in the y axis the scale was wrong. It 
> seems it is not converting the feet to metres.
> 
> Dave Clucas
> daveclucas.com
> mycaves.org.
> daveclucas at icloud.com
> 
> 
> 
> 

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130529/ba4e2c18/attachment.html>


[Therion] Therion Digest, Vol 94, Issue 23 extended section colored by altitude

2013-10-30 Thread Dave Clucas
> Subject: [Therion] extended section colored by altitude
> To: therion at speleo.sk
> Message-ID:
>   <1382891575.29328.BPMail_high_noncarrier at 
> web120301.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
> 
> marco menchise asked me why extended sections do not come colored by altitide.
> indeed coloring ext. sectiion by altitude (or depth) would make sense to me 
> ...
> tried with 5.3.11 and they come white.
> looked at the source, and the Z coord that it used to color by altitude is 
> set to 0 for the extended section.
> any reason why?
> marco
>  

Surely the reason is you don't need it. The passage at top of the page is high 
and the passage at the bottom is low.
If the colours were used on a section it would be reasonable to assume that the 
colours would indicate which passages lay behind other passages but this 
couldn't apply to an extended section as passages are stretched out along the 
line of the projection.

Dave Clucas
daveclucas.com
mycaves.org.
daveclucas at icloud.com




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20131030/a448c41a/attachment.html>


[Therion] Therion Digest, Vol 94, Issue 23

2013-10-30 Thread Dave Clucas
> Subject: [Therion] extended section colored by altitude
> To: therion at speleo.sk
> Message-ID:
>   <1382891575.29328.BPMail_high_noncarrier at 
> web120301.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
> 
> marco menchise asked me why extended sections do not come colored by altitide.
> indeed coloring ext. sectiion by altitude (or depth) would make sense to me 
> ...
> tried with 5.3.11 and they come white.
> looked at the source, and the Z coord that it used to color by altitude is 
> set to 0 for the extended section.
> any reason why?
> marco
>  

Surely the reason is you don't need it. The passage at top of the page is high 
and the passage at the bottom is low.
If the colours were used on a section it would be reasonable to assume that the 
colours would indicate which passages lay behind other passages but this 
couldn't apply to an extended section as passages are stretched out along the 
line of the projection.

Dave Clucas
daveclucas.com
mycaves.org.
daveclucas at icloud.com

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20131030/e0feec6a/attachment.html>


[Therion] Extend

2013-09-03 Thread Dave Clucas
I'm totally confused about the use of extend. I understand right and left 
reverse but the hide and ignore are puzzling me.

I have a cave which has three entrances with their passages all converging at a 
common point. I want to show an extended elevation from only one of the 
entrances and ignore or hide the other two passages.

I've created a simple example of what I want to do.

This is what I get without any modifier. Exactly what I expected.I want to hide 
the passage at the top (stations 1 to 2 and 2 to 5).

centreline
  extend left
  0 1 10 90 0
  1 2 10 45 45
  2 5 5 90 0
  1 3 10 90 0
  3 4 10 100 0
endcentreline

test 1



The manual says 

extend  [ []] ◃ control how the centerline is 
extended. 


ignore ◃ ignore specified station (shot), continue extended elevation with 
other station (shot) if possible

hide ◃ do not show specified station (shot) in extended elevation 


Presuming that (shot) would refer to the two stations 1 to 2 I tried

centreline
  extend left
  0 1 10 90 0
  extend [hide 1 2]
  1 2 10 45 45
  2 5 5 90 0
  1 3 10 90 0
  3 4 10 100 0
endcentreline

but got the error therion: error -- test.th [5] -- unknown extend flag -- hide 
1 2

I then read the manual again and tried

…
  extend hide 1 [2]
...

This time I got  

test 2


Not what I expected. The two lines at the top are shots  5 -2 and 1 - 2. I 
understand why 5-2 might still be there but not 1-2 and why is there no 
vertical element to 1-2?

I tried again using ignore instead of hide and got the same as test 1.

I then tried

…
  extend hide 1
...

with this result

test 3


Changing hide to ignore gives the following result.
…
extend ignore 1
…

test 4


So, I have two questions.

1. How do I hide or ignore the side passage

2. What is the logic behind the results I get.

Dave Clucas
daveclucas.com
mycaves.org.
daveclucas at icloud.com




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130903/15b4bb90/attachment.html>
-- next part --
A non-text attachment was scrubbed...
Name: test1.jpg
Type: image/jpg
Size: 79807 bytes
Desc: not available
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130903/15b4bb90/attachment.jpg>
-- next part --
A non-text attachment was scrubbed...
Name: test2.jpg
Type: image/jpg
Size: 79124 bytes
Desc: not available
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130903/15b4bb90/attachment-0001.jpg>
-- next part --
A non-text attachment was scrubbed...
Name: test3.jpg
Type: image/jpg
Size: 29709 bytes
Desc: not available
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130903/15b4bb90/attachment-0002.jpg>
-- next part --
A non-text attachment was scrubbed...
Name: test4.jpg
Type: image/jpg
Size: 53287 bytes
Desc: not available
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130903/15b4bb90/attachment-0003.jpg>


[Therion] Extend - Therion Digest, Vol 93, Issue 4

2013-09-04 Thread Dave Clucas
Here are the pics marked up









On 4 Sep 2013, at 11:00, therion-request at speleo.sk wrote:

> Send Therion mailing list submissions to
>   therion at speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Extend (Bruce)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 4 Sep 2013 07:16:30 +1200
> From: Bruce 
> Subject: Re: [Therion] Extend
> To: 'List for Therion users' 
> Message-ID: <35221100083446CEA6934D820E5BB553 at JUICEBRAIN>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi Dave
> 
> Can you repost with labeled diagrams please?
> 
> Bruce
> 
> 
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> 
> 
> --
> 
> ___
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
> 
> 
> End of Therion Digest, Vol 93, Issue 4
> **


-- next part --
An HTML attachment was scrubbed...
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: test1.jpg
Type: image/jpg
Size: 68355 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: test2.jpg
Type: image/jpg
Size: 68912 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: test3.jpg
Type: image/jpg
Size: 37136 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: test4.jpg
Type: image/jpg
Size: 57443 bytes
Desc: not available
URL: 



[Therion] Extend

2013-09-05 Thread Dave Clucas
More  tests

test 5

centreline
  extend left
  0 1 10 90 0
  extend ignore 1 [2]
  1 2 10 45 45
  extend ignore 2 [5]
  2 5 5 90 0
  1 3 10 90 0
  3 4 10 100 0
endcentreline



This is more likeI want but would prefer 1,2,5 to be omitted.

test 6

centreline
  extend left
  0 1 10 90 0
  extend hide 1 [2]
  1 2 10 45 45
  extend hide 2 [5]
  2 5 5 90 0
  1 3 10 90 0
  3 4 10 100 0
endcentreline




Dave Clucas
daveclucas.com
mycaves.org.
dave at daveclucas.com




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130905/9394e778/attachment.html>
-- next part --
A non-text attachment was scrubbed...
Name: test5.jpg
Type: image/jpg
Size: 99746 bytes
Desc: not available
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130905/9394e778/attachment.jpg>
-- next part --
A non-text attachment was scrubbed...
Name: test6.jpg
Type: image/jpg
Size: 60152 bytes
Desc: not available
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20130905/9394e778/attachment-0001.jpg>


[Therion] 5.3.14 brew Therion Digest, Vol 99, Issue 8

2014-04-01 Thread Dave Clucas
Is v5.3.14 now available in brew repository. If so how do I install it? I tried 
brew install thereon but got Error: No available formula for thereon

Dave Clucas
dave.clucas at icloud.com



On 18 Mar 2014, at 11:00, therion-request at speleo.sk wrote:

> Send Therion mailing list submissions to
>   therion at speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Added 5.3.14 to brew (Martin Sluka)
> 
> 
> --
> 
> Message: 1
> Date: Mon, 17 Mar 2014 23:21:28 +0100
> From: Martin Sluka 
> Subject: Re: [Therion] Added 5.3.14 to brew
> To: List for Therion users 
> Message-ID: 
> Content-Type: text/plain; charset="windows-1252"
> 
> OK, I may wait for official recipe.
> 
> Thanks much
> 
> m.s.
> 
> 17. 3. 2014 v 23:04, Christian Sandrini :
> 
>> Again. It will not be available yet. For now you can use ?brew install 
>> https://raw.github.com/un1x86/homebrew-science/therion/therion.rb?
>> 
> 
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20140317/40f70750/attachment.html>
> 
> --
> 
> ___
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
> 
> 
> End of Therion Digest, Vol 99, Issue 8
> **

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140401/ff859adb/attachment.html>


[Therion] v5.3.14 Therion Digest, Vol 100, Issue 3

2014-04-01 Thread Dave Clucas
Now getting this error

daveclucas$ brew install therion
==> Downloading http://therion.speleo.sk/downloads/therion-5.3.12.tar.gz
Already downloaded: /Library/Caches/Homebrew/therion-5.3.12.tar.gz
==> make config-macosx
==> make
==> make install
"if {[string equal $platform WIN32]} {
  copyfile 1 therion.exe "c:/Program files/Therion/therion.exe"
  copyfile 1 xtherion/xtherion.tcl "c:/Program f..."
    (file "makeinstall.tcl" line 25)

Dave Clucas
daveclucas.com
mycaves.org.
daveclucas at icloud.com





-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140401/39512db1/attachment.html>


[Therion] v5.3.14 Therion Digest, Vol 100, Issue 4

2014-04-03 Thread Dave Clucas
Yes, I already tried that but got this error. I do have VTK5 installed

mycaves:Library daveclucas$ brew install 
https://raw.githubusercontent.com/un1x86/homebrew-science/therion/therion.rb
 100.0%
Error: No available formula for vtk (dependency of therion)
Searching taps...
homebrew/versions/vtk5   homebrew/science/vtk

Dave Clucas
dave.clucas at icloud.com



On 2 Apr 2014, at 11:00, therion-request at speleo.sk wrote:

> Send Therion mailing list submissions to
>   therion at speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: v5.3.14  Therion Digest, Vol 100, Issue 3 (Dave Clucas)
>   2. Re: v5.3.14  Therion Digest, Vol 100, Issue 3 (Christian Sandrini)
>   3. Re: v5.3.14  Therion Digest, Vol 100, Issue 3 (Martin Sluka)
> 
> 
> ------
> 
> Message: 1
> Date: Tue, 01 Apr 2014 20:42:35 +0100
> From: Dave Clucas 
> Subject: Re: [Therion] v5.3.14  Therion Digest, Vol 100, Issue 3
> To: therion at speleo.sk
> Message-ID: <78FDC314-A93A-446E-B030-3C4DDF47B3FA at icloud.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Now getting this error
> 
> daveclucas$ brew install therion
> ==> Downloading http://therion.speleo.sk/downloads/therion-5.3.12.tar.gz
> Already downloaded: /Library/Caches/Homebrew/therion-5.3.12.tar.gz
> ==> make config-macosx
> ==> make
> ==> make install
> "if {[string equal $platform WIN32]} {
>  copyfile 1 therion.exe "c:/Program files/Therion/therion.exe"
>  copyfile 1 xtherion/xtherion.tcl "c:/Program f..."
>(file "makeinstall.tcl" line 25)
> 
> Dave Clucas
> daveclucas.com
> mycaves.org.
> daveclucas at icloud.com
> 
> 
> 
> 
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20140401/39512db1/attachment.html>
> 
> --
> 
> Message: 2
> Date: Tue, 01 Apr 2014 21:50:36 +0200
> From: Christian Sandrini 
> Subject: Re: [Therion] v5.3.14  Therion Digest, Vol 100, Issue 3
> To: List for Therion users 
> Message-ID: <3A3459FA-F2E5-42C2-AC1F-C3BB43E76792 at me.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi Dave
> 
> This is the wrong version. Not quite sure why it is in the repository.
> Please use the command I wrote
> 
> brew install 
> https://raw.githubusercontent.com/un1x86/homebrew-science/therion/therion.rb
> 
> best
> Chris
> On 01 Apr 2014, at 21:42, Dave Clucas  wrote:
> 
>> Now getting this error
>> 
>> daveclucas$ brew install therion
>> ==> Downloading http://therion.speleo.sk/downloads/therion-5.3.12.tar.gz
>> Already downloaded: /Library/Caches/Homebrew/therion-5.3.12.tar.gz
>> ==> make config-macosx
>> ==> make
>> ==> make install
>> "if {[string equal $platform WIN32]} {
>>  copyfile 1 therion.exe "c:/Program files/Therion/therion.exe"
>>  copyfile 1 xtherion/xtherion.tcl "c:/Program f..."
>>(file "makeinstall.tcl" line 25)
>> 
>> Dave Clucas
>> daveclucas.com
>> mycaves.org.
>> daveclucas at icloud.com
>> 
>> 
>> 
>> 
>> 
>> ___
>> Therion mailing list
>> Therion at speleo.sk
>> http://mailman.speleo.sk/mailman/listinfo/therion
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20140401/ef17946b/attachment-0001.htm>
> -- next part --
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 496 bytes
> Desc: Message signed with OpenPGP using GPGMail
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20140401/ef17946b/attachment-0001.pgp>
> 
> --
> 
> Message: 3
> Date: Wed, 02 Apr 2014 08:34:17 +0200
> From: Martin Sluka 
> Subject: Re: [Therion] v5.3.14  Therion Digest, Vol 100, Issue 3
> To: List for T

[Therion] Can't open data.log file for input

2014-04-16 Thread Dave Clucas
I’m running Therion v 5.3.11 on a Mac.
I’ve just reinstalled Mavericks to fix a problem and now get the following 
error. Anyone know what the problem is?

### metapost log file 
therion: warning -- can't open data.log file for input
can't open data.log file for input end of metapost log file 

therion: error -- metapost exit code -- 32512
writing xtherion file ... done

Dave Clucas
dave.clucas at icloud.com



-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140416/c7ea1044/attachment.html>


[Therion] Drawing tiled floor

2014-04-18 Thread Dave Clucas
Try this as a starting point. You should be able to introduce some 
randomization and rounded corners.

  def a_tiless (expr p) =
  T:=identity;
  pickup PenC;
  path q, qq; q = bbox p;
  picture tmp_pic; 
  uu := max(u, (xpart urcorner q - xpart llcorner q)/100, (ypart urcorner q - 
ypart llcorner q)/100);
  tmp_pic := image(
for i = xpart llcorner q step 2uu until xpart urcorner q:
  for j = ypart llcorner q step 2uu until ypart urcorner q:
qq := punked 
(((-.5uu,-.5uu)--(.5uu,-.5uu)--(.5uu,.5uu)--(-.5uu,.5uu)--cycle) 
   )
shifted ((.6i,.6j) );
if xpart (p intersectiontimes qq) < 0:
  thclean qq;
  thdraw qq;
fi;
  endfor;  
endfor;
  );
  clip tmp_pic to p;
  drawoptions();
  draw tmp_pic;
enddef;

Dave Clucas
daveclucas.com
mycaves.org.
daveclucas at icloud.com




-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140418/244e09c9/attachment.html>


[Therion] Websearch program

2014-08-28 Thread Dave Clucas
A new improved version of Andrew Atkinson's web search program is now available 
for download at 
http://www.daveclucas.com/cms/index.php/downloads/category/15-therion.

An example can be viewed at http://sarawak-caves.com/php/websearch.php.

This program is still being developed with collaboration from Bruce Mutton. Any 
suggestions for additions or improvements are welcome.

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140828/89b64fbc/attachment.html>


[Therion] How to use user-defined symbols, Therion Digest, Vol 98, Issue 2

2014-02-03 Thread Dave Clucas
Have a look at this.
http://therion.speleo.sk/wiki/doku.php/metapost

You will find a symbol which I defined for a stalagmite boss which I guess is 
what you are talking about.

def p_u_boss (expr pos,theta,sc,al)=
  T:=identity aligned al rotated theta scaled sc shifted pos;
  pickup PenD;
  p := (0.08u,0.25u)..(0,0.29u)..(-0.08u,0.25u);
  q := (0.16u,0.5u)..(0u,0.58u)..(-0.16u,0.5u);
  for i=0 upto 9:
   thdraw p rotated 36i;
   thdraw q rotated 36i;
  endfor
  p := fullcircle scaled 0.15u; 
  thdraw p;
enddef;
To use a user defined symbol click on type U in the points drop down and then 
after the U, type in a colon followed by the name of your symbol so, in the 
case of the above "U:boss"

Dave Clucas
daveclucas.com
mycaves.org.
daveclucas at icloud.com





-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140203/100bf9c6/attachment.html>


[Therion] Changing text on a legend entry (Bill Gee)

2014-02-09 Thread Dave Clucas
> # Change the legend callout for stalagmaflats
>  text en_US "point u:stalagmaflat.AMER" "stalagmaflat"

I don't think your command should not include the symbole set name “AMER” 
as that isn’t included in the legend.

It should be text en_US "point u:stalagmaflat" “sttlagmaflat"

Dave Clucas


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140209/a9d71036/attachment.html>


[Therion] Therion database web interface (Bruce)

2014-07-09 Thread Dave Clucas
I’ve looked at the sql output in the past and haven’t been able to use much 
of the data, parts of it such as maps seem to be undocumented.
Your request has caused me to look again. I’m not sure you’ll be able to do 
the things you want.

I have a cave system (Whiterock in Mulu) which has 123 surveys listed in the 
database. Each survey has a unique id and a name apart from the first record 
which has an id of 1 and no name. All the surveys have a parent id of 1 apart 
from the first record which has a parent id of 0.

If I look at the maps table there are 120 records and all are referenced to 
survey id 1 which is obviously the top level survey so I can’t identify which 
survey each map belongs to. I’ve tried creating a container survey to contain 
all the sub surveys but, when I do, all maps are referenced to that container 
survey

Similarly, if I look at the scraps table, all the scraps are referenced to the 
master survey.

My index file has a map for plans and a map for elevations. Each of the maps 
contains all the scraps for that elevation.
In addition all surveys have their own plan and elevation maps so that I can 
print out each survey map separately.

I then  created a master map which contained each of the individual survey maps 
but all the individual maps are still referenced to the master survey.

What I’ve not tried to do is create a sql output for each survey. I’m sure 
that wouldn’t work anyway as the sql creates new tables and doesn’t append 
records. This means you would have to create a separate database for each 
survey and there would be no easy way of linking them.

I have done some work on Andrews code and when I’m satisfied with the results 
I’ll post on the Wiki.

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140709/59f5ce16/attachment.html>


[Therion] Problems with sql

2014-07-14 Thread Dave Clucas
Not sure what is happening here. When I query the database I find every survey 
has an extra CENTRELINE row with all the fields containing NULL or zero values 
apart from the first row which I think has no centrelines as it’s the index 
file.

Test 2
Centreline ID   Survey ID   NAMETITLE
2   1   No Title
34  31  19541954
32  31  1954No Title
33  31  19541954
38  36  1954_ramps  1954 Ramps
37  36  1954_ramps  No Title
42  40  1954-endloop1954-endloop
41  40  1954-endloopNo Title
46  44  1954_up_ramp1954
45  44  1954_up_rampNo Title
50  48  nothing_to_be_proud_of  Nothing to be proud of
49  48  nothing_to_be_proud_of  No Title
824 822 1954_garden_extension   1954 - Garden of Good and Evil 
extensions
823 822 1954_garden_extension   No Title
10321030a65_highway_to_the_dalesdirty yorkshire habits
10311030a65_highway_to_the_dalesNo Title
12511250aah_disto   No Title
12521250aah_disto   Aah Disto
12551254ancestor_passageNo Title
12561254ancestor_passageAncestor Passage

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140714/410e4270/attachment.html>


[Therion] Therion database web interface (Bruce)

2014-07-18 Thread Dave Clucas
Bruce, 

I’ve written a php program to list all surveys which don’t have an 
associated map. It can be downloaded here.
This was written for my dataset so may not work for you.
Essentially all my survey names take the form survey_name and the associated 
maps are named surveyNamePlan or surveyNameElev300 so I am able to match maps 
with surveys by searching for the combination of words in the name.
Give it a try and let me know how you get on. If it’s OK I’ll add it to the 
Wiki.



Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time



-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140718/81eb0ec5/attachment.html>


[Therion] Therion database web interface (Bruce)

2014-07-19 Thread Dave Clucas
Bruce,
I've now added a program to list surveys with no surveyors. Strictly speaking 
it's centrelines with no surveyors but it list the surveys which contain those 
centrelines
Download available i=from the same URL
http://www.daveclucas.com/cms/administrator/index.php?option=com_phocadownload&view=phocadownloadfiles

Martin,
I know about maps with submaps from different surveys and I use this approach 
but I was addressing the specific question from Bruce. I'm not sure if it has 
any impact on the data queries though as the queried data has already been 
collated by Therion. There are things in the database which I don't understand 
such as the blank row for each centreline. I suspect this is a row created for 
either explo lengths or surface lengths but I dfon't know as so far, I haven;t 
got any such data.

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140719/cf0153bb/attachment.html>


[Therion] Therion database web interface (Bruce)

2014-07-20 Thread Dave Clucas
Bruce, I've now modified the nomaps.php to show missing projections as well.
Download at 
http://www.daveclucas.com/cms/administrator/index.php?option=com_phocadownload&view=phocadownloadfiles

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140720/f486e05d/attachment.html>


[Therion] Therion database web interface (Bruce)

2014-07-20 Thread Dave Clucas
Yes, I saw you on this morning as I was uploading an update.
Sorry, I never thought to test the link as an anonymous user.
Did you get it working?
> You're a good man Dave.
> I have spent a short amount of time getting your 'nosurveyors' working on my
> system.  I'm a bit distracted by other projects at present, and find that
> php is not just a 'look-see-do' skill for me, so nothing more as yet.
> I think the link we need is
> http://www.daveclucas.com/cms/index.php/downloads/category/15-therion as we
> don't have your administrators login!
> (Oops, and i get a "File not found on server" error, so maybe not quite
> uploaded yet?)
> Bruce

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140720/f688b124/attachment.html>


[Therion] Therion database web interface (Bruce)

2014-07-25 Thread Dave Clucas
I've written a more sophisticated version of Andrew Atkinsons webSearch program.

It can be seen running at http://sarawak-caves.com/php/websearch.php and is 
available for download at 
http://www.daveclucas.com/cms/index.php/downloads/category/15-therion

Please try it out and let me know if everything works. If it's OK I'll document 
it and put it on the Wiki.

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140725/e2067828/attachment.html>


[Therion] Therion database web interface (Bruce)

2014-07-30 Thread Dave Clucas
I've updated this program to include flags

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


On 26 Jul 2014, at 03:00, therion-request at speleo.sk wrote:

>   1. Re: Therion database web interface (Bruce) (Dave Clucas)
> 
> 
> --
> 
> Message: 1
> Date: Fri, 25 Jul 2014 21:56:16 +0100
> From: Dave Clucas 
> Subject: Re: [Therion] Therion database web interface (Bruce)
> To: therion at speleo.sk
> Message-ID: <8F1360F8-74DF-4DB1-9372-4675745CF204 at icloud.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> I've written a more sophisticated version of Andrew Atkinsons webSearch 
> program.
> 
> It can be seen running at http://sarawak-caves.com/php/websearch.php and is 
> available for download at 
> http://www.daveclucas.com/cms/index.php/downloads/category/15-therion
> 
> Please try it out and let me know if everything works. If it's OK I'll 
> document it and put it on the Wiki.

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140730/ceb982cc/attachment.html>


[Therion] Map layout customisation

2014-06-09 Thread Dave Clucas
I’m trying to create a custom header and have tried this example from the 
thbook.

layout elevation
  code tex-map
   \def\maplayout{

\legendbox{0}{100}{NW}{\cavename}
}
  endcode
endlayout

I get the following errors

 pdftex log file #
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) (format=pdfetex 
2012.6.30)  9 JUN 2014 11:30
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**data.tex
(./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex
(/usr/local/texlive/2012/texmf/tex/generic/pdftex/glyphtounicode.tex))
(./th_fontdef.tex{/usr/local/texlive/2012/texmf-var/fonts/map/pdftex/updmap/pdf
tex.map})
(./th_formdef.tex) (./th_pagedef.tex
! Missing { inserted.
 
   }
\legendbox ...\unskip \setbox \tmpboxa =\vbox {#4}
  \sx =\wd \tmpboxa \sy =\ht...

\maplayout -> \legendbox {0}{100}{NW}{\cavename }

l.12 \setbox\xxx=\hbox to \x{\maplayout
   \hfill}%\dp\xxx=0bp
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)

) (./th_pages.tex)
 52 numeric registers used out of 32768

! Missing } inserted.
 
}
 
   \end 
l.653 \end

I've inserted something that you may have forgotten.
(See the  above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.


Underfull \hbox (badness 1) detected at line 653
[][][]   

\hbox(153.57375+0.0)x1256.69499, glue set 249.34053
.\pdfliteral{q 1.00 1.00 1.00 rg -28.34993 -181.34955 1308.68681 209.68948 re f
 Q}
.\hbox(153.57375+0.0)x0.0
..\pdfliteral{/OC /oc7 BDC}
..\pdfliteral{q 1 g}
..\hbox(153.57375+0.0)x0.0, glue set - 1254.6875fil
...\kern 0.0
...\hbox(153.57375+0.0)x1254.6875 []
...\glue 0.0 plus 1.0fil minus 1.0fil
..\pdfliteral{Q}
..\pdfliteral{EMC}
..etc.
.\hbox(0.0+0.0)x0.0
..\hbox(153.57375+0.0)x0.0, glue set - 1256.69499fil
...\kern 0.0
...\hbox(153.57375+0.0)x1256.69499 []
...\glue 0.0 plus 1.0fil minus 1.0fil
.\glue 3.3 plus 1.6 minus 1.1
.\glue 3.3 plus 1.66666 minus 1.1
.etc.


Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140609/b9447a36/attachment.html>


[Therion] Therion on Debian

2014-06-13 Thread Dave Clucas
I’ve tried running Therion on Debian Wheezy but all I get is the Therion 
status flash which immediately disappears. If I run it under root terminal I 
get a Segmentation fault. Is this a distribution problem or am I doing 
something wrong?

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140613/21fa1258/attachment.html>


[Therion] Installation on Mac OSX 10.9.3

2014-05-23 Thread Dave Clucas
I have been trying to install on the latest version of Mavericks following the 
instructions in the Therion Wiki by Ladislav Blažek.
In a previous attempt there was an error loading VTK with brew so I installed 
it manually and missed out that step this time.
When I came to compile Therion it finished with the following error

tclsh mkall.tcl
make -C ./loch
make[1]: wx-config: Command not found
c++ -c -Wall -D_GNU_SOURCE -DLOCH -W -Wall -DLXMACOSX  
-I/usr/local/include/vtk-5.10 -Wno-deprecated -I/usr/X11R6/include 
-I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2  -o lxOGLFT.o lxOGLFT.cxx
In file included from lxOGLFT.cxx:27:
./lxOGLFT.h:28:10: fatal error: 'wx/wx.h' file not found
#include 
 ^
1 error generated.
make[1]: *** [lxOGLFT.o] Error 1
make: *** [loch/loch] Error 2



Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140523/c30b4ae2/attachment.html>


[Therion] Therion Digest, Vol 101, Issue 4 - Installation on Mac OSX 10.9.3 (Dave Clucas)

2014-05-23 Thread Dave Clucas
It looks like the problem may be OSX 10.9.3. Therion is not working correctly 
on this version. My other Mac with 10.9.2 is working OK.

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140523/63e10b84/attachment.html>


[Therion] Therion Digest, Vol 101, Issue 4 - Installation on Mac OSX 10.9.3

2014-05-24 Thread Dave Clucas
How do I use this formula to install Therion?
If I use brew install thereon I get 

mycaves:~ daveclucas$ brew install therion
Error: No available formula for therion 
Searching taps...
homebrew/science/therion

I don’t know where to go from there.

> there is now therion homebrew formula created by one of the therion users so 
> it should be much easier to install therion on Mac - 
> https://github.com/Homebrew/homebrew-science/blob/master/therion.rb

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140524/9c5ceab5/attachment.html>


[Therion] Therion Digest, Vol 101, Issue 6

2014-05-25 Thread Dave Clucas
> On 25 May 2014, at 11:00, therion-request at speleo.sk wrote:
> 
>> 24. 5. 2014 v 20:50, Dave Clucas :
>> 
>>> How do I use this formula to install Therion?
>>> If I use brew install thereon I get 
>>> 
>>> mycaves:~ daveclucas$ brew install therion
>>> 
>> 
>> Dave, have you tried: 
>> 
>> mycaves:~ daveclucas$ brew install /science/therion

Yes, it didn’t work.

It turns out the problem I was having wasn’t related to 10.9.3 but was 
something causing a problem when using two extended desktops connected to my 
laptop with Thunderbolt.
It worked fine with them connected to my Mac Mini but I have a problem 
correctly intalling Therion on the Mac Mini.

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140525/1f5fe187/attachment.html>


[Therion] Customising map layout

2014-11-03 Thread Dave Clucas
Thanks, Martin. That worked fine.

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


On 3 Nov 2014, at 19:00, therion-request at speleo.sk wrote:

> Send Therion mailing list submissions to
>   therion at speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Customising map layout (Dave Clucas)
>   2. Re: Customising map layout (Martin Budaj)
> 
> 
> ------
> 
> Message: 1
> Date: Mon, 03 Nov 2014 11:53:38 +0800
> From: Dave Clucas 
> Subject: [Therion] Customising map layout
> To: therion at speleo.sk
> Message-ID: 
> Content-Type: text/plain; charset="windows-1252"
> 
> I?ve tried out the following example from thbook adding this to my layout
> 
> code tex-map
>\def\maplayout{ 
>  \legendbox{0}{100}{NW}{\northarrow}
>}
>  endcode
> 
> This works fine for \northarrow and \scalebar but when I tried it with 
> \cavename or \comment I get the following error
> 
>> (./th_formdef.tex) (./th_pagedef.tex
>> ! Missing { inserted.
>>  
>>   }
>> \legendbox ...\unskip \setbox \tmpboxa =\vbox {#4}
>>  \sx =\wd \tmpboxa \sy 
>> =\ht...
>> 
>> \maplayout -> \legendbox {0}{100}{NW}{\comment }
>> 
>> l.12 \setbox\xxx=\hbox to \x{\maplayout
>>   \hfill}%\dp\xxx=0bp
>> A left brace was mandatory here, so I've put one in.
>> You might want to delete and/or insert some corrections
>> so that I will find a matching right brace soon.
>> (If you're confused by all this, try typing `I}' now.)
>> 
>> ) (./th_pages.tex)
>> 54 numeric registers used out of 32768
>> 
>> ! Missing } inserted.
>>  
>>}
>>  
>>   \end 
>> l.653 \end
>> 
>> I've inserted something that you may have forgotten.
>> (See the  above.)
>> With luck, this will get me unwedged. But if you
>> really didn't forget anything, try typing `2' now; then
>> my insertion and my current dilemma will both disappear.
>> 
>> 
>> Underfull \hbox (badness 1) detected at line 653
>> [][][]   
>> 
>> \hbox(1167.36124+0.0)x1296.84499, glue set 257.37057
>> .\pdfliteral{q 1.00 1.00 1.00 rg -28.34993 -1191.34709 1348.6867 1219.68703 
>> re 
>> f Q}
>> .\hbox(1167.36124+0.0)x0.0
>> ..\pdfliteral{/OC /oc7 BDC}
>> ..\pdfliteral{q 1 g}
>> ..\hbox(1166.3575+0.0)x0.0, glue set - 1273.75873fil
>> ...\kern 1.00374
>> ...\hbox(1091.07625+0.0)x1272.75499, shifted -75.28125 []
>> ...\glue 0.0 plus 1.0fil minus 1.0fil
>> ..\pdfliteral{Q}
>> ..\pdfliteral{EMC}
>> ..etc.
>> .\hbox(0.0+0.0)x0.0
>> ..\hbox(1167.36124+0.0)x0.0, glue set - 1296.84499fil
>> ...\kern 0.0
>> ...\hbox(1167.36124+0.0)x1296.84499 []
>> ...\glue 0.0 plus 1.0fil minus 1.0fil
>> .\glue 3.3 plus 1.6 minus 1.1
>> .\glue 3.3 plus 1.6 minus 1.1
>> .etc.
> 
> Has anyone any idea what is wrong?
> 
> 
> Dave Clucas
> daveclucas.com
> sarawak-caves.com
> dave.clucas at icloud.com
> 
> Exploring the World - One cave at a time
> 
> 
> ------ next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20141103/1dc376ef/attachment.html>
> 
> --
> 
> Message: 2
> Date: Mon, 3 Nov 2014 09:20:05 +0100
> From: Martin Budaj 
> Subject: Re: [Therion] Customising map layout
> To: List for Therion users 
> Message-ID:
>   
> Content-Type: text/plain; charset=UTF-8
> 
> Try \the\cavename instead of \cavename (it is a TeX way to display
> value of token register).
> 
> Martin
> 
> On Mon, Nov 3, 2014 at 4:53 AM, Dave Clucas  wrote:
>> I?ve tried out the following example from thbook adding this to my layout
>> 
>> code tex-map
>>\def\maplayout{
>>  \legendbox{0}{100}{NW}{\northarrow}
>>}
>>  endcode
>> 
>> This works fine f

[Therion] Customising map layout

2014-11-03 Thread Dave Clucas
Correction, not fine. The correct data displayed in the correct position, 
however a map-image (elevation) which was there before has disappeared along 
with the map-header.

This is the config file

 Input  


source P6.th
input /Users/daveclucas/Documents/caving/surveys/common_layout.th
input /Users/daveclucas/Documents/caving/surveys/therionLayouts/layoutscales.thc

 Layouts  


layout layout
  copy common
  map-header 0 0 off
  legend off
  symbol-show group cave-centreline
  code metapost
fonts_setup(4,8,10,12,16); 
  endcode
endlayout
layout images
  map-image 0 100 sw output/P6_elev.pdf
  map-header 0 -20 nw
  map-comment "After a map by Richard Gibson dated November 1993High level 
passages near entrance ommited for clarityOriginal survey BCRA Gr 
5Redrawn in Therion using centreline data from April 2010"
  code tex-map
  \def\maplayout{
  \legendbox{0}{100}{NW}{\the\comment}
}
  endcode
endlayout
layout xviScale
  scale 1 65 #for plan and elevation
endlayout
layout debug
  symbol-show group cave-centreline
  colour map-fg altitude
  symbol-show point station
  debug station-names
  debug scrap-names
endlayout

 Output  


export model -o output/P6.lox
export model -o output/P6.3d
#export model -o output/P6.kml  #requires a fixed station in survey
#export map -o output/P6.kml#requires a fixed station in survey

export map -o output/P6.xvi -layout xviScale
export map -o output/P6_e.xvi -layout xviScale -proj elevation

select P6Elev
export map -o output/P6_elev.pdf -proj elevation -layout layout -layout 
LayoutScale50
select P6Plan
export map -o output/P6.pdf -layout layout -layout LayoutScale50 -layout images 
#-layout debug

#####


Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


On 3 Nov 2014, at 19:38, Dave Clucas  wrote:

> Thanks, Martin. That worked fine.
> 
> Dave Clucas
> daveclucas.com
> sarawak-caves.com
> dave.clucas at icloud.com
> 
> Exploring the World - One cave at a time
> 
> 
> On 3 Nov 2014, at 19:00, therion-request at speleo.sk wrote:
> 
>> Send Therion mailing list submissions to
>>  therion at speleo.sk
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>>  http://mailman.speleo.sk/mailman/listinfo/therion
>> or, via email, send a message with subject or body 'help' to
>>  therion-request at speleo.sk
>> 
>> You can reach the person managing the list at
>>  therion-owner at speleo.sk
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Therion digest..."
>> 
>> 
>> Today's Topics:
>> 
>>   1. Customising map layout (Dave Clucas)
>>   2. Re: Customising map layout (Martin Budaj)
>> 
>> 
>> --
>> 
>> Message: 1
>> Date: Mon, 03 Nov 2014 11:53:38 +0800
>> From: Dave Clucas 
>> Subject: [Therion] Customising map layout
>> To: therion at speleo.sk
>> Message-ID: 
>> Content-Type: text/plain; charset="windows-1252"
>> 
>> I?ve tried out the following example from thbook adding this to my layout
>> 
>> code tex-map
>>\def\maplayout{ 
>>  \legendbox{0}{100}{NW}{\northarrow}
>>}
>>  endcode
>> 
>> This works fine for \northarrow and \scalebar but when I tried it with 
>> \cavename or \comment I get the following error
>> 
>>> (./th_formdef.tex) (./th_pagedef.tex
>>> ! Missing { inserted.
>>>  
>>>   }
>>> \legendbox ...\unskip \setbox \tmpboxa =\vbox {#4}
>>>  \sx =\wd \tmpboxa \sy 
>>> =\ht...
>>> 
>>> \maplayout -> \legendbox {0}{100}{NW}{\comment }
>>> 
>>> l.12 \setbox\xxx=\hbox to \x{\maplayout
>>>   \hfill}%\dp\xxx=0bp
>>> A left brace was mandatory here, so I've put one in.
>>> You might want to delete and/or insert some corrections
>>> so that I will find a matching right brace soon.
>>> (If you're confused by all this, try typing `I}' now.)
>>> 
>>> ) (./th_pages.tex)
>>> 54 numeric registers used out of 32768
>>> 
>>> ! Missing } inserted.
>>>  
>>>

[Therion] Customising map layout

2014-11-03 Thread Dave Clucas
I’ve tried out the following example from thbook adding this to my layout

 code tex-map
\def\maplayout{ 
  \legendbox{0}{100}{NW}{\northarrow}
}
  endcode

This works fine for \northarrow and \scalebar but when I tried it with 
\cavename or \comment I get the following error

> (./th_formdef.tex) (./th_pagedef.tex
> ! Missing { inserted.
>  
>}
> \legendbox ...\unskip \setbox \tmpboxa =\vbox {#4}
>   \sx =\wd \tmpboxa \sy 
> =\ht...
> 
> \maplayout -> \legendbox {0}{100}{NW}{\comment }
>  
> l.12 \setbox\xxx=\hbox to \x{\maplayout
>\hfill}%\dp\xxx=0bp
> A left brace was mandatory here, so I've put one in.
> You might want to delete and/or insert some corrections
> so that I will find a matching right brace soon.
> (If you're confused by all this, try typing `I}' now.)
> 
> ) (./th_pages.tex)
>  54 numeric registers used out of 32768
> 
> ! Missing } inserted.
>  
> }
>  
>\end 
> l.653 \end
>   
> I've inserted something that you may have forgotten.
> (See the  above.)
> With luck, this will get me unwedged. But if you
> really didn't forget anything, try typing `2' now; then
> my insertion and my current dilemma will both disappear.
> 
> 
> Underfull \hbox (badness 1) detected at line 653
> [][][]   
> 
> \hbox(1167.36124+0.0)x1296.84499, glue set 257.37057
> .\pdfliteral{q 1.00 1.00 1.00 rg -28.34993 -1191.34709 1348.6867 1219.68703 
> re 
> f Q}
> .\hbox(1167.36124+0.0)x0.0
> ..\pdfliteral{/OC /oc7 BDC}
> ..\pdfliteral{q 1 g}
> ..\hbox(1166.3575+0.0)x0.0, glue set - 1273.75873fil
> ...\kern 1.00374
> ...\hbox(1091.07625+0.0)x1272.75499, shifted -75.28125 []
> ...\glue 0.0 plus 1.0fil minus 1.0fil
> ..\pdfliteral{Q}
> ..\pdfliteral{EMC}
> ..etc.
> .\hbox(0.0+0.0)x0.0
> ..\hbox(1167.36124+0.0)x0.0, glue set - 1296.84499fil
> ...\kern 0.0
> ...\hbox(1167.36124+0.0)x1296.84499 []
> ...\glue 0.0 plus 1.0fil minus 1.0fil
> .\glue 3.3 plus 1.6 minus 1.1
> .\glue 3.3 plus 1.6 minus 1.1
> .etc.

Has anyone any idea what is wrong?


Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20141103/1dc376ef/attachment.html>


[Therion] Therion Digest, Vol 112, Issue 4, having trouble, first time user (Robert Countess)

2015-04-18 Thread Dave Clucas
To open an existing file start Terminal and type xtherion followed by the 
filename you wish to open. You may drag the filename from a Finder window.

Dave Clucas
daveclucas.com <http://daveclucas.com/>
sarawak-caves.com <http://sarawak-caves.com/>
dave.clucas at icloud.com <mailto:daveclucas at icloud.com>

Exploring the World - One cave at a time


> On 18 Apr 2015, at 21:17, therion-request at speleo.sk wrote:
> 
> Send Therion mailing list submissions to
>   therion at speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. having trouble, first time user (Robert Countess)
> 
> 
> --
> 
> Message: 1
> Date: Sat, 18 Apr 2015 12:25:37 -0700
> From: Robert Countess 
> Subject: [Therion] having trouble, first time user
> To: therion at speleo.sk
> Message-ID: <3EF75C43-2B28-4525-A08F-FBD57383F1AF at gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Im using Mac OSX10.9. followed MacOSX installation instructions on wiki
> 
> Installed Mactex
> rebooted
> 
> Last login: Fri Apr 17 12:19:12 on console
> Roberts-MacBook-Pro:~ Rob$ make
> xcode-select: note: no developer tools were found at 
> '/Applications/Xcode.app', requesting install. Choose an option in the dialog 
> to download the command line developer tools.
> Roberts-MacBook-Pro:~ Rob$ 
>  [Restored]
> Last login: Sat Apr 18 09:14:48 on console
> Roberts-MacBook-Pro:~ Rob$ 
>  [Restored]
> Roberts-MacBook-Pro:~ Rob$ ruby -e "$(curl -fsSL 
> https://raw.githubusercontent.com/Homebrew/install/master/install)"
> ==> This script will install:
> /usr/local/bin/brew
> /usr/local/Library/...
> /usr/local/share/man/man1/brew.1
> ==> The following directories will be made group writable:
> /usr/local/.
> /usr/local/bin
> /usr/local/share
> /usr/local/share/man
> /usr/local/share/man/man1
> ==> The following directories will have their group set to admin:
> /usr/local/.
> /usr/local/bin
> /usr/local/share
> /usr/local/share/man
> /usr/local/share/man/man1
> 
> Press RETURN to continue or any other key to abort
> ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin 
> /usr/local/share /usr/local/share/man /usr/local/share/man/man1
> 
> WARNING: Improper use of the sudo command could lead to data loss
> or the deletion of important system files. Please double-check your
> typing when using sudo. Type "man sudo" for more information.
> 
> To proceed, enter your password, or type Ctrl-C to abort.
> 
> Password:
> ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin 
> /usr/local/share /usr/local/share/man /usr/local/share/man/man1
> ==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
> ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
> ==> Downloading and installing Homebrew...
> remote: Counting objects: 3533, done.
> remote: Compressing objects: 100% (3387/3387), done.
> remote: Total 3533 (delta 34), reused 1514 (delta 18), pack-reused 0
> Receiving objects: 100% (3533/3533), 2.65 MiB | 1.55 MiB/s, done.
> Resolving deltas: 100% (34/34), done.
> From https://github.com/Homebrew/homebrew
> * [new branch]  master -> origin/master
> HEAD is now at 681c6f3 txt2tags: modernize and add test
> ==> Installation successful!
> ==> Next steps
> Run `brew help` to get started
> Roberts-MacBook-Pro:~ Rob$ brew help
> Example usage:
>  brew [info | home | options ] [FORMULA...]
>  brew install FORMULA...
>  brew uninstall FORMULA...
>  brew search [foo]
>  brew list [FORMULA...]
>  brew update
>  brew upgrade [FORMULA...]
>  brew pin/unpin [FORMULA...]
> 
> Troubleshooting:
>  brew doctor
>  brew install -vd FORMULA
>  brew [--env | config]
> 
> Brewing:
>  brew create [URL [--no-fetch]]
>  brew edit [FORMULA...]
>  open 
> https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md
> 
> Further help:
>  man brew
>  brew home
> Roberts-MacBook-Pro:~ Rob$ brew update
> Already up-to-date.
> Roberts-MacBook-Pro:~ Rob$ brew doctor
> Please note that these warnings are just used to help the Homebrew maintainers
> with debugging if you file 

[Therion] Therion Digest, Vol 112, Issue 21 data structure

2015-04-27 Thread Dave Clucas
I put my map definitions for each survey at the end of the th2 file. I use the 
survey name followed by projection as the map name using camel notation 
e.g. surveyNamePlan

This way I always know how to reference the map for any survey without having 
to look in the file.
The maps are then put together in a separate file in the top level folder in a 
file which I name caveSystemMaps.th where caveSystem is obviously the name of 
the top level map. I used to use cave system_maps.th as the file name but I've 
found by using camel notation for all map items it differentiates them from 
survey names.

This file contains all the maps and combinations of maps
eg. 
map caveSystemPlan -title "Cave System Plan"
surveyNamePlan
surveyName2Plan
break
lowerLevelsPlan
endmap

map lowerLevelsPlan
surveyName3Plan
surveyName4Plan [100 50 m] above
endmap

A real example can be seen here 
http://www.cave-registry.org.uk/svn/Sarawak/Mulu/Api/Clearwater/ 
<http://www.cave-registry.org.uk/svn/Sarawak/Mulu/Api/Clearwater/> in the file 
clearwater_maps.th

This is my template for thconfig files. I just do find and replace surveyName 
with whatever my survey name is and modify the line #select surveyNamePlan to 
camel notation.

For folder structure I put all output files into a top level folder called 
output to make it easier to archive everything to a repository excluding the 
output files which can be reproduced by Therion. This saves a lot of space on 
the server.

encoding  utf-8
 Input  


source surveyName.th
input /Users/daveclucas/Documents/caving/surveys/common_layout.th
input /Users/daveclucas/Documents/caving/surveys/therionLayouts/layoutscales.thc

 Layouts  


layout layout
  copy common
  copy LayoutScale2000
  map-header 0 0 off
  rotate 60
endlayout
layout images
  map-image 0 100 sw ../output/componentElevations/surveyName_elev300.pdf
  map-header 0 0 nw
endlayout
layout xviScale
scale 1 1000
endlayout
layout debug
  colour map-fg altitude
  symbol-show point station
  debug station-names
endlayout

 Output  


export model -o ../output/componentModels/surveyName.lox
export model -o ../output/componentModels/surveyName.3d
#export model -o ..output/componentModels/surveyName.kml#requires a 
fixed station in survey
#export map -o ../output/componentModels/surveyName.kml #requires a fixed 
station in survey

export map -o ../output/componentModels/surveyName.xvi -layout xviScale
export map -o ../output/componentModels/surveyName_e300.xvi -layout xviScale 
-proj [elevation 300]

#export map -o ../output/componentElevations/surveyName_elev300.pdf -proj 
[elevation 300] -layout layout -layout LayoutScale1000
#select surveyNamePlan
#export map -o ../output/componentPlans/surveyName.pdf -layout layout -layout 
LayoutScale1000 #-layout images

#########


Dave Clucas
daveclucas.com <http://daveclucas.com/>
sarawak-caves.com <http://sarawak-caves.com/>
dave.clucas at icloud.com <mailto:daveclucas at icloud.com>

Exploring the World - One cave at a time


> On 27 Apr 2015, at 04:11, therion-request at speleo.sk wrote:
> 
> Send Therion mailing list submissions to
>   therion at speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Therion Digest, Vol 112, Issue 5 (Rob Countess)
>   2. Re: Therion Digest, Vol 112, Issue 5 (Bruce)
> 
> 
> --
> 
> Message: 1
> Date: Sun, 26 Apr 2015 15:30:23 -0700
> From: Rob Countess 
> Subject: Re: [Therion] Therion Digest, Vol 112, Issue 5
> To: List for Therion users 
> Message-ID:
>   
> Content-Type: text/plain; charset="utf-8"
> 
> Bruce,
> 
> Again thanks for all your help.
> 
> In your attachment you had some mention of where to put low-level map
> definitions. Could you explain the benefits of placing map definitions:
> 1) in the file outside of surfer/endsurvery
> 2) in the file inside of at and the start of survey/endsurvey
> 3) in separate file
> 
> It seems like you've give

[Therion] Problem with station names

2015-01-16 Thread Dave Clucas
For some reason I can’t get the station names to show.

layout outline
  scale 1 200
  symbol-hide group all
  symbol-show line wall
  symbol-colour group cave-centreline [100 0 0]
  symbol-show group cave-centreline
  symbol-show point cave-station
  symbol-show point station-name
  debug station-names
endlayout

I also tried with just debug on

xtherion Version 5.3.11

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20150116/e65f7843/attachment.html>


[Therion] Problem with station names. Re: Therion Digest, Vol 109, Issue 22

2015-01-17 Thread Dave Clucas
No, still doesn’t work

layout outline
  scale 1 200
  symbol-hide group all
  symbol-show line wall
  symbol-colour group cave-centreline [100 0 0]
  symbol-show group cave-centreline
  symbol-show point station
  debug station-names
endlayout

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


On 17 Jan 2015, at 04:51, therion-request at speleo.sk wrote:

> Send Therion mailing list submissions to
>   therion at speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Problem with station names (Dave Clucas)
>   2. Re: Problem with station names (herich at speleodd.sk)
>   3. Re: Problem with station names (Bruce)
> 
> 
> ------
> 
> Message: 1
> Date: Fri, 16 Jan 2015 19:27:35 +0800
> From: Dave Clucas 
> Subject: [Therion] Problem with station names
> To: therion at speleo.sk
> Message-ID: <095F800F-4116-4324-B7FB-FD4FEF44089C at icloud.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> For some reason I can?t get the station names to show.
> 
> layout outline
>  scale 1 200
>  symbol-hide group all
>  symbol-show line wall
>  symbol-colour group cave-centreline [100 0 0]
>  symbol-show group cave-centreline
>  symbol-show point cave-station
>  symbol-show point station-name
>  debug station-names
> endlayout
> 
> I also tried with just debug on
> 
> xtherion Version 5.3.11
> 
> Dave Clucas
> daveclucas.com
> sarawak-caves.com
> dave.clucas at icloud.com
> 
> Exploring the World - One cave at a time
> 
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20150116/e65f7843/attachment-0001.htm>
> 
> --
> 
> Message: 2
> Date: Fri, 16 Jan 2015 13:46:36 +0100
> From: herich at speleodd.sk
> Subject: Re: [Therion] Problem with station names
> To: therion at speleo.sk
> Message-ID: <20150116134636.632736zlqrk76ofg at www.horde.sk>
> Content-Type: text/plain; charset=ISO-8859-2; DelSp="Yes";
>   format="flowed"
> 
> You should just change symbol-show point cave-station to
> symbol-show point station . Then, if there are some surface points  
> visible, add symbol-hide point surface-station.
> Palo
> 
> Cit?t Dave Clucas :
> 
>> For some reason I can't get the station names to show.
>> 
>> layout outline
>>  scale 1 200
>>  symbol-hide group all
>>  symbol-show line wall
>>  symbol-colour group cave-centreline [100 0 0]
>>  symbol-show group cave-centreline
>>  symbol-show point cave-station
>>  symbol-show point station-name
>>  debug station-names
>> endlayout
>> 
>> I also tried with just debug on
>> 
>> xtherion Version 5.3.11
>> 
>> Dave Clucas
>> daveclucas.com
>> sarawak-caves.com
>> dave.clucas at icloud.com
>> 
>> Exploring the World - One cave at a time
>> 
>> 
>> 
> 
> 
> 
> 
> --
> 
> Message: 3
> Date: Sat, 17 Jan 2015 10:18:53 +1300
> From: Bruce 
> Subject: Re: [Therion] Problem with station names
> To: 'List for Therion users' 
> Message-ID: <220507A91AB84F01B434448A4F01F0D6 at JUICEBRAIN>
> Content-Type: text/plain; charset="us-ascii"
> 
> Dave
> 
> Presumably you have some station-name points in the scraps that you are
> exporting?
> 
> 
> 
> Station-names are drawing entities, not like the centerline entities that
> you see with 'debug station-names'.
> 
> 
> 
> I ran your layout (with 5.3.16 but I am sure it is same with 5.3.11) and got
> this.
> 
> 
> 
> So the station-names works, but not the debug.
> 
> 
> 
> If I change as Herich suggested, 
> 
> (change symbol-show point cave-station to symbol-show point station)
> 
> then the debug works as below, and I get both the centerline stations, plus
> the station-name points in the scrap. Ie 38.13, 38.45, 38.35 all show up
> twice, as they should.
> 
> 
> 
> 
> 
> Display of centerline symbols is a bit m

[Therion] Therion doesn't run on Windows

2015-01-17 Thread Dave Clucas
I’ve just installed Therion on a Windows machine. When I click on the Therion 
shortcut it opens a command window and gives the following error.

“C:\Program Files (x86)\Therion\xtherion.exe” is not recognized as an 
internal or external command, operable program or batch file

Running Windows 8 about which I know absolutely nothing, I normally use a mac.

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20150117/cf2a8d5d/attachment.html>


[Therion] Problem with station names. Re: Therion Digest, Vol 109, Issue 23

2015-01-17 Thread Dave Clucas
My apologies. The station names are there but the font is so small they are 
barely visible. I’ll customise the font sizes.

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


On 17 Jan 2015, at 13:28, therion-request at speleo.sk wrote:

> Problem with station names.

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20150117/43478dd1/attachment.html>


[Therion] Therion doesn't run on Windows (rowena) (Graham Mullan)

2015-01-17 Thread Dave Clucas
I uninstalled Therion and reinstalled it. It said it would put a shortcut in a 
start menu folder called Therion. After installation I could not see a shortcut 
anywhere.
I followed Rowena’s advice and created one manually on the desktop. This 
worked fine.

I must say I’m not impressed with the Windows 8 UI. Glad I don’t normally 
have to use Windows.

Dave Clucas
daveclucas.com
sarawak-caves.com
dave.clucas at icloud.com

Exploring the World - One cave at a time


On 17 Jan 2015, at 19:00, therion-request at speleo.sk wrote:

> Re: Therion doesn't run on Windows (rowena) (Graham Mullan)

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20150117/e00d59d2/attachment.html>


[Therion] Therion Digest, Vol 113, Issue 15 How to combine projection and extended elevation into single picture?

2015-05-20 Thread Dave Clucas
The simplest way is to export a map with proj 90 and then export the extended 
with the pro 90 map as an image or vice versa

layout layout
map-header 0 0 off
endlayout

layout image
map-image 0 100 sw elevation90.pdf 
 map-header 0 0 nw
endlayout

export map proj 90 -o elevation90.pdf -layout layout
export map proj extended -o elevations.pdf layout image

Dave Clucas
daveclucas.com <http://daveclucas.com/>
sarawak-caves.com <http://sarawak-caves.com/>
dave.clucas at icloud.com <mailto:daveclucas at icloud.com>

Exploring the World - One cave at a time


> On 20 May 2015, at 11:00, therion-request at speleo.sk wrote:
> 
> How to combine projection and extended elevation
>   intosingle picture?

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20150520/965abde7/attachment.html>


[Therion] Therion Digest, Vol 113, Issue 17 How to mark a preferred way through a cave (Michael Wasmund)

2015-05-25 Thread Dave Clucas
Try this

  code metapost
def l_u_redRoute (expr Path) =
  T:=identity;
  pickup PenC;
  draw Path withcolor red;
enddef;
def l_u_blueRoute (expr Path) =
  T:=identity;
  pickup PenC;
  draw Path withcolor blue;
enddef;
def l_u_greenRoute (expr Path) =
  T:=identity;
  pickup PenC;
  draw Path withcolor green;
enddef;
def l_u_magentaRoute (expr Path) =
  T:=identity;
  pickup PenC;
  draw Path withcolor (1,0,1);
enddef;
  endcode

> On 25 May 2015, at 11:00, therion-request at speleo.sk wrote:
> 
> Send Therion mailing list submissions to
>   therion at speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. How to mark a preferred way through a cave (Michael Wasmund)
> 
> 
> --
> 
> Message: 1
> Date: Mon, 25 May 2015 15:30:56 +1200
> From: "Michael Wasmund" 
> Subject: [Therion] How to mark a preferred way through a cave
> To: 
> Message-ID: <66F62DB470E24B4AB296F2185DAEB852 at BL3AG545>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hello,
> 
> If I want to mark a preferred way through a maze cave,
> is there a way to "mark" or "flag" some centerlines, so that they appear
> different from the majority in 2D / 3D output?
> (Can't work with scraps, it's all bitmaps)
> 
> Michael.
> 
> 
> 
> --
> 
> ___
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
> 
> 
> End of Therion Digest, Vol 113, Issue 17
> 




[Therion] Data Management (Adam Sampson)

2015-09-05 Thread Dave Clucas
I helped Nick with his problen. To see how it's done have a look at the sample 
data we worked on 
https://www.dropbox.com/sh/lmpe35x3mhy7kp8/AADED3GW7KpiAFVKR1q-zxEsa?dl=0 
<https://www.dropbox.com/sh/lmpe35x3mhy7kp8/AADED3GW7KpiAFVKR1q-zxEsa?dl=0>

Any queries contact me.

Dave Clucas
daveclucas.com <http://daveclucas.com/>
sarawak-caves.com <http://sarawak-caves.com/>
dave.clucas at icloud.com <mailto:daveclucas at icloud.com>

Exploring the World - One cave at a time


> On 19 Aug 2015, at 12:44, therion-request at speleo.sk wrote:
> 
> Send Therion mailing list submissions to
>   therion at speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Data Management (Adam Sampson)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 19 Aug 2015 08:14:36 -0400
> From: Adam Sampson 
> Subject: Re: [Therion] Data Management
> To: Therion List 
> Message-ID: 
> Content-Type: text/plain; charset="utf-8"
> 
> Please do let us know what you figure out. Martin helped me figure out how to 
> have my surveys in a sub-folder of my main survey, but so far I'm only doing 
> one cave. Would like to hear how to add the other area caves to the same 
> output.
> 
> Adam Sampson(502)509-5066caver.adam at 
> outlook.comwww.kentuckykarstconservancy.com
> 
> From: Nick at pff.uk.com
> To: therion at speleo.sk
> Date: Wed, 19 Aug 2015 10:31:32 +0100
> Subject: Re: [Therion] Data Management
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Andrew, Martin, Rowena,
> 
> Thanks for the replies. What I clearly don?t
> understand are the basic building blocks of Therion, folder structures etc
> 
> Dave C has kindly offered to look at my
> stuff and advise so hopefully I will sort this out soon.
> 
> I suspect I am at a point that a lot of
> folk get to in their Therion leaning curve so once I get my head round this I
> may write a wiki article about this from a novice point of view. It really 
> should
> be a continuation of Footlegs excellent tutorial which I have referred to many
> times over the last few months.
> 
> Andrew, files will be in the registry by
> the end of the day I promises.
> 
> 
> 
> Thanks once again all
> 
> 
> 
> Nick. 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> From:
> therion-bounces at speleo.sk [mailto:therion-bounces at speleo.sk] On Behalf 
> Of Martin Sluka
> 
> Sent: 19 August 2015 08:38
> 
> To: List
> for Therion users
> 
> Subject: Re: [Therion] Data
> Management
> 
> 
> 
> 
> 
> Nick,
> 
> 
> 
> 
> 
> 
> 
> 
> 
> thbook:
> 
> 
> 
> 
> 
> 
> 
> ? -d ?
> Turn on debugging mode. The current implementation creates a temporary
> directory
> 
> 
> 
> 
> 
> named thTMPDIR (in
> your system temporary directory) and does not delete any
> 
> 
> 
> 
> 
> temporary files.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> may you run  therion with -d parameter and check the files inside
> the folder  thTMPDIR?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> May you send me both the log from therion and that folder thTMPDIR
> zipped?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> m.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 19. 8. 2015 v 5:20, rowena_l at tpg.com.au:
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> hello,
> 
> 
> 
> 
> 
> 
> 
> 
> 
> I have successfully created an area  PDF for the
> 70+ caves in my area of interest in Australia, using Therion.
> 
> 
> 
> 
> 
> Can you give more details of what your result is giving?
> eg is an error being displayed, can you produce a .3d file or .lox file of the
> survey legs, are you able to see  a pdf created that is missing data?
> 
> 
> 
> - Original Message -
> 
> 
> 
> 
> 
> From:
> 
> 
> 
> "List
> for Therion users" 
> 
> 
> 
> 
> 
&

[Therion] Best caving tablet (Rob Countess)

2015-09-15 Thread Dave Clucas
I use a Trimble Recon. Rugged and waterproof but expensive. I've used it for 
many years now without any problems.

Dave Clucas
daveclucas.com <http://daveclucas.com/>
sarawak-caves.com <http://sarawak-caves.com/>
dave.clucas at icloud.com <mailto:daveclucas at icloud.com>

Exploring the World - One cave at a time


> On 15 Sep 2015, at 02:54, therion-request at speleo.sk wrote:
> 
> Best caving tablet (Rob Countess)

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20150915/004b8684/attachment.html>


[Therion] Therion Digest, Vol 123, Issue 5

2016-03-16 Thread Dave Clucas
> Note that the team members names are only allowed to contain one space 
> character, so use hypens for double barreled names or your project will 
> generate an error when you try to compile it. 
> 
You can also use the escape character "/" to allow as may spaces as you want 
e.g. team "Giles /St. John Cuthbert Junior"

Dave Clucas
daveclucas.com <http://daveclucas.com/>
sarawak-caves.com <http://sarawak-caves.com/>
dave.clucas at icloud.com <mailto:daveclucas at icloud.com>

Exploring the World - One cave at a time


> On 16 Mar 2016, at 04:32, therion-request at speleo.sk 
> <mailto:therion-request at speleo.sk> wrote:
> 
> Send Therion mailing list submissions to
>   therion at speleo.sk <mailto:therion at speleo.sk>
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://mailman.speleo.sk/mailman/listinfo/therion 
> <http://mailman.speleo.sk/mailman/listinfo/therion>
> or, via email, send a message with subject or body 'help' to
>   therion-request at speleo.sk
> 
> You can reach the person managing the list at
>   therion-owner at speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Therion Tutorial Update - Data Structures and Layouts (Footleg)
>   2.  Re:  Therion Tutorial Update - Data Structures and Layouts
>  (Martin Sluka)
>   3. Re: Therion Tutorial Update - Data Structures and Layouts
>  (Footleg)
>   4. Re: Therion Tutorial Update - Data Structures and Layouts
>  (Martin Sluka)
> 
> 
> --
> 
> Message: 1
> Date: Tue, 15 Mar 2016 14:45:46 +
> From: Footleg 
> Subject: [Therion] Therion Tutorial Update - Data Structures and
>   Layouts
> To: List for Therion users 
> Message-ID:
>   
> Content-Type: text/plain; charset="utf-8"
> 
> Hot off the press, I have published another update to my Therion Tutorial.
> Since the last revision in November 2015 I have simplified the
> recommendations on larger project data structures (I realised my own
> projects were not following my advice I had written!), and added a new
> lesson on defining layouts.
> 
> As always, feedback and comments are welcomed. But don't be disheartened if
> I have not yet incorporated suggestions made already into this latest
> revision. I just wanted to get this initial layouts chapter out there as
> several people asked for it. I'll take the time to read all the feedback
> I've received already and merge it into the tutorial in time.
> 
> Download here (or follow the link from the Therion Wiki page):
> *http://wscc.darkgem.com/footleg/therion/
> <http://wscc.darkgem.com/footleg/therion/>*
> 
> Footleg
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20160315/e8fec669/attachment-0001.htm>
> 
> --
> 
> Message: 2
> Date: Tue, 15 Mar 2016 15:34:01 + (GMT)
> From: Martin Sluka 
> Subject: [Therion]  Re:  Therion Tutorial Update - Data Structures and
>   Layouts
> To: Footleg 
> Cc: therion at speleo.sk
> Message-ID: <202dcf19-8fcc-4845-a465-f7a7f0a795cc at me.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 
> Hi Footleg,
> 
> you don't show using right click with mouse when drawing scraps. It is much 
> faster way.
> 
> Drawing line - one may not draw beziers directly. It is possible to draw only 
> points which are not "smooth" and then use "Convert to curve" feature from 
> "Edit line" menu. There are only small correction necessary.
> 
> The problem with transparency is that all viewers using Apple library and 
> several others (Sumatra) ignore group transparency which is in definition of 
> PDF. So it is bug. (According to?Martin Budaj).
> 
> m.s.
> 
> On Mar 15, 2016, at 03:46 PM, Footleg  wrote:
> 
> Hot off the press, I have published another update to my Therion Tutorial. 
> Since the last revision in November 2015 I have simplified the 
> recommendations on larger project data structures (I realised my own projects 
> were not following my advice I had written!), and added a new lesson on 
> defining layouts.
> 
> As always, feedback and comments are welcomed. But don't be disheartened if I 
> have not yet incorporated suggestions made already into this latest revision. 
> I just wanted to get this initial layouts chapter out there as sever

[Therion] Install on Mac OS X El Capitan

2016-09-28 Thread Dave Clucas
I upgraded my OS to El Capitan which stopped Therion from working. I 
reinstalled Therion from scratch following the instructions in the wiki. 
However I got the following error. Anyone any idea how to fix this?

==> make config-macosx
==> make
==> make install
Last 15 lines from /Users/daveclucas/Library/Logs/Homebrew/therion/03.make:
mkdir -p ./extern/poly2tri/sweep/
mkdir -p ./extern/poly2tri/common/
mkdir -p ./loch
mkdir -p ./xtherion
mkdir -p ./thbook
tclsh makeinstall.tcl MACOSX
could not set permissions for file 
"/Applications/loch.app/Contents/MacOS/loch": not a directory
while executing
"file attributes /Applications/loch.app/Contents/MacOS/loch -permissions 0755"
invoked from within
"if {[string equal $platform WIN32]} {
  copyfile 1 ../therion.bin/therion.exe "c:/Program files/Therion/therion.exe"
  copyfile 1 ../therion.bin/xther..."
(file "makeinstall.tcl" line 25)
make: *** [install] Error 1

Dave Clucas
dave.clu...@icloud.com <mailto:daveclu...@icloud.com>

Exploring the World - One cave at a time


___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Therion Digest, Vol 129, Issue 12

2016-09-29 Thread Dave Clucas
Chris, I was working off the instructions in the wiki. I looked at the loch 
folder created by Homebrew and there was a file called MacOS which appeared to 
be an executable. I suspected it should have been a folder so I deleted it and 
created the folder myself and re-ran brew. This time it worked fine. I suspect 
there is something wrong with the script in Homebrew but I don't know anything 
about that.

Dave Clucas
dave.clu...@icloud.com <mailto:daveclu...@icloud.com>

Exploring the World - One cave at a time


> On 29 Sep 2016, at 18:00, therion-requ...@speleo.sk wrote:
> 
>  Re: Install on Mac OS X El Capitan (Christian Sandrini)

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


[Therion] email address change

2017-04-20 Thread Dave Clucas via Therion
A while ago, due to excessive junk mail, I changed my email address and have 
only just realised I no longer receive Therion emails. Could you change my 
address from d...@daveclucas.com <mailto:d...@daveclucas.com> to 
dave.clu...@icloud.com <mailto:dave.clu...@icloud.com>. Thanks.

Dave Clucas
dave.clu...@icloud.com <mailto:daveclu...@icloud.com>

Exploring the World - One cave at a time


___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] warning -- equate used to define new station (Martin Sluka)

2017-08-03 Thread Dave Clucas via Therion
> On 3 Aug 2017, at 11:00, therion-requ...@speleo.sk wrote:
> 
> Isn’t the right time to make a developer conference of both clans together?

Hidden Earth? :-)

Dave Clucas
dave.clu...@icloud.com <mailto:daveclu...@icloud.com>

Exploring the World - One cave at a time

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Area "filled" (Markus Boldt)

2017-09-14 Thread Dave Clucas via Therion
Markus, instead of going to the trouble of creating complex code to include 
this fill symbol in a legend box, why don't you just add a label to your map. 
It seems you are making it too complicated for something which will not occur 
often.

Dave Clucas
dave.clu...@icloud.com <mailto:daveclu...@icloud.com>

Exploring the World - One cave at a time


> On 14 Sep 2017, at 08:05, therion-requ...@speleo.sk wrote:
> 
> Re: Area "filled" (Bruce Mutton)

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] scaling line ornamentation - metapost (Bruce Mutton)

2018-03-30 Thread Dave Clucas via Therion
I’m not sure about this but I suspect that it doesn’t involve parsing. It’s likely that the metapost expects a parameter or parameters to be passed to it which it then assigns to the variable Q in its own procedure. It won’t care what the calling program calls it. I think the arrowhead is probably defined within an arrow class (arrow.h perhaps).
On 30 Mar 2018, at 18:00, therion-requ...@speleo.sk wrote:I notice line arrow takes the special argument -head [both | none | begin].Somewhere between the th2 file and the metapost arrow definition, theargument -head gets changed to the variable Q that is parsed to the metapostcode, that controls which ends of the arrow line get arrow heads. I havecopied the code below.  Whereabouts is the code that tells Therion that-head is parsed to the metapost definition as Q?
Dave Clucasdave.clu...@icloud.comExploring the World - One cave at a time

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] scaling line ornamentation - metapost (Bruce Mutton)

2018-03-31 Thread Dave Clucas via Therion
I don’t know what happened to my last reply but it should have been this.

I’m not sure about this but I suspect that it doesn’t involve parsing. It’s 
likely that the metapost expects a parameter or parameters to be passed to it 
which it then assigns to the variable Q in its own procedure. It won’t care 
what the calling program calls it. I think the arrowhead is probably defined 
within an arrow class (arrow.h perhaps).

Dave Clucas
dave.clu...@icloud.com

Exploring the World - One cave at a time


> On 31 Mar 2018, at 18:00, therion-requ...@speleo.sk wrote:
> 
> Send Therion mailing list submissions to
>   therion@speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   https://mailman.speleo.sk/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-requ...@speleo.sk
> 
> You can reach the person managing the list at
>   therion-ow...@speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: scaling line ornamentation - metapost (Bruce Mutton)
>  (Dave Clucas)
> 
> 
> ------
> 
> Message: 1
> Date: Sat, 31 Mar 2018 09:27:56 +0800
> From: Dave Clucas 
> To: therion@speleo.sk
> Subject: Re: [Therion] scaling line ornamentation - metapost (Bruce
>   Mutton)
> Message-ID: 
> Content-Type: text/plain; charset="utf-8"
> 
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20180331/e73a8e70/attachment-0001.html>
> 
> --
> 
> Subject: Digest Footer
> 
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
> 
> 
> --
> 
> End of Therion Digest, Vol 147, Issue 32
> 

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Help with huge survey file. Therion Digest, Vol 149, Issue 21

2018-05-23 Thread Dave Clucas via Therion
Nick, email or dropbox the data to me and I'll have a look.

Dave Clucas
dave.clu...@icloud.com <mailto:daveclu...@icloud.com>

Exploring the World - One cave at a time


> On 23 May 2018, at 11:14, therion-requ...@speleo.sk wrote:
> 
> Send Therion mailing list submissions to
>   therion@speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   https://mailman.speleo.sk/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-requ...@speleo.sk
> 
> You can reach the person managing the list at
>   therion-ow...@speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Help With Huge Survey File (Nick Bairstow)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 23 May 2018 10:12:08 +
> From: Nick Bairstow 
> To: List for Therion users 
> Subject: [Therion] Help With Huge Survey File
> Message-ID: <6fb82daaed4646028b533423dcabb...@pff-exch1.pff.local>
> Content-Type: text/plain; charset="utf-8"
> 
> Somebody has sent me a project folder which contains one huge survey (6k+) 
> made with Pocket Topo. It seems they had only partial knowledge on how to 
> survey a cave of this size and only limited experience of Therion so the 
> whole thing is a bit weird. I said I would attempt to sort it out. Andrew 
> fixed one issue with the data which has moved us forward but my question now 
> is how to proceed.
> If I compile I can get .3d and .lox output which seems to work fine but the 
> pdf output fails with a load of complaints. Looks like a size thing to me but 
> having never seen this before I'm not sure.
> To me the survey needs breaking up but again I am not sure of the best way to 
> do this, can some of you clever chaps have a look and possibly offer advise 
> please.
> Be warned the th2 is difficult to handle my machine takes 3-4 mins just to 
> load it and 2mins to refresh if I adjust the zoom.
> The guys who collected the data spent an awful long time doing so and are 
> obviously keen to use this data as redoing the survey is not an option.
> It is quite an interesting problem and a very good example of how not to do 
> things.
> Any comments or involvement would be appreciated.
> 
> Nick
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20180523/80bc28fc/attachment.html>
> -- next part --
> A non-text attachment was scrubbed...
> Name: Therion Mailing List mountainey.zip
> Type: application/x-zip-compressed
> Size: 2055281 bytes
> Desc: Therion Mailing List mountainey.zip
> URL: 
> <http://mailman.speleo.sk/pipermail/therion/attachments/20180523/80bc28fc/attachment.bin>
> 
> --
> 
> Subject: Digest Footer
> 
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
> 
> 
> --
> 
> End of Therion Digest, Vol 149, Issue 21
> 

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Defining a user symbol that contains a short text string, Therion Digest, Vol 149, Issue 34

2018-05-30 Thread Dave Clucas via Therion
Bruce, read this

3.6 Text

You have already seen how the dotlabel command can be used to draw a dot and a 
label in the neighborhood of the dot. If you do not want the dot, simply use 
the label command:

label.suffix(string expression, pair);

It uses of the same suffices as the dotlabel command to position the label 
relative to the given pair. No suffix means that the label is printed at the 
specified location. The directives rt (right), urt (upper right), top (top), 
ulft (upper left), lft (left), llft (lower left), bot (bottom), lrt (lower 
right) can be used to specify the relative position of the label to the given 
pair. The distance from the pair to the label is set by the numeric variable 
labeloffset.

The commands label and dotlabel both use a string expression for the label text 
and typeset it in the default font, which is likely to be "cmr10" and which can 
changed through the variables defaultfont and defaultscale. For example,

defaultfont := "tir";
defaultscale := 12pt/fontsize(defaultfont);
makes labels come out as Adobe Times-Roman at about 12 points.

Until now the string expression in a text command has only been a string 
delimited by double quotes (optionally joined to another string via the 
concatenation operator &). But you can also bracket the text with btex and etex 
(do not put it in quotes this time) and pass it to TEX for typesetting. This 
allows you to use METAPOST in combination with TEX for building complex labels. 
Let us begin with a simple example:

beginfig(1);
z0 = (0,0);  z1 = (sqrt(3)*cm,0);
z2 = (sqrt(3)*cm,1cm);
draw z0--z1--z2--cycle;
label.bot(btex $\sqrt{3}$ etex, 1/2[z0,z1]);
label.rt(btex 1 etex, 1/2[z1,z2]);
label.top(btex 2 etex, 1/2[z0,z2]);
endfig;
end;
 
Dave Clucas
dave.clu...@icloud.com <mailto:daveclu...@icloud.com>

Exploring the World - One cave at a time


> On 30 May 2018, at 11:00, therion-requ...@speleo.sk wrote:
> 
> Send Therion mailing list submissions to
>   therion@speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   https://mailman.speleo.sk/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-requ...@speleo.sk
> 
> You can reach the person managing the list at
>   therion-ow...@speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Defining a user symbol that contains a short text string
>  (Bruce Mutton)
> 
> 
> --
> 
> Message: 1
> Date: Tue, 29 May 2018 22:14:55 +1200
> From: "Bruce Mutton" 
> To: "'List for Therion users'" 
> Subject: [Therion] Defining a user symbol that contains a short text
>   string
> Message-ID: <000401d3f735$e5d86d90$b18948b0$@tomo.co.nz>
> Content-Type: text/plain; charset="utf-8"
> 
> Good evening
> 
> I'd like to make a user defined symbol that is simply an ascii text string.
> A quick and dirty adhoc symbol if you like. If I was going to be fancy, I
> would add a box around it like in the example of Dave Clucas that I have
> copied and modified below.
> 
> 
> 
> So rather than defining the shape of the omega symbol using metapost, I'd
> like to hard code an ascii character, say "E".
> 
> The yellow shaded text below needs to be replaced with some simple metapost,
> but I am too lazy to research and trial things.
> 
> I notice that other examples tend to use a copy of the p_label definition,
> and modify that.  I would rather not head down that route, as then my custom
> code would overwrite potential future improvements to Therion's source code.
> 
> 
> 
> 
> My plan is not really to create an alternative to the entrance symbol, but
> rather to create a template quick and dirty creation of single use or
> unusual symbols, that can be enumerated in the legend.
> 
> 
> 
> Does anyone happen to know how to modify the code below to do what I
> describe?
> 
> 
> 
> Thanks
> 
> Bruce
> 
> 
> 
> 
> <https://therion.speleo.sk/wiki/_detail/metapost:entrancesymbol.png?id=metap
> ost> 
> 
> code metapost
> 
> def p_u_ent (expr pos,theta,sc,al)=
> 
>  U:=(.2u,.5u);
> 
>  T:=identity aligned al rotated theta scaled sc shifted pos;
> 
>  path p;
> 
>  p = (-.3u,-.25u) -- (-.2u,-.25u){dir 135} .. (0u, .25u) .. {dir
> 225}(.2u,-.25u) -- (.3u,-.25u); % define omega shape
> 
>  thdraw p withpen PenA;  % draw it with fat pen
> 
>  thdraw unitsquare scaled u shifted (-0.5u,-0.5u) rotated 45 withpen PenD;
> % diagonal box with thin pen
> 
>

Re: [Therion] Defining a user symbol that contains a short text string

2018-05-31 Thread Dave Clucas via Therion
I think you may need to add the suffix to the label command. 
Eg.
label.top (btex Gr etex, pos) rotated theta scaled sc aligned al

Sorry, I can’t test it as I don’t have Therion installed. 

Sent from my iPhone

> On 31 May 2018, at 10:20 AM, therion-requ...@speleo.sk wrote:
> 
> Send Therion mailing list submissions to
>therion@speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>https://mailman.speleo.sk/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>therion-requ...@speleo.sk
> 
> You can reach the person managing the list at
>therion-ow...@speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Defining a user symbol that contains a short text string,
>  Therion Digest, Vol 149, Issue 34 (Dave Clucas)
>   2. Defining a user symbol that contains a short text string
>  (Bruce Mutton)
> 
> 
> ------
> 
> Message: 1
> Date: Wed, 30 May 2018 16:04:32 +0100
> From: Dave Clucas 
> To: therion@speleo.sk
> Cc: Dave Clucas MY 
> Subject: Re: [Therion] Defining a user symbol that contains a short
>text string, Therion Digest, Vol 149, Issue 34
> Message-ID: <5aca36e2-6146-4525-8f3a-ec0cea639...@icloud.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Bruce, read this
> 
> 3.6 Text
> 
> You have already seen how the dotlabel command can be used to draw a dot and 
> a label in the neighborhood of the dot. If you do not want the dot, simply 
> use the label command:
> 
> label.suffix(string expression, pair);
> 
> It uses of the same suffices as the dotlabel command to position the label 
> relative to the given pair. No suffix means that the label is printed at the 
> specified location. The directives rt (right), urt (upper right), top (top), 
> ulft (upper left), lft (left), llft (lower left), bot (bottom), lrt (lower 
> right) can be used to specify the relative position of the label to the given 
> pair. The distance from the pair to the label is set by the numeric variable 
> labeloffset.
> 
> The commands label and dotlabel both use a string expression for the label 
> text and typeset it in the default font, which is likely to be "cmr10" and 
> which can changed through the variables defaultfont and defaultscale. For 
> example,
> 
>defaultfont := "tir";
>defaultscale := 12pt/fontsize(defaultfont);
> makes labels come out as Adobe Times-Roman at about 12 points.
> 
> Until now the string expression in a text command has only been a string 
> delimited by double quotes (optionally joined to another string via the 
> concatenation operator &). But you can also bracket the text with btex and 
> etex (do not put it in quotes this time) and pass it to TEX for typesetting. 
> This allows you to use METAPOST in combination with TEX for building complex 
> labels. Let us begin with a simple example:
> 
> beginfig(1);
> z0 = (0,0);  z1 = (sqrt(3)*cm,0);
> z2 = (sqrt(3)*cm,1cm);
> draw z0--z1--z2--cycle;
> label.bot(btex $\sqrt{3}$ etex, 1/2[z0,z1]);
> label.rt(btex 1 etex, 1/2[z1,z2]);
> label.top(btex 2 etex, 1/2[z0,z2]);
> endfig;
> end;
> 
> Dave Clucas
> dave.clu...@icloud.com <mailto:daveclu...@icloud.com>
> 
> Exploring the World - One cave at a time
> 
> 
>> On 30 May 2018, at 11:00, therion-requ...@speleo.sk wrote:
>> 
>> Send Therion mailing list submissions to
>>therion@speleo.sk
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>>https://mailman.speleo.sk/listinfo/therion
>> or, via email, send a message with subject or body 'help' to
>>therion-requ...@speleo.sk
>> 
>> You can reach the person managing the list at
>>therion-ow...@speleo.sk
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Therion digest..."
>> 
>> 
>> Today's Topics:
>> 
>>  1. Defining a user symbol that contains a short text string
>> (Bruce Mutton)
>> 
>> 
>> --
>> 
>> Message: 1
>> Date: Tue, 29 May 2018 22:14:55 +1200
>> From: "Bruce Mutton" 
>> To: "'List for Therion users'" 
>> Subject: [Therion] Defining a user symbol that contains a short text
>>string
>> Message-ID: <000401d3f735$e5d86d90$b18948b0$@tomo.co.nz>
>> Content-Type: text/

Re: [Therion] Volume Calculation - Therion Digest, Vol 156, Issue 13

2018-12-16 Thread Dave Clucas via Therion
In Loch export as a vtk file and open in Matlab. In Matlab you can get the 
volume of the model.

Dave Clucas
dave.clu...@icloud.com <mailto:daveclu...@icloud.com>

Exploring the World - One cave at a time


> On 16 Dec 2018, at 19:00, therion-requ...@speleo.sk wrote:
> 
> Send Therion mailing list submissions to
>   therion@speleo.sk
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   https://mailman.speleo.sk/listinfo/therion
> or, via email, send a message with subject or body 'help' to
>   therion-requ...@speleo.sk
> 
> You can reach the person managing the list at
>   therion-ow...@speleo.sk
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Therion digest..."
> 
> 
> Today's Topics:
> 
>   1.  Lox model volume calculation (chris pennos)
> 
> 
> --
> 
> Message: 1
> Date: Fri, 14 Dec 2018 16:10:02 +
> From: chris pennos 
> To: "therion@speleo.sk" 
> Subject: [Therion]  Lox model volume calculation
> Message-ID:
>   
> 
>   
> Content-Type: text/plain; charset="us-ascii"
> 
> Anyone knows how to calculate the volume of a .lox model?
> 
> Thanks in advance
> 
> 
> --
> 
> Subject: Digest Footer
> 
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
> 
> 
> --
> 
> End of Therion Digest, Vol 156, Issue 13
> 

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion