(This module is available only in MVS)
![]()
General Module Function
The tunnel_cut module is similar to the surf_cut module in that it receives any 3D field into its left input port, BUT instead of a surface, it receives a line (along the trajectory of a tunnel, boring or mineshaft) into its right input port. The tunnel_cut module then cuts a cylinder, of user defined radius, along the line trajectory. The algorithm is identical in concept to surf_cut in that it adds a data component to the input 3D field referencing the distance from the line (trajectory). With this new data component you can use a subsetting module like plume_volume to pass either portion of the 3D field (inside the cylinder or outside the cylinder), thereby allowing cutting tunnels along any trajectory. The trajectory line can originate from a DXF file or a NetCDF file.
The general approach is to subset the tunnel_cut data component with either constant_shellor plume_volume. The choice of 1.0 for the isolevel will result in cutting AT the user radius, while less than 1.0 is inside the cylinder wall and greater than 1.0 is outside the cylinder wall.
Module Input Ports
tunnel_cut has two input ports. It receives any 3D field into its left input port that should be connected to or after Explode_and_Scale. It receives polylines (from Read_DXF or Read_NetCDF) into its right input port.
Module Output Ports
tunnel_cut has one output port which outputs a field with an additional "tunnel_cut" data component which equals 1.0 when AT the cylinder wall surface (defined by user defined radius), less than 1.0 on the inside of the cylinder, and greater than 1.0 outside the cylinder wall.

Module Status: Interruptible
This module's computational processes can be terminated (interrupted) using the "C Tech" icon in the Windows Notification Area (aka System Tray) in the lower right corner of your desktop. If you hover over the icon, it will tell you the status of the module and expected completion time. Double-Right-Clicking will terminate the process. Note that if you do stop any process, the output of the module is corrupted and any downstream module's results are not usable. You will need to re-run the module.

Module Control Panel
The module's control panel is shown above. The only parameter is Tube Radius, which is set to 8.00 by default. This radius is measured as a normal to the trajectory line in model units. Pressing the Accept button activates the tunnel_cut calculation and thus, passes the 3D field with the tunnel_cut data component for subsetting by modules such as plume_volume, isosurface, plume_shell, etc.
Related Modules
->surf_Cut