Get Structure(pipestructure) rotation from block rotation "nearby"

hi
see this