Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #239 +/- ##
==========================================
- Coverage 48.92% 48.92% -0.01%
==========================================
Files 466 466
Lines 50527 50522 -5
==========================================
- Hits 24721 24717 -4
+ Misses 25806 25805 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
BEWARE : copy-pasting the sphere creation command does not work properly. The I think checking whether the returned bounding box is flat is not sufficient. Considering a volume and the created block ctx.getGeomManager().newSphere (Mgx3D.Point(0, 0, 0), 1, 125)
ctx.getTopoManager().newFreeTopoOnGeometry ("Vol0000")Currently in the branch is returned the following block : When always calling
But when the sphere is scaled, the call to ctx.getGeomManager().scaleAll(1.000000e+01, 2.000000e+01, 1.000000e+01)
Whereas calling
|
|
As bounding box computation is crucial I am splitting this PR into two PRs
|
ed0fa28 to
05f9df4
Compare
|
Some tests fail due to the naming of the entities; the following ctx.getGeomManager().newCylinder (Mgx3D.Point(0, 0, 0), 1, Mgx3D.Vector(0, 0, 4), 3.600000e+02)
ctx.getGeomManager().newCylinder (Mgx3D.Point(1.5, 0, 0), 1, Mgx3D.Vector(0, 0, 4), 3.600000e+02)
ctx.getGeomManager ( ).fuse (["Vol0001","Vol0000"])Putting I am also not sure our I have yet to check the values returned by our computing of the bounding boxes of the nine surfaces in this case and how the sort fares on those |
|
Using triangulation =false enables to get the same results as before. Have a look to the changed files. No id changes with main branch in test scripts. What do you think about it ? |
nicolaslg
left a comment
There was a problem hiding this comment.
Let's proceed with the merge
Thanks for making do with the back and forth with the bounding box computation methods !
|
I put it here as a reference : In the fused two cylinder case when using the It even impacts the second digit (ex: |




…edge or surface