[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: 3D Drawing with PyQt6
From:       John Thornton <dev () gnipsel ! com>
Date:       2023-12-19 15:41:06
Message-ID: 76aa750b-9ce1-b9e2-7bd9-5848c328cc77 () gnipsel ! com
[Download RAW message or body]

Thanks, I did a search with pyqt and opengl and found an old PyQt4 
tutorial and ported that to PyQt5 and got that to work so now I'll port 
that to PyQt6 and see if I can make that work for me.

JT

On 12/19/23 02:54, Dov Grobgeld wrote:
> You can always turn a path into several (overlapping) solids, e.g. by 
> drawing each line segments by two spheres and one one cylinder. 
> Another option is to us the more low level OpenGL interface in PyQt6 
> (or Qt for Python).
>
> Regards,
>
> On Mon, Dec 18, 2023 at 8:24 PM John Thornton <dev@gnipsel.com> wrote:
>
>     Is it possible to do 3D line and arc drawing in PyQt6?
>
>     I want to draw a path from XYZ data.
>
>     I looked at QtQuick3d and it seems like it's only for solids but I
>     may
>     be wrong.
>
>     Thanks
>     JT
>
[Attachment #3 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thanks, I did a search with pyqt and opengl and found an old
      PyQt4 tutorial and ported that to PyQt5 and got that to work so
      now I'll port that to PyQt6 and see if I can make that work for
      me.</p>
    <p>JT<br>
    </p>
    <div class="moz-cite-prefix">On 12/19/23 02:54, Dov Grobgeld wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA++fsGH_bERJQ_7LESj2Z1mC4mFiccUA1vsHg=NX-2PgJa0S+g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">You can always
          turn a path into several (overlapping) solids, e.g. by drawing
          each line segments by two spheres and one one cylinder.
          Another option is to us the more low level OpenGL interface in
          PyQt6 (or Qt for Python).</div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif"><br>
        </div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">Regards,<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Dec 18, 2023 at
          8:24 PM John Thornton &lt;<a href="mailto:dev@gnipsel.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">dev@gnipsel.com</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is
          it possible to do 3D line and arc drawing in PyQt6?<br>
          <br>
          I want to draw a path from XYZ data.<br>
          <br>
          I looked at QtQuick3d and it seems like it's only for solids
          but I may <br>
          be wrong.<br>
          <br>
          Thanks<br>
          JT<br>
          <br>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic