Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added mesh properties in ModelWriter (meshcolor, meshscale, meshrt) #254

Merged
merged 2 commits into from
Jan 20, 2022

Conversation

RVSagar
Copy link
Contributor

@RVSagar RVSagar commented Jan 20, 2022

This PR pertains to #253. I've added the meshcolor, meshscale and meshrt properties to the ModelWriter class. Compiled with Debug, Eigen3, Casadi and ran tests, all seems good. Ran the script here and the output .bioMod is correct now.

I made two member variables in Mesh (m_scale, m_rotation), that keep track of the applied rotation and scale since that wasn't there before. Let me know if you'd like me to change anything!

@codecov
Copy link

codecov bot commented Jan 20, 2022

Codecov Report

Merging #254 (71dcd10) into master (0bf9f71) will decrease coverage by 0.13%.
The diff coverage is 14.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #254      +/-   ##
==========================================
- Coverage   78.35%   78.21%   -0.14%     
==========================================
  Files         101      101              
  Lines       11455    11479      +24     
==========================================
+ Hits         8975     8978       +3     
- Misses       2480     2501      +21     
Impacted Files Coverage Δ
src/ModelWriter.cpp 85.34% <0.00%> (-9.85%) ⬇️
src/RigidBody/Mesh.cpp 65.62% <26.66%> (-9.38%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0bf9f71...71dcd10. Read the comment docs.

Copy link
Member

@pariterre pariterre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM GG :)

@pariterre pariterre merged commit b23a321 into pyomeca:master Jan 20, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants