The taper modifier can be nicely used to squash a object into a tube or something similar. The example below demonstrates how a square was tapered along a curve.
Properties