Rational design of reconfigurable prismatic architected materials