Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 3D spinning CAD model with point of rotation center of CAD model

Qt 3D spinning CAD model with point of rotation center of CAD model

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 686 Views
  • 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.
  • C Offline
    C Offline
    chris2401
    wrote on last edited by
    #1

    Hi everyone,

    I am able to load an external CAD file to Qt 3D by using the same idea as implemented in the barrel class in the materials demo (https://doc.qt.io/qt-5/qt3d-materials-cpp-example.html) , and tried to rotate it based on the example simple-cpp (using the QPropertyAnimation class) but the point of rotation is always the lower right corner. I tried to translate that point to the center of the CAD file but with no success. Any thoughts/ideas ? Thanks in advance.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      chris2401
      wrote on last edited by
      #2

      Any ideas ? :)

      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