Hey guys i need some assistance in implementing a pull(reverse push operation) on a Constructive solid geometry tree. Well with those familiar with CAD software like brlcad. The push operation copies the various matrix transformations at the various nodes down the tree and transforms the primitive located at the leaf of the tree. Well i'm still a little blank on how this works on the primitives and how to reverse the entire process then moving back up the tree putting the various matrix transformations at the correct positions up the tree from the leaf(primitive.)

Thanks for the help
Nyah