Geometry not staying to scale when applied to a surface

Hi all-

I am a beginner grasshopper user. I made my main geometry in rhino, and created two additional surfaces in grasshopper that will be used to open and close. I am trying to then take these geometries and apply it onto a flat surface where I can decide how many vertically and horizontally. However, my geometry does not stay in scale. What am I missing that could help this?

Thank you in advance!

Copy of Parametric_Component_Mapping_Definition_edit (1).gh (32.4 KB)
Medina Rep Model Final.3dm (6.9 MB)

You had some branching issues. (32.9 KB)