Geodesic Distance

Hi Waqas,

Thank you for your query.

For point 1, There is no built-in feature to measure geodesic distance between 2 points at the moment, however, you can get around it by setting up a Work-in-Progress Python plugin. You can select two landmarks on the mesh, and then access the landmarks programmatically using a Python script.

(1) Press on the Work-in-progress tab on the top right corner.
(2) Create a new WIP
(3) Set the interpreter to a conda environment (this should be a Python executable path).
(4) You can then write and run the main code from the WIP Editor:

    case = cases[case_1]
    landmark_names = case.electric.landmark_points.internal_names
    landmark_points = case.electric.landmark_points.points * scale
    print(landmark_points)

Work-in-Progress Blog post:

For point 2, ensure you have run the ‘batchConvert’ function after the data conversion step, in MATLAB:

batchConvert(<directory>, <outputdirectory>).

That should allow EP Workbench to read the .mat file correctly.