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

[BUG] - error PlaneParams object has no attribute dim1 #154

Closed shimwell closed 1 month ago

shimwell commented 1 month ago

Describe the bug

PlaneParams object has no attribute dim1 and this is accessed when the Tolerances.relativeTol is set to True

Screenshot 2024-05-14 104623

To Reproduce

Steps to reproduce the behavior: for example: make a model where the is_same_plane method gets called and set Tolerances.relativeTol to True

Expected behavior

the code should not access no existence attributes and should not crash

Please complete the following information):

psauvan commented 1 month ago

here the correct attributes of PlaneParams class are dimL1 and dimL2