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

Trianglesets #404

Merged
merged 10 commits into from
Dec 27, 2024
Merged

Trianglesets #404

merged 10 commits into from
Dec 27, 2024

Conversation

gangatp
Copy link
Collaborator

@gangatp gangatp commented Dec 17, 2024

Rebased the old branch with new develop. Targeting for the next release.

This is the release of the core spec
https://github.com/3MFConsortium/spec_core/releases/tag/1.3.0

  • ToDo
  • Add unit tests
  • Add examples

Copy link

codecov bot commented Dec 17, 2024

Codecov Report

Attention: Patch coverage is 57.61317% with 412 lines in your changes missing coverage. Please review.

Project coverage is 65.91%. Comparing base (905c367) to head (f8f4d75).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
Autogenerated/Source/lib3mf_interfacewrapper.cpp 44.05% 306 Missing ⚠️
Source/API/lib3mf_triangleset.cpp 51.25% 39 Missing ⚠️
Source/Model/Classes/NMR_ModelTriangleSet.cpp 46.34% 22 Missing ⚠️
Autogenerated/Bindings/Cpp/lib3mf_implicit.hpp 86.84% 10 Missing ⚠️
Source/Common/NMR_Exception.cpp 0.00% 9 Missing ⚠️
Source/Model/Classes/NMR_ModelMeshObject.cpp 84.78% 7 Missing ⚠️
Source/API/lib3mf_meshobject.cpp 84.61% 4 Missing ⚠️
...Model/Writer/v100/NMR_ModelWriterNode100_Model.cpp 60.00% 4 Missing ⚠️
...der/v100/NMR_ModelReaderNode100_TriangleSetRef.cpp 86.36% 3 Missing ⚠️
...eader/v100/NMR_ModelReaderNode100_TriangleSets.cpp 88.00% 3 Missing ⚠️
... and 4 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #404      +/-   ##
===========================================
- Coverage    66.09%   65.91%   -0.19%     
===========================================
  Files          395      400       +5     
  Lines        44642    45611     +969     
===========================================
+ Hits         29506    30063     +557     
- Misses       15136    15548     +412     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@3dJan 3dJan left a comment

Choose a reason for hiding this comment

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

There are not tests yet, that makes it hard to check if the implementation matches the spec.

@gangatp
Copy link
Collaborator Author

gangatp commented Dec 18, 2024

There are not tests yet, that makes it hard to check if the implementation matches the spec.

Hi Jan, thanks for reviewing. I will add unit test and examples to this PR.

@vijaiaeroastro
Copy link
Collaborator

@gangatp Once unit tests are available and verified to work as expected, it will be easier to review whether the PR works. We can then follow a similar strategy as implicit and proceed with the merge. We can do examples after the merge is complete.

@gangatp
Copy link
Collaborator Author

gangatp commented Dec 20, 2024

Hi Team, I added a basic unit test to check the functionality.

Copy link
Collaborator

@vijaiaeroastro vijaiaeroastro left a comment

Choose a reason for hiding this comment

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

Checked the unit tests. Seems to work fine. Coverage keeps failing. But I guess that's expected.

@vijaiaeroastro
Copy link
Collaborator

We can add something very similar to the unit test as an example once this is merged.

@gangatp
Copy link
Collaborator Author

gangatp commented Dec 27, 2024

I will do a follow up PR to fix the code coverage.

@gangatp gangatp merged commit 25c7b33 into develop Dec 27, 2024
40 of 42 checks passed
@gangatp gangatp deleted the trianglesets branch December 27, 2024 01:57
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.

6 participants