diff --git a/src/py/mat3ra/made/tools/build/utils.py b/src/py/mat3ra/made/tools/build/utils.py index c57c9df6..6c2639d4 100644 --- a/src/py/mat3ra/made/tools/build/utils.py +++ b/src/py/mat3ra/made/tools/build/utils.py @@ -174,5 +174,7 @@ def stack_two_materials_xy( phase_2_material = expand_lattice_vectors(phase_2_material, gap) phase_2_material = translate_by_vector(phase_2_material, [gap / 2, 0, 0], use_cartesian_coordinates=True) - interface = merge_materials([phase_1_material, phase_2_material], distance_tolerance=distance_tolerance) + interface = merge_materials( + [phase_1_material, phase_2_material], distance_tolerance=distance_tolerance, merge_dangerously=True + ) return interface