In a science fiction story by Robert Heinlein they have kilts (and other clothes) available to purchase at kiosks all over.
You just punch in your dimensions, select the style of clothing, color, etc... pay your money and it weaves and sews it in minutes for your approval.