[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  wrote:
> 
>> dave might redefine the mpost ma

[Therion] point:passage-height

2013-01-14 Thread Martin Sluka

On Jan 14, 2013, at 2:36 PM, Martin Sluka  wrote:

> It looks the xs s and m scale are not enough differenced

The definition is in file thpoint.cxx from line 959

  if (postprocess) {
this->point->export_mp(out);
double scl = 1.0;
switch (this->scale) {
  case TT_2DOBJ_SCALE_L:
scl = 1.414;
break;
  case TT_2DOBJ_SCALE_XL:
scl = 2.0;
break;
  case TT_2DOBJ_SCALE_S:
scl = 0.707;
break;
  case TT_2DOBJ_SCALE_XS:
scl = 0.5;
break;

So the scales are: 2.0, 1.414, 1.0, 0.707, 0.5 

Try to change them and compile therion. without any guaranty ;)

m.

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



[Therion] point:passage-height

2013-01-14 Thread Martin Sluka

On Jan 14, 2013, at 1:15 PM, Marco Corvi  wrote:

> dave might redefine the mpost macros scaling the label (lab) in a custom 
> layout.

It looks the xs s and m scale are not enough differenced - see attachment

m.

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

-- next part --
A non-text attachment was scrubbed...
Name: cave.pdf
Type: application/pdf
Size: 15647 bytes
Desc: not available
URL: 

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



[Therion] point:passage-height

2013-01-14 Thread Marco Corvi
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.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: 



[Therion] point:passage-height

2013-01-12 Thread Vasily Vl. Suhachev

11.01.2013 15:42, Dave Clucas пишет:
> Does anybody know how I can modify it?

base-scale command in layout maybe helps you

E.g.

scale 1 2000
base-scale 1 500

-- 
  WBR, Vasily



[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: 



[Therion] point:passage-height

2013-01-11 Thread Footleg
I just have the following line in my layout:

symbol-hide point passage-height

That way I can use passage height points to control the heights of
passages in my model, but they do not get rendered on the survey as
symbols at all.

Footleg

On 11 January 2013 07:42, Dave Clucas  wrote:
> 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.
>
>
>
>
>
> ___
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>