i need to make a windows based desktop software. I have a number of simple autocad drawings file (*.dxf). If i get a new drawing I need to check if the drawing exists in the system. the *.dxf file contains different sections(HEADER,CLASSES,ENTITIES ETC). I only require "ENTITIES" section where the coordinates of the lines are given. for example,
ENTITIES 0 LINE 5 3B 8 LAYER1 10 221.190559 20 185.708994 30 0.0 11 241.344721 21 183.18762 31 0.0 0 LINE 5 3C 8 LAYER1 10 241.344721 20 183.18762 30 0.0 11 242.099368 21 181.026461 31 0.0 0 ENDSEC
the next line after "10" gives x coordinates of starting point of the line the line after "20" gives y coordinates of starting point of the line
line after "11" gives x coordinates of last point of line line after "21" gives y coordinates of last point of line
i need to extract these values and add to a database. if i get a new file, i need to check if the new drawing matches any in the database. This is not a server based requirement. I need to use this in my pc. Now, I have basic knowledge in java,sql. can anybody guide me on what all tools i may need for this and the route i should follow.