Semiflexible polymers display unique mechanical properties that are extensively applied by living systems. However, systematic studies on biopolymers are limited since properties such as polymer rigidity are inaccessible. This manuscript describes how this limitation is circumvented by programmable DNA nanotubes, enabling experimental studies on the impact of filament rigidity.