Uh oh!
There was an error while loading. Please reload this page.
Allow mesh material volume calculations outside model geometry - #4028
Conversation
pshriwise
left a comment
There was a problem hiding this comment.
Thanks for supporting this additional scenario @paulromano! The refactor of the algorithm is quite nice too. A few questions here but no major concerns from me.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
paulromano
commented
Aug 29, 2026
@pshriwise I've responded to all your comments. Let me know if you think anything needs updating. @jtramm I've incorporated fixes for the issues that we discussed off line. Thanks to both of you for your time reviewing this! |
pshriwise
left a comment
There was a problem hiding this comment.
Looks good to me! Thanks @paulromano!
Uh oh!
There was an error while loading. Please reload this page.
Description
Updates
Mesh.material_volumesto support meshes that extend beyond the model geometry. During ray tracing, regions outside the geometry are simply treated as void material. This enables a user to, for example, use Cartesian meshes to cover geometries with a curved outside boundary (sphere, cylinder). The implementation follows the ray-traced plotting approach for locating model boundaries from undefined space (utilizingadvance_to_boundary_from_void). Tests have been updated, including a comparison against an equivalent geometry with an explicit enclosing void cell.Checklist