Skip to content

Commit

Permalink
update: use cartesiands
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Sep 13, 2024
1 parent cd41cb3 commit 0ab2f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/mat3ra/made/tools/build/interface/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def _generate(self, configuration: NanoRibbonTwistedInterfaceConfiguration) -> L
top_ribbon = rotate_material(top_ribbon, [0, 0, 1], configuration.twist_angle, wrap=False)

translation_vector = [0, 0, configuration.distance_z]
top_ribbon = translate_by_vector(top_ribbon, translation_vector)
top_ribbon = translate_by_vector(top_ribbon, translation_vector, use_cartesian_coordinates=True)
merged_material = merge_materials([bottom_ribbon, top_ribbon])

return [merged_material]
Expand Down

0 comments on commit 0ab2f1b

Please sign in to comment.