ComputationalBiomechanicsLab / opensim-creator

A UI for building OpenSim models
https://opensimcreator.com
Apache License 2.0
137 stars 16 forks source link

Add `type` column to mesh warper CSV import/export #805

Open adamkewley opened 8 months ago

adamkewley commented 8 months ago

Where type is one of: Landmark, Semilandmark, NonLandmarkPoint (non-participating)

This is so that the higher-level warping workflow (#802) is able to read a single CSV per mesh (e.g. from Landmarks/MeshName.csv) and have all the information it needs to start warping other stuff in the model.

The file must also be importable into the mesh importer (#803), because users are going to also use the landmarks as part of defining frames - both in the importer (#802) and in existing opensim models (issue not made yet).

And, ideally, this would be done in a backward-compatible way (i.e. the CSV reader should work with older CSVs that have no type column).