You can use the Segment Cross Section Area module in Sandbox extension (listed under the Examples category in the Extension manager).
Segment Cross Section Area
Sandbox