(dim)
| 6 | from . import boolean_unsupported |
| 7 | |
| 8 | def _auto_select_engine(dim): |
| 9 | if dim == 2: |
| 10 | engine = "clipper" |
| 11 | elif dim == 3: |
| 12 | engine = "igl" |
| 13 | else: |
| 14 | raise NotImplementedError("Dimension {} is not supported".format(dim)) |
| 15 | return engine |
| 16 | |
| 17 | def boolean(mesh_1, mesh_2, operation, engine="auto", with_timing=False, |
| 18 | exact_mesh_file=None): |
no test coverage detected