Grasshopper Modular Origami

Don’t know about assembling. But origami simulation in kangaroo starts:

First by recreating the folding layout as a mesh;

Then mark all valley and mountain fold lines in separate.

Then look up script examples.