Heightmap [script]

 From:  Mindset (IGNITER)
7547.67 In reply to 7547.66 
@bemfarmer [That sound quite a bit like unwrapping a cylinder...]

Yes, it does need to be "unwrapped".
The result should be a displacement map rather than a transformed surface.
Obviously we are not considering a true cylinder which, by definition, would always be equidistant from its central axis (of course).

EDITED: 26 Feb 2018 by IGNITER