Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. read stl files

read stl files

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
7 Posts 3 Posters 0 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.
  • S Offline
    S Offline
    saisp
    wrote on last edited by
    #1

    how to read stl files in binary format using mfc?

    CPalliniC 1 Reply Last reply
    0
    • S saisp

      how to read stl files in binary format using mfc?

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      saisp wrote:

      how to read stl files in binary format using mfc?

      :confused:

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

      In testa che avete, signor di Ceprano?

      B 1 Reply Last reply
      0
      • CPalliniC CPallini

        saisp wrote:

        how to read stl files in binary format using mfc?

        :confused:

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

        B Offline
        B Offline
        beko
        wrote on last edited by
        #3

        http://www.codeproject.com/opengl/stlviewer.asp[^]

        S CPalliniC 2 Replies Last reply
        0
        • B beko

          http://www.codeproject.com/opengl/stlviewer.asp[^]

          S Offline
          S Offline
          saisp
          wrote on last edited by
          #4

          yes i have seen this. but this code reads only ascii format files. i have to read both. if i convert binary to ascii the file is not valid one. since the string value is not there. how to convert binary to ascii

          B 1 Reply Last reply
          0
          • B beko

            http://www.codeproject.com/opengl/stlviewer.asp[^]

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #5

            Thank you! :)

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

            In testa che avete, signor di Ceprano?

            S 1 Reply Last reply
            0
            • CPalliniC CPallini

              Thank you! :)

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.

              S Offline
              S Offline
              saisp
              wrote on last edited by
              #6

              what's this?

              1 Reply Last reply
              0
              • S saisp

                yes i have seen this. but this code reads only ascii format files. i have to read both. if i convert binary to ascii the file is not valid one. since the string value is not there. how to convert binary to ascii

                B Offline
                B Offline
                beko
                wrote on last edited by
                #7

                I dont know much about STL format, however check VTK. There should be an example showing how to use VTK with MFC.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups