fifurnio
Guest
hello to all
is my first ad, I tried to search in the forum and on the net but I did not find answers to my question: I am making the project of a 2d laser scanner that detects a series of distances on a constant step scanning plane on a forged piece (mobile, for production control purposes), the laser produces a series of hexadecimal quantities that I can correlate with scanning (which I command at constant steps of 1-2 mm) producing pairs of x and y values in text format; the customer asks for a polyline in cad format to each scan.
the piece is rough and there are no precision requirements beyond the millimeter, so a polyline consisting of segments of 1-2-3 mm is fine.
I already have a plc-touch integrated to the tool that is already able to generate the text file with the quotas in sequence.
I have tried to study the various formats, since for the most part they are convertible into text, the most intuitive is the iges, I studied the structure, the coordinates of the points of the various elements are also visible in clear and are hexadecimal, but from here to build a 2d file I see it a little difficult for my means.
I ask if someone can help me directly or if there is a program per pc or even an insertable routine already in the plc that can directly produce the file.
for the record: the pieces in question have dimensions around the meter height and two of diameter.
is my first ad, I tried to search in the forum and on the net but I did not find answers to my question: I am making the project of a 2d laser scanner that detects a series of distances on a constant step scanning plane on a forged piece (mobile, for production control purposes), the laser produces a series of hexadecimal quantities that I can correlate with scanning (which I command at constant steps of 1-2 mm) producing pairs of x and y values in text format; the customer asks for a polyline in cad format to each scan.
the piece is rough and there are no precision requirements beyond the millimeter, so a polyline consisting of segments of 1-2-3 mm is fine.
I already have a plc-touch integrated to the tool that is already able to generate the text file with the quotas in sequence.
I have tried to study the various formats, since for the most part they are convertible into text, the most intuitive is the iges, I studied the structure, the coordinates of the points of the various elements are also visible in clear and are hexadecimal, but from here to build a 2d file I see it a little difficult for my means.
I ask if someone can help me directly or if there is a program per pc or even an insertable routine already in the plc that can directly produce the file.
for the record: the pieces in question have dimensions around the meter height and two of diameter.