If you want to keep the models separate and just copy the scalar data then you can achieve it by following these steps:
- install ModelToModelDistance extension and use Model to model distance module to compute vector that moves points of one surface to the other (based on closest point of one surface on the other) - result will be stored in
PointToPointVector
point array of the output mesh - use vtkWarpVector filter with
PointToPointVector
to warp the model to match the surface of the other model - use vtkProbeFilter to get scalar values for each point
- copy over the point data to the original (unwarped) mesh
The first step is running the module, the other steps are running a VTK filter (few lines of Python code each). See examples of running VTK filters on model nodes in the script repository.