The procedure applied here (and coded in subroutine ``gen3dmpc.f'') is similar to the one in the previous section. The problem consists again of connecting the nodes to which the MPC is applied with the newly generated nodes of the expansion. Each term in the MPC is considered separately. If a knot is defined in the node of the term at stake, nothing needs to be done if a translational degree of freedom is addressed, whereas for a rotational degree of freedom the node is replaced by the rotational node of the knot. If no knot is defined, MPC's satisfying Equation 522 are generated for 1D elements, MPC's satisfying Equation 523 for 2D shell elements and MPC's described by Equation 524 for plane and axisymmetric elements. For the latter elements only the nodes in the zero-z plane are connected, see Figure 161. No rotational degrees of freedom are allowed in nodes of MPC's in which no knot was created.