Skip to content

[Pelvis] Integrate the pelvis data file into the project #19

@jilei-hao

Description

@jilei-hao

Background

Currently the generator is reading the pelvis file into the scene by using a hard-coded path. To make this program portable, we need to integrate the pelvis model file into the project.

Requirement

Create a data folder in the project source directory. Copy the pelvis data to the data folder and commit the change to the source control. In the CmakeLists.txt, write code to copy the data file to the binary folder, so the program can use relative path to retrieve the data file.

Resource

CMake Copy file: https://stackoverflow.com/questions/34799916/copy-file-from-source-directory-to-binary-directory-using-cmake

Deliverable

  • Data added to source control
  • CMakeList.txt change to copy data to binary folder
  • Use relative path in the code to retrieve the file

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions