Automatic Extraction of Surface Cross Section
A module for creating partially transparent capping surfaces.

The TransparentCapping.hx project shows how to work around the current "Surface Cross Section" module limitation that is able to show just opaque surfaces and requires user interaction to export capping surfaces. Using the auto-refresh feature, this "Python script object" can update and show a partially transparent surface that "caps" the original one. The capping surface is evaluated and updated as soon as any of the ports of the referenced "Surface Cross Section" are changed. In addition, this module can be exploited to create nicer animations.
The AutoExtractXSection has two input ports:
Reference: this is the "Surface cross section" used to create the capping surface. This module must have its data port set to a Surface data and the "clip" plane must be active. Finally, its viewer toggle must be off (not visible) to avoid possible z-fighting issues when showing the transparent capping surface.
Base Trans: this is the base transparency (alpha) value used to render the capping surface. Its value must be the same as the same named port of the "Surface view" used to display the whole/clipped surface.
When either the "orientation" or the "translate[%]" port of the Surface Cross Section module are changed, the Python script modules triggered by the auto-refresh create a new capping surface as output, and displays it.