The definition is really simple. A series of closed, planar curves, the offset (inwards or outwards), and the extrusion value. With those in place, the script does a few offsets and booleans, and then spits out the slabs.
I suppose you can always use the script to contour and cut up a volume like apple slices, but I've decided to use it as more or less a component in something interesting:
This gh script is a test of incorporating the features of the slab's thickness, depth in grasshopper.
And multiplying its effects I get:
And with a bit of more work, I get: