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. can I develop Qt with STL (Standard Triangle Language) files for my CAD project?? so far i couldn't find any information related to the .stl file with Qt
QtWS25 Last Chance

can I develop Qt with STL (Standard Triangle Language) files for my CAD project?? so far i couldn't find any information related to the .stl file with Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 4 Posters 2.7k 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.
  • E Offline
    E Offline
    eurekaWin
    wrote on last edited by
    #1

    Dear all

    I am trying to develop CAD 3D project with Qt and I have to load and use .stl files but somehow I couldn't find any information related with Qt and .stl file projects yet

    anyone has information for the Qt with .stl files project .. i really appreciate that ..

    thanks so much

    raven-worxR 1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! Qt does not come with a parser for STL files. But the file format is really primitive so writing a parser (or better two, one for ASCII and one for binary files) isn't a big deal. If you're starting a new CAD application then handling STL files will be you smallest challenge :-)

      E 1 Reply Last reply
      3
      • ? A Former User

        Hi! Qt does not come with a parser for STL files. But the file format is really primitive so writing a parser (or better two, one for ASCII and one for binary files) isn't a big deal. If you're starting a new CAD application then handling STL files will be you smallest challenge :-)

        E Offline
        E Offline
        eurekaWin
        wrote on last edited by
        #3

        @Wieland do you have any information related for CAD application with Qt and .stl files ? could you share me some links or sources ? thanks Wieland

        ? 1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi
          There are many as STL well known :)
          http://www.sgh1.net/b4/cpp-read-stl-file

          E 1 Reply Last reply
          3
          • E eurekaWin

            @Wieland do you have any information related for CAD application with Qt and .stl files ? could you share me some links or sources ? thanks Wieland

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            @eurekaWin The guys at FreeCAD are trying to build a free / open souce 3D CAD suite. They actually made some progess over the last decade.

            E 1 Reply Last reply
            2
            • mrjjM mrjj

              Hi
              There are many as STL well known :)
              http://www.sgh1.net/b4/cpp-read-stl-file

              E Offline
              E Offline
              eurekaWin
              wrote on last edited by
              #6

              @mrjj thanks friend .. :) for the info

              1 Reply Last reply
              1
              • E eurekaWin

                Dear all

                I am trying to develop CAD 3D project with Qt and I have to load and use .stl files but somehow I couldn't find any information related with Qt and .stl file projects yet

                anyone has information for the Qt with .stl files project .. i really appreciate that ..

                thanks so much

                raven-worxR Offline
                raven-worxR Offline
                raven-worx
                Moderators
                wrote on last edited by
                #7

                @eurekaWin
                Since the STL file format is pretty simple you can read the file using QDataStream for example.
                Read this for example.

                --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                If you have a question please use the forum so others can benefit from the solution in the future

                E 1 Reply Last reply
                3
                • ? A Former User

                  @eurekaWin The guys at FreeCAD are trying to build a free / open souce 3D CAD suite. They actually made some progess over the last decade.

                  E Offline
                  E Offline
                  eurekaWin
                  wrote on last edited by
                  #8

                  @Wieland thanks for the info :) i'm gonna look for that

                  1 Reply Last reply
                  0
                  • raven-worxR raven-worx

                    @eurekaWin
                    Since the STL file format is pretty simple you can read the file using QDataStream for example.
                    Read this for example.

                    E Offline
                    E Offline
                    eurekaWin
                    wrote on last edited by
                    #9

                    @raven-worx thanks :) i will have a look

                    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