<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 18/12/2012 13:17, Jack a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote cite="mid:50D05EBF.5030701@rybn.org" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Le 18/12/2012 12:46, Alexandros
        Drymonitis a &eacute;crit&nbsp;:<br>
      </div>
      <blockquote
cite="mid:CAF58LJp5ZhFOyJi3rmqiHxU18tFrkw_vJD3AODvqLj76hY1nYw@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>
            <div>
              <div>Hi all,<br>
              </div>
              I've been trying to render a line in Gem, so I'm wondering
              if it's best to use [curve] (which is actually a curve as
              it indicates), or [rectangle] with a very small x value,
              so that it looks like a line.<br>
            </div>
            My problem is that I want to give this line an angle, so
            I've been using [shearXY] for now. I also want to make the
            line grow from nothing to the full desired length, but with
            [rectangle] it will grow from the middle, so in order to
            make it grow from the starting point to the ending point,
            you have to give [rectangle] a continuous x,y offset.<br>
            This way it's really hard to determine the starting and
            ending point of the line. So, If for example the x,y
            coordinates of the starting and ending point are random,
            then the angle and length will also be random and you'll
            have to manipulate three different objects simultaneously
            ([rectangle], [translate] and [shearXY]), and I'm not sure
            if I can find the formula for all these calculations. <br>
          </div>
          Is there an easier technique for this?<br>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
      </blockquote>
      <br>
      Hello,<br>
      <br>
      If you need a segment starting from (Xa, Ya, Za) and ending to
      (Xb, Yb, Zb), then use [curve 2] and set coordinates with two
      lists of three elements.<br>
      With this solution, you needn't [rotateXYZ] or [shearXY] objects
      and can make your segment growing from nothing to the desired
      length.<br>
      Have a look at [curve] object.<br>
      ++<br>
      <br>
      Jack<br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    <br>
    I forget to add : with [curve 2], maybe you will need [pol2cart] or
    [sph2cart] from Zexy lib.<br>
    ++<br>
    <br>
    Jack<br>
    <br>
    <br>
  </body>
</html>