GEOUNED-org / GEOUNED

A tool to convert CAD to CSG & CSG to CAD for Monte Carlo transport codes
European Union Public License 1.2
45 stars 27 forks source link

Adding export csg method #150

Closed shimwell closed 1 month ago

shimwell commented 1 month ago

This PR adds an export_csg method. Moving the cadtocsg class attributes that are not needed until the end of the process into the export_csg method

This allows users to redo the quick writing to csg file without redoing the computationally intense conversion of the cad

The usage section of the docs have been updated The tests have been updated

shimwell commented 1 month ago

This PR is ready for review when people have time