I have two algorithms:
The first shows the Ronald Resh origami tessellation adapting to the curved surface of the rectangular perimeter. In this algorithm, origami deforms and reaches the surface. It worked well.
The second aims to make the same Ronaldo Resh’s origami tesselation adapt to cloud points that forms a hexagonal perimeter surface. This point cloud was created from the 3D digitalization through a real deformation of physical prototype with this tessellation. The second has a greater number of points to reach, however it is not working.
Both were built following the same logic.