06-08-2022 03:16 AM
Hi,
Can anyone tell me whether it is possible to read an .igs CAD file in LabView?
Thanks
Simon
06-08-2022 06:46 AM - edited 06-08-2022 06:51 AM
Of course, you can read any file in LabVIEW.
You probably mean if you can actually parse it, and use it in a meaningful way. That's a much harder question, because it raises the question what meaningful is to you.
The format is text (readable) and it's an old standard (1978?) (IGES - Wikipedia). Looking at it it seems pretty simple.
How you want to use (parts of) the specification in LabVIEW?
Just to give an idea of usage, imagine the difference between:
1) Change two coordinates in a template, based on text offset
2) Read any .igs file and render it in 3D, allowing the user to change, add and remove objects, and save back as igs.
3) Anything between these two extremes.
06-08-2022 06:53 AM
Thanks for the reply. I have made some progress. The igs file is a text file that can be read with LabView, as you say. And yes, parsing is the now the main issue. Fortunately, I know which part of the file I need and have almost isolated it from the rest of the text. Will hopefully have crtacked it by the end of play today.
Regards
Simon