Re: [Therion] Rope and anchors symbols

2018-02-02 Thread muncla via Therion
Hi pls unsubscribe me from mailing list.
Ahoj chlapi odeberte me prosim z mailing listu porad mi chodi tyto upozorneni 
viz. nize asi jsem to kdysi aktivoval a nemohu najit zruseni odberu.Dekuji 
Muncla


Odesláno z mého chytrého telefonu Samsung Galaxy.
 Původní zpráva Od: Evaristo Quiroga via Therion 
 Datum: 02.02.18  17:32  (GMT+01:00) Komu: Владимир Георгиев 
via Therion  Cc: Evaristo Quiroga  
Předmět: Re: [Therion] Rope and anchors symbols 

Hi Vladimir,

  

  Finally  I have choose the easy way (see the attached figure).
  Yours comments and other forum members convinced me. And it's more
  easy  also to coordinate with new Topodroid symbols. 

  

  Now I have two new user anchor symbols: u:anchor_artificial and
  u:anchor_natural which I combine with rope section with or without
  rebelays and anchors. 

  

  I put the mpost code if others users want use it. 

  I have choose a brown colour to rigging (rope and anchors). As you can not
  choose the color of the user symbols, with "symbol-colour",  I
  had to define it in the mpost.

  

  Thanks,

  

  Evaristo. 

  

---

  def p_u_anchor_artificial(expr pos,theta,sc,al) =

    T:=identity shifted pos;

    thdraw origin withpen pencircle scaled 0.25u withcolor
(0.58, 0.44, 0.25);

  enddef;

   initsymbol ("p_u_anchor_artificial");

  

  def p_u_anchor_natural(expr pos,theta,sc,al) =

      U:=(.2u,.2u);

      T:=identity aligned al rotated theta scaled sc shifted
pos;

      thfill (-.2u,-.2u)--(0,.2u)--(.2u,-.2u)--cycle
withcolor (0.58, 0.44, 0.25); 

  enddef;

   initsymbol ("p_u_anchor_natural");



    symbol-colour line rope [58 44 25]

  
---

  

  El 02/02/2018 a las 16:54, Владимир Георгиев via Therion escribió:



  
Hi Evaristo

  


Indeed the
  line rope needs some additions in an elegant way :).
  Occasionally I have also wanted to make a Y-anchor without the
  dot in the middle. But I hadn't had the time to add this
  feature. It can be done by adding extra line point options.
  Similar to "adjust horizontal", "l-size", etc for "line:wall".


This will
  require modifications to both the Metapost code to draw the
  symbol, and to the therion c++ code that parses the options.


It would be
  possible to draw different types of anchors depending on the
  line point option, but I am not sure if it will be easy to
  reflect the used anchors in the legend.

  


Actually it
  would be best if there are both ways of setting an anchor:
  with a line point option, or with a separate point "anchor"
  with different options. The "anchor" point already exists, but
  is only one type.

  


When I draw a
  rope I always use it with "rebelays off" now and draw the
  rebelays with a Bezier line. This allows me better control,
  because the automatic rebelay curves don't always fit well in
  the pit shape.

  


Evaristo, if
  you want to work on the code, I can try to help. The above are
  all nice ideas, like many others, but I personally don't have
  the time to experiment with implementing them.





Vladimir


  
  

On Thu, Feb 1, 2018 at 1:57 PM,
  Evaristo Quiroga via Therion 
  wrote:

  

  Hi,
  I greatly appreciate the improvement made by Vladimir
at the rope line symbol.
  https://www.mail-archive.com/therion@speleo.sk/msg05992.html
  With this symbol you can control if the rope section
has anchors and rebelays, as line options. This options
are global to the line:  have or not rebelays or
anchors. 

  
  Now a I need to go more ahead, I want control the
anchor type (natural: tree, block, etc or artificial:
spit, multimonti, parabolt, etc) in every point and the
rebelay in previous section. I want a round
point for artificial anchor (like the Vladimir
symbol) and a triangle point for natural anchor.

  
  When we rig with Y knots and deviators you need to
control the line section without rebelays and anchors, so
that the rope is 

Re: [Therion] Rope and anchors symbols

2018-02-02 Thread Martin Sluka via Therion
Hi Evaristo,

may you, please, add this to wiki?

m.s.


> 2. 2. 2018 v 17:32, Evaristo Quiroga via Therion :
> 
> Hi Vladimir,
> 
> Finally  I have choose the easy way (see the attached figure). Yours comments 
> and other forum members convinced me. And it's more easy  also to coordinate 
> with new Topodroid symbols. 
> 
> Now I have two new user anchor symbols: u:anchor_artificial and 
> u:anchor_natural which I combine with rope section with or without rebelays 
> and anchors. 
> 
> I put the mpost code if others users want use it. 
> I have choose a brown colour to rigging (rope and anchors). As you can not 
> choose the color of the user symbols, with "symbol-colour",  I had to define 
> it in the mpost.
> 
> Thanks,
> 
> Evaristo. 
> 
> ---
> def p_u_anchor_artificial(expr pos,theta,sc,al) =
>   T:=identity shifted pos;
>   thdraw origin withpen pencircle scaled 0.25u withcolor (0.58, 0.44, 0.25);
> enddef;
>  initsymbol ("p_u_anchor_artificial");
> 
> def p_u_anchor_natural(expr pos,theta,sc,al) =
> U:=(.2u,.2u);
> T:=identity aligned al rotated theta scaled sc shifted pos;
> thfill (-.2u,-.2u)--(0,.2u)--(.2u,-.2u)--cycle withcolor (0.58, 0.44, 
> 0.25); 
> enddef;
>  initsymbol ("p_u_anchor_natural");
> 
>   symbol-colour line rope [58 44 25]
> ---
> 
> El 02/02/2018 a las 16:54, Владимир Георгиев via Therion escribió:
>> Hi Evaristo
>> 
>> Indeed the line rope needs some additions in an elegant way :). Occasionally 
>> I have also wanted to make a Y-anchor without the dot in the middle. But I 
>> hadn't had the time to add this feature. It can be done by adding extra line 
>> point options. Similar to "adjust horizontal", "l-size", etc for "line:wall".
>> This will require modifications to both the Metapost code to draw the 
>> symbol, and to the therion c++ code that parses the options.
>> It would be possible to draw different types of anchors depending on the 
>> line point option, but I am not sure if it will be easy to reflect the used 
>> anchors in the legend.
>> 
>> Actually it would be best if there are both ways of setting an anchor: with 
>> a line point option, or with a separate point "anchor" with different 
>> options. The "anchor" point already exists, but is only one type.
>> 
>> When I draw a rope I always use it with "rebelays off" now and draw the 
>> rebelays with a Bezier line. This allows me better control, because the 
>> automatic rebelay curves don't always fit well in the pit shape.
>> 
>> Evaristo, if you want to work on the code, I can try to help. The above are 
>> all nice ideas, like many others, but I personally don't have the time to 
>> experiment with implementing them.
>> 
>> Vladimir
>> 
>> On Thu, Feb 1, 2018 at 1:57 PM, Evaristo Quiroga via Therion 
>> > wrote:
>> Hi,
>> 
>> I greatly appreciate the improvement made by Vladimir at the rope line 
>> symbol.
>> 
>> https://www.mail-archive.com/therion@speleo.sk/msg05992.html 
>> 
>> With this symbol you can control if the rope section has anchors and 
>> rebelays, as line options. This options are global to the line:  have or not 
>> rebelays or anchors. 
>> Now a I need to go more ahead, I want control the anchor type (natural: 
>> tree, block, etc or artificial: spit, multimonti, parabolt, etc) in every 
>> point and the rebelay in previous section. I want a round point for 
>> artificial anchor (like the Vladimir symbol) and a triangle point for 
>> natural anchor.
>> 
>> When we rig with Y knots and deviators you need to control the line section 
>> without rebelays and anchors, so that the rope is straight and the knots do 
>> not appear as anchors. (see attached figure). 
>> 
>> Now I have to way to implement this in Therion: the easy and the elegant.
>> 
>> Easy. Create two new point symbols for natural and artificial anchors. And 
>> use the rope line symbol with rebelay and anchor OFF in the rope section 
>> with Y and deviators, and  ON in the other sections. 
>> 
>> Elegant. Create a new rope line symbol, where I can control in every point 
>> the anchor type (Natural, Artificial or None, for knot) and the rebelay rope 
>> effect in the previous rope section. I think we can do this by defining 
>> options to the line point. I know other have implemented similar option, 
>> like "adjust horizontal". To do this a need code examples with similar 
>> option implementation to inspire me. 
>> 
>> Thanks,
>> 
>> Evaristo. 
>> 
>> 
>> ___
>> Therion mailing list
>> Therion@speleo.sk 
>> https://mailman.speleo.sk/listinfo/therion 
>> 
>> 
>> 
>> 
>> 
>> ___
>> Therion 

Re: [Therion] Rope and anchors symbols

2018-02-02 Thread Evaristo Quiroga via Therion

Hi Vladimir,

Finally  I have choose the easy way (see the attached figure). Yours 
comments and other forum members convinced me. And it's more easy  also 
to coordinate with new Topodroid symbols.


Now I have two new user anchor symbols: u:anchor_artificial and 
u:anchor_natural which I combine with rope section with or without 
rebelays and anchors.


I put the mpost code if others users want use it.
I have choose a brown colour to rigging (rope and anchors). As you can 
not choose the color of the user symbols, with "symbol-colour",  I had 
to define it in the mpost.


Thanks,

Evaristo.

---
/def p_u_anchor_artificial(expr pos,theta,sc,al) =//
//  T:=identity shifted pos;//
//  thdraw origin withpen pencircle scaled 0.25u withcolor (0.58, 0.44, 
0.25);//

//enddef;//
// initsymbol ("p_u_anchor_artificial");//
//
//def p_u_anchor_natural(expr pos,theta,sc,al) =//
//    U:=(.2u,.2u);//
//    T:=identity aligned al rotated theta scaled sc shifted pos;//
//    thfill (-.2u,-.2u)--(0,.2u)--(.2u,-.2u)--cycle withcolor (0.58, 
0.44, 0.25); //

//enddef;//
// initsymbol ("p_u_anchor_natural");

//  symbol-colour line rope [58 44 25]//
/---

El 02/02/2018 a las 16:54, Владимир Георгиев via Therion escribió:

Hi Evaristo

Indeed the line rope needs some additions in an elegant way :). 
Occasionally I have also wanted to make a Y-anchor without the dot in 
the middle. But I hadn't had the time to add this feature. It can be 
done by adding extra line point options. Similar to "adjust 
horizontal", "l-size", etc for "line:wall".
This will require modifications to both the Metapost code to draw the 
symbol, and to the therion c++ code that parses the options.
It would be possible to draw different types of anchors depending on 
the line point option, but I am not sure if it will be easy to reflect 
the used anchors in the legend.


Actually it would be best if there are both ways of setting an anchor: 
with a line point option, or with a separate point "anchor" with 
different options. The "anchor" point already exists, but is only one 
type.


When I draw a rope I always use it with "rebelays off" now and draw 
the rebelays with a Bezier line. This allows me better control, 
because the automatic rebelay curves don't always fit well in the pit 
shape.


Evaristo, if you want to work on the code, I can try to help. The 
above are all nice ideas, like many others, but I personally don't 
have the time to experiment with implementing them.


Vladimir

On Thu, Feb 1, 2018 at 1:57 PM, Evaristo Quiroga via Therion 
> wrote:


Hi,

I greatly appreciate the improvement made by Vladimir at the rope
line symbol.

https://www.mail-archive.com/therion@speleo.sk/msg05992.html


With this symbol you can control if the rope section has anchors
and rebelays, as line options. This options are global to the
line:  have or not rebelays or anchors.

Now a I need to go more ahead, I want control the anchor type
(natural: tree, block, etc or artificial: spit, multimonti,
parabolt, etc) in every point and the rebelay in previous section.
I want a round point for artificial anchor (like the Vladimir
symbol) and a triangle point for natural anchor.

When we rig with Y knots and deviators you need to control the
line section without rebelays and anchors, so that the rope is
straight and the knots do not appear as anchors. (see attached
figure).

Now I have to way to implement this in Therion: the easy and the
elegant.

Easy. Create two new point symbols for natural and artificial
anchors. And use the rope line symbol with rebelay and anchor OFF
in the rope section with Y and deviators, and  ON in the other
sections.

Elegant. Create a new rope line symbol, where I can control in
every point the anchor type (Natural, Artificial or None, for
knot) and the rebelay rope effect in the previous rope section. I
think we can do this by defining options to the line point. I know
other have implemented similar option, like "adjust horizontal".
To do this a need code examples with similar option implementation
to inspire me.

Thanks,

Evaristo.


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





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



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


[Therion] Fwd: Aven in stereoscopic 3D

2018-02-02 Thread Footleg via Therion
Apologies for cross posting, but I think this is of general interest to
Therion users too. I had not heard of this route to view 3D cave models in
a stereoscopic viewer before. If Loch could export models in a standard 3D
model format including the landscape overlays it would open up 3D viewing
options. E.g. A side-by-side image pair video signal can be viewed in full
colour 3D on many 3D TV sets and projectors. Loch does not provide a side
by side option currently. If it could export models to a format another
viewer can show then it gives a quick route to display models in this sort
of way.

Footleg

-- Forwarded message -
From: Jarvist Moore Frost
Date: Thu, 1 Feb 2018 00:07
Subject: Re: Aven in stereoscopic 3D
To: Pedro Silva Pinto
Cc: sur...@survex.com 


Perhaps easiest is to extract the data & use with a more mainstream viewer.

I had a lot of luck with Pymol (designed for biological molecules /
molecular dynamics), and Thomas Holder's python library for directly
importing .3d data:
https://github.com/jarvist/migovecsurveydata/tree/master/scripts/pymol

Example video:
https://www.youtube.com/watch?v=s68V9EsRvmE

Pymol is open source, but a lot of the web links direct you to the pay
version.

Pymol supports all kinds of weird and wonderful 3D outputs, including
shutter glasses. Mainly I've just used the 'cross eyed' stereo and anaglyph
(coloured 3D specs).

Back in ~2011 I wrote a C program that linked to Survex and exported the
.3d file to a '.CGO' set of graphics primitives. This was a bit more
clunky, but also worked fine.

Best,

Jarv

On 30 January 2018 at 20:50, Pedro Silva Pinto
wrote:

> Hi,
>
> Is there any way I could take advantage of the OpenGL 3D capabilities of
my
> Nvidia Quadro graphics card and see my surveys in Aven in Stereoscopic 3D?
>
> Regards
>
> Pedro
>
>
> --
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion