Check that a plate is aligned with an axis

这个提交包含在:
nmannall
2025-02-13 10:56:18 +00:00
父节点 b2a5977657
当前提交 ebfdb22725

查看文件

@@ -96,6 +96,7 @@ class Plate(RotatableMixin, GeometryUserObject):
(xs == xf and (ys == yf or zs == zf))
or (ys == yf and (xs == xf or zs == zf))
or (zs == zf and (xs == xf or ys == yf))
or (xs != xf and ys != yf and zs != zf)
):
logger.exception(f"{self.__str__()} the plate is not specified correctly")
raise ValueError