Hi! I am looking to obtain geometrical measurements from the anatomical models. For eg. Distance of artery and arm surface. Could anyone please suggest on how I can do this. Thank you @bryn @suchitkumar @Habib
Taking geometrical measurements
in the upcoming release there is a python command XCoreModeling.GetEntityPointDistance and GetEntityEntityDistance. These functions already exist before S4L 6.0, but don't work for TriangleMesh entities (like ViP models). Starting in V6.0 they also work for TriangleMesh entities.
GetEntityEntityDistance always returns the shortest distance between two entities. You could create some vertices along the artery and query the distance to the skin with GetEntityPointDistance.
In the meantime (until you have the new S4L 6.0), you could use the measure tool to measure distance. Since the skin encloses the artery, I would propose following workflow:
- One way is to slice the arm at different levels (select e.g. Skin -> start Modify / Planar Cut tool), select different positions/elevations and press Slice.
- You can then measure the distance between the Artery and the slice contour lines.