Kangaroo/Kangaroo 2 origami: how to give a mesh advanced constrains?

I started with a simple def using Kangaroo origami component. I want to work in this workflow, preparing linework drawings organized in mountains, valleys and border.

Here is what I would like to achieve:

  1. I want to be able to constrain edges as they fold to the surfaces above and below with a decent precision, like if I had to build a space truss based on the edges.

  2. I want to be able to constrain the fold between non-flat surfaces, this time constrain points (tips) to the nearest point possible

  3. Maybe there’s a way to do #2 with stretching edges of a folded mesh to make it touch surfaces (stretch edges)?

origami_start.gh (78.3 KB)