DXF files as command source for motion systems

B

Thread Starter

Boric, Mirko

Hi,
does anybody have experience with DXF file as description of trajectory for a motion system. I mean I can well understand what is line, arc or circle, but how do I order them (in time)? What is the first object and what is the second I am doing?

Mirko
 
This is not obvious because the order items are listed in a DXF file is not always the way you want it for motion control. You will probably need some code to find the next path in the DXF file. As starting point you could use an insertion point of a block. Draw a cross with two lines, create a block from these two lines and call the block "Start". Use this block as the starting point. Find this block in the DXF file to determine the starting point. Then search for an object with the same starting or ending coordinates and continue to the next.

Best regards
 
Top