PashavanBijlert / MuSkeMo

Build and visualize musculoskeletal models in Blender
2 stars 0 forks source link

Add local-definition model importing functionality #28

Closed PashavanBijlert closed 2 months ago

PashavanBijlert commented 2 months ago
PashavanBijlert commented 2 months ago

Steps:

  1. find joints that have "ground" as the parent body
  2. location in and orientation in parent is the global orientation
  3. location and rotation in child define the global pos and or of child frame
  4. reconstruct the BSPs with respect to this frame.
  5. Reconstruct the BSPs in global frame
  6. Find all joints that have this body as parent
  7. Repeat
  8. Loop through all muscles and points
  9. Loop through contacts
PashavanBijlert commented 2 months ago

joints, frames, bodies, and muscles can be imported from OpenSim using local-definitions as of v0.7.4

PashavanBijlert commented 2 months ago

this issue will be considered complete after #39

PashavanBijlert commented 2 months ago

OpenSim models with local-frame definitions can now be imported. Updating version to v0.7.6