tags:

views:

148

answers:

3

I would like to be able to write the .iges file format using c#. Can anyone help me with this?

+2  A: 

Wikipedia has some good information on the IGES file format which might be of use.

[Edit] There is a commercially library available which seems to be able to read and write IGES files.

Jon Cage
You asked for help and didn't specify how far you'd got, so I thought this might help. Is there a specific aspect of writing these files that you're struggling with? Have you tried writing out some binary data as per the spec?
Jon Cage
+2  A: 

You'll probably need to buy the specification (see this). Once you have the specs, you'll create one or more data structures that represents the contents of your file (always according to the specs). Then, it's just about filling the structure and writing to the file.

Fernando
A: 

Its going to be very complex to try and write IGES. I'm not sure what your input is, but investigate using a 3d format converter such as Okino NuGraf to convert that input, whatever it is, to IGES. There are lots and lots of pitfalls trying to write out those 3d formats...

Scott Stafford