Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Using 3D objects on PyQt5
Forum Updated to NodeBB v4.3 + New Features

Using 3D objects on PyQt5

Scheduled Pinned Locked Moved Unsolved Qt for Python
6 Posts 3 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abdullah.S
    wrote on last edited by
    #1

    Hello There;
    I want to use 3D objects in PyQt5 but this object will not be something easy to draw, that will be some kind of vehicle. Therefore I need some kind of library or framework that I can draw my vehicle or I can upload its STL format file. Unfortunately I could not find any response that will meet my needs in forums or in web pages. Most of the informations are about drawing the easy objects like cubes by codes, but as I told you that is impossible for me, so I am waiting for your answers.
    Thanks in advance for everyone who will care :))

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Are you thinking about the Qt3D module ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        Are you thinking about the Qt3D module ?

        A Offline
        A Offline
        Abdullah.S
        wrote on last edited by
        #3

        @SGaist said in Using 3D objects on PyQt5:

        Qt3D

        Thanks, but I am using PyQt5 I have no idea how to implement these codes to PyQt5, I do not even know if it is possible actually.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          friedemannkleint
          wrote on last edited by
          #4

          I am not an expert, but I am told that you can try to convert STL to glTF using https://github.com/ux3d/2gltf2 .

          Then, it can be imported into Qt Design Studio (see https://doc.qt.io/qtdesignstudio/studio-importing-3d.html ) or used in Quick3D (see https://doc-snapshots.qt.io/qt6-dev/qml-qtquick3d-assetutils-runtimeloader.html ).
          (all assuming using Qt 6).

          A 1 Reply Last reply
          0
          • F friedemannkleint

            I am not an expert, but I am told that you can try to convert STL to glTF using https://github.com/ux3d/2gltf2 .

            Then, it can be imported into Qt Design Studio (see https://doc.qt.io/qtdesignstudio/studio-importing-3d.html ) or used in Quick3D (see https://doc-snapshots.qt.io/qt6-dev/qml-qtquick3d-assetutils-runtimeloader.html ).
            (all assuming using Qt 6).

            A Offline
            A Offline
            Abdullah.S
            wrote on last edited by
            #5

            @friedemannkleint Thank you so much, but can I use Qt Design Studio for PyQt5 gui development? I thought I can use Design Studio(or Quick3D) only for PySide libraries.

            1 Reply Last reply
            0
            • F Offline
              F Offline
              friedemannkleint
              wrote on last edited by friedemannkleint
              #6

              We are now at Qt 6; I am not sure if there is an old version of Qt Design Studio for Qt 5. We ofc recommend PySide6.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved