<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Evaristo,<div class=""><br class=""></div><div class="">may you, please, add this to wiki?</div><div class=""><br class=""></div><div class="">m.s.</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">2. 2. 2018 v 17:32, Evaristo Quiroga via Therion <<a href="mailto:therion@speleo.sk" class="">therion@speleo.sk</a>>:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<div class="moz-cite-prefix">Hi Vladimir,<br class="">
<br class="">
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. <br class="">
<br class="">
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. <br class="">
<br class="">
I put the mpost code if others users want use it. <br class="">
I have choose a brown colour to rigging (rope and anchors). <span id="result_box" class="" lang="en">As you can not
choose the color of the user symbols, with "symbol-colour", I
had to define it in the mpost.</span><br class="">
<br class="">
Thanks,<br class="">
<br class="">
Evaristo. <br class="">
<br class="">
-----------------------------------------------------------------------<br class="">
<i class="">def p_u_anchor_artificial(expr pos,theta,sc,al) =</i><i class=""><br class="">
</i><i class=""> T:=identity shifted pos;</i><i class=""><br class="">
</i><i class=""> thdraw origin withpen pencircle scaled 0.25u withcolor
(0.58, 0.44, 0.25);</i><i class=""><br class="">
</i><i class="">enddef;</i><i class=""><br class="">
</i><i class=""> initsymbol ("p_u_anchor_artificial");</i><i class=""><br class="">
</i><i class=""><br class="">
</i><i class="">def p_u_anchor_natural(expr pos,theta,sc,al) =</i><i class=""><br class="">
</i><i class=""> U:=(.2u,.2u);</i><i class=""><br class="">
</i><i class=""> T:=identity aligned al rotated theta scaled sc shifted
pos;</i><i class=""><br class="">
</i><i class=""> thfill (-.2u,-.2u)--(0,.2u)--(.2u,-.2u)--cycle
withcolor (0.58, 0.44, 0.25); </i><i class=""><br class="">
</i><i class="">enddef;</i><i class=""><br class="">
</i><i class=""> initsymbol ("p_u_anchor_natural");<br class="">
<br class="">
</i><i class=""> symbol-colour line rope [58 44 25]</i><i class=""><br class="">
</i>-------------------------------------------------------------------------------<br class="">
<br class="">
El 02/02/2018 a las 16:54, Владимир Георгиев via Therion escribió:<br class="">
</div>
<blockquote type="cite" cite="mid:CAHzQzvT52CxJtaAgDuR2Q3MCisr9BhNPFg8ft33yqBL=aGmxBA@mail.gmail.com" class="">
<div dir="ltr" class="">
<div class="gmail_default" style="font-size:small">Hi Evaristo<br class="">
<br class="">
</div>
<div class="gmail_default" style="font-size:small">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".<br class="">
</div>
<div class="gmail_default" style="font-size:small">This will
require modifications to both the Metapost code to draw the
symbol, and to the therion c++ code that parses the options.<br class="">
</div>
<div class="gmail_default" style="font-size:small">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.<br class="">
<br class="">
</div>
<div class="gmail_default" style="font-size:small">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.<br class="">
<br class="">
</div>
<div class="gmail_default" style="font-size:small">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.<br class="">
<br class="">
</div>
<div class="gmail_default" style="font-size:small">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.<br class="">
</div>
<div class="gmail_default" style="font-size:small"><br class="">
</div>
<div class="gmail_default" style="font-size:small">Vladimir<br class="">
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Thu, Feb 1, 2018 at 1:57 PM,
Evaristo Quiroga via Therion <span dir="ltr" class=""><<a href="mailto:therion@speleo.sk" target="_blank" moz-do-not-send="true" class="">therion@speleo.sk</a>></span>
wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF" class=""><p class="">Hi,</p><p class="">I greatly appreciate the improvement made by Vladimir
at the rope line symbol.</p><p class=""><a class="m_8479800413231117111moz-txt-link-freetext" href="https://www.mail-archive.com/therion@speleo.sk/msg05992.html" target="_blank" moz-do-not-send="true">https://www.mail-archive.com/<wbr class="">therion@speleo.sk/msg05992.<wbr class="">html</a></p><p class="">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. <br class="">
</p><p class="">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 <span id="m_8479800413231117111result_box" class="m_8479800413231117111short_text" lang="en">round
point for artificial anchor (like the Vladimir
symbol) and a triangle point for natural anchor.<br class="">
</span></p><p class="">When we rig with Y knots and deviators you need to
control the line section without rebelays and anchors, <span id="m_8479800413231117111result_box" lang="en" class="">so
that the rope is straight and the knots do not
appear as anchors. (see attached figure). <br class="">
</span></p><p class=""><span id="m_8479800413231117111result_box" lang="en" class="">Now
I have to way to implement this in Therion: the easy
and the elegant.</span></p><p class=""><span id="m_8479800413231117111result_box" lang="en" class="">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. <br class="">
</span></p><p class=""><span id="m_8479800413231117111result_box" lang="en" class="">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. <br class="">
</span></p><p class=""><span id="m_8479800413231117111result_box" lang="en" class="">Thanks,</span></p><p class=""><span id="m_8479800413231117111result_box" lang="en" class="">Evaristo.
<br class="">
</span></p>
</div>
<br class="">
______________________________<wbr class="">_________________<br class="">
Therion mailing list<br class="">
<a href="mailto:Therion@speleo.sk" moz-do-not-send="true" class="">Therion@speleo.sk</a><br class="">
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank" moz-do-not-send="true" class="">https://mailman.speleo.sk/<wbr class="">listinfo/therion</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre wrap="" class="">_______________________________________________
Therion mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Therion@speleo.sk">Therion@speleo.sk</a>
<a class="moz-txt-link-freetext" href="https://mailman.speleo.sk/listinfo/therion">https://mailman.speleo.sk/listinfo/therion</a>
</pre>
</blockquote><p class=""><br class="">
</p>
</div>
<span id="cid:0678004D-C467-42DC-AC54-2E01571F8472"><Rope-anchors2.gif></span>_______________________________________________<br class="">Therion mailing list<br class=""><a href="mailto:Therion@speleo.sk" class="">Therion@speleo.sk</a><br class="">https://mailman.speleo.sk/listinfo/therion<br class=""></div></blockquote></div><br class=""></div></body></html>