I have five DXF files.

[![enter image description here][1]][1]

Are squares with a different geometric shape in each DXF file...

Four DXF files have a square with a different geometric shape on one side while one DXF file on each side have a different geometric shape, as shown above.  ([DXF1][2],[DXF2][3],[DXF3][4],[DXF4][5],[DXF5][6])

1. It is possible join these five files?

[![enter image description here][7]][7]

2. Some files are in the wrong position to be mounted , it is possible to rotate them? 

3. It is possible to create a code that can recognize these geometries and make some assembly like this? The animation is only illustrative. It was created only to facilitate understanding
 
![Animated gif](http://i.imgur.com/DQCoNgM.gif)

An attempt was made to convert the files above into 2D `BoundaryMeshRegions`, and these can be imported via:

    meshes = << "http://pastebin.com/raw/zNxS87RP"

![Mathematica graphics](https://i.sstatic.net/HpQAJ.png)










  [1]: https://i.sstatic.net/5lqai.jpg
  [2]: https://www.dropbox.com/s/tg1o1c0r80jn1cl/File1.dxf?dl=1
  [3]: https://www.dropbox.com/s/dbd8a3vc5vhoipj/File2.dxf?dl=1
  [4]: https://www.dropbox.com/s/orbeqg1rks1szqg/File3.dxf?dl=1
  [5]: https://www.dropbox.com/s/1uvlw9r0anb30q6/File4.dxf?dl=1
  [6]: https://www.dropbox.com/s/i4lidjwwec2odsr/File5.dxf?dl=1
  [7]: https://i.sstatic.net/xpue6m.jpg
  [8]: http://m.imgur.com/DQCoNgM