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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Read an IGES (Initial Graphics Exchange Specification) File uaing C++

Read an IGES (Initial Graphics Exchange Specification) File uaing C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++graphicstutorial
5 Posts 4 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.
  • R Offline
    R Offline
    raesa
    wrote on last edited by
    #1

    Hi, I have an IGES file.I have to read this file using c++. This basically has the graphics data (data realated to lines and otehr geometric entities) in the form of some numbers. I have no idea how to go about this task. Please do tell me if there is a way to read an IGES file. Thnx in advnce.

    L S M 3 Replies Last reply
    0
    • R raesa

      Hi, I have an IGES file.I have to read this file using c++. This basically has the graphics data (data realated to lines and otehr geometric entities) in the form of some numbers. I have no idea how to go about this task. Please do tell me if there is a way to read an IGES file. Thnx in advnce.

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      If you have the file format specifications and permission to open the file it should be basic programming 101 to code that. If you can't then you need to get some good beginners books or enroll in a University Computer Science program. If you are having a more specific problem then you need to explain what it is so we can help.

      R 1 Reply Last reply
      0
      • R raesa

        Hi, I have an IGES file.I have to read this file using c++. This basically has the graphics data (data realated to lines and otehr geometric entities) in the form of some numbers. I have no idea how to go about this task. Please do tell me if there is a way to read an IGES file. Thnx in advnce.

        S Offline
        S Offline
        Stuart Dootson
        wrote on last edited by
        #3

        There are some free IGES related tools, some with source code, here[^].

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

        1 Reply Last reply
        0
        • R raesa

          Hi, I have an IGES file.I have to read this file using c++. This basically has the graphics data (data realated to lines and otehr geometric entities) in the form of some numbers. I have no idea how to go about this task. Please do tell me if there is a way to read an IGES file. Thnx in advnce.

          M Offline
          M Offline
          Maximilien
          wrote on last edited by
          #4

          raesa wrote:

          Please do tell me if there is a way to read an IGES file.

          Yes there is a way. A. First, I assume you already have a 3D graphic engine to display, huh, 3D. Second, get the IGES specifications, there are a couple of link on the IGES wikipedia page. Third, read and parse the file to extract 3d entities and convert them to you own internal format. B. Get hold of a free converter and convert the IGES file to something you can read. good luck.

          This signature was proudly tested on animals.

          1 Reply Last reply
          0
          • L led mike

            If you have the file format specifications and permission to open the file it should be basic programming 101 to code that. If you can't then you need to get some good beginners books or enroll in a University Computer Science program. If you are having a more specific problem then you need to explain what it is so we can help.

            R Offline
            R Offline
            raesa
            wrote on last edited by
            #5

            Firstly, Thanx for the reply. Actually my task here is i have an input iges file. I have to read the geometry data using c++ from this file and recreate the geometry. I opened the file in a notepad and i found the data is in the form of some kind of numbers. I do not know how to read the geomtry from the file. It wold be very helpfull if you let me know if there are any good links related to this. Thank you.

            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