Skip to main content
9 of 14
added 30 characters in body
LCarvalho
  • 9.3k
  • 5
  • 40
  • 97

Can Mathematica put these puzzle pieces together?

I have five DXF files with various geometric figures.

enter image description here

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,DXF2,DXF3,DXF4,DXF5)

  1. It is possible join these five files?

enter image description here

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

  2. 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

LCarvalho
  • 9.3k
  • 5
  • 40
  • 97