Skip to content

Commit

Permalink
update: merge dangerously for checked materials
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Nov 16, 2024
1 parent 79a4536 commit 9932c24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/py/mat3ra/made/tools/build/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9932c24

Please sign in to comment.