openmsr / CAD_to_OpenMC

code to target the conversion from a step-file to a h5m-geometry for neutronics
MIT License
27 stars 18 forks source link

Possible fix for #16 #44

Closed ebknudsen closed 1 year ago

ebknudsen commented 1 year ago

A reversal of the loop after merge. In this version we now use the set if unmerged solids/volumes as primary - and check which of the merged solids is most similar. This will avoid the creation of extra objects which happens at times from the underlying OCCT algorithm.

This required writing a new "similarity"-routine that computes a distance factor between 2 occt-solids.