Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How install Balsam
Forum Updated to NodeBB v4.3 + New Features

How install Balsam

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
9 Posts 3 Posters 2.1k Views 2 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.
  • I Offline
    I Offline
    ItzMeJP
    wrote on last edited by ItzMeJP
    #1

    I am trying to use the Balsam to convert some CAD models, however I don't have it intalled. What should I do to install it in Ubuntu?

    1 Reply Last reply
    1
    • G Offline
      G Offline
      GuillaumeLandry
      wrote on last edited by
      #2

      Hi !
      Did you find your answer ? I'm trying to do the same and cannot find the balsam tool anywhere...

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

        Hi and welcome to devnet,

        AFAIK it's part of QtQuick3D, did you install that module ?

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

        G 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          AFAIK it's part of QtQuick3D, did you install that module ?

          G Offline
          G Offline
          GuillaumeLandry
          wrote on last edited by
          #4

          Hi @SGaist, thank you for your answer !

          In fact, I don't really know what you mean by "installing that module"... I'm already using it, and installed components through Qt Online Installer.

          I can explain a little bit more my situation: I'm on Windows. I'm using PySide6 ('pip install pyside6') for the backend of my application as I'm working with Python code. I already have an application built, with a View3D displaying models, playing with it from python code signals and slots to QML files. As of now, I can drag and drop some assets in the QtDesigner and see it in the application, but I would like to do it programmatically. Can I write a few python lines to do it, or should I always go through Windows / Linux terminal ?

          How can I acces the balsam tool as the command is always 'not found' ?

          Thanks a lot for your support !

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

            What exactly did you install on Windows ?
            Only PySide6 or also at least on Qt release ?
            If both, did you check into the installation tree whether you have balsam is there ?

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

            1 Reply Last reply
            0
            • G Offline
              G Offline
              GuillaumeLandry
              wrote on last edited by
              #6

              Hi !

              I did the whole process again, and I got it working. So here is what I did:

              I installed only Qt Design Studio from the Qt Online Installer for Open Source Development. The balsam.exe file is then located (in my case) there: 'C:\Qt\Tools\QtDesignStudio\qt5_design_studio_reduced_version\bin\balsam.exe'.

              Now I can run balsam in the terminal:

              C:\Qt\Tools\QtDesignStudio\qt5_design_studio_reduced_version\bin\balsam.exe sample_mesh.obj
              

              Or add the bin directory to the Windows Environment Variables' Path and execute directly:

              balsam sample_mesh.obj
              

              It creates (in the current directory) a .qml and .mesh file that can then be imported into any QML View3D in my application.

              Now, is there a way to get the tool without installing Qt Designer Studio (1.45 Gb) ? Otherwise, I got it working, so thank you, and I hope that my quick description of the problem resolution will help someone else !

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

                Do you have a standard Qt installed as well ?

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

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  GuillaumeLandry
                  wrote on last edited by
                  #8

                  I have PySide6 installed via "pip", and now Qt Designer installed, and that's all I need for developing right now, right?

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

                    From the looks of it yes.

                    The standard Qt was just to check whether balsam was also available with it. From the looks of it, yes.

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

                    1 Reply Last reply
                    1

                    • Login

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