3D-printed in-line and out-of-plane layers with stimuli-responsive intelligence. (December 2022)