mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 13:06:53 +00:00
See #6208. Change wall merge tolerance for more consistent behavior.
This commit is contained in:
@@ -1127,7 +1127,7 @@ class DumbWallJoiner:
|
|||||||
p3 = (matrix1i @ matrix2 @ np.concatenate((p3, (0, 1))))[:2]
|
p3 = (matrix1i @ matrix2 @ np.concatenate((p3, (0, 1))))[:2]
|
||||||
p4 = (matrix1i @ matrix2 @ np.concatenate((p4, (0, 1))))[:2]
|
p4 = (matrix1i @ matrix2 @ np.concatenate((p4, (0, 1))))[:2]
|
||||||
|
|
||||||
if not np.isclose(p1[1], p4[1]) or not np.isclose(p3[1], p4[1]):
|
if not np.isclose(p1[1], p4[1], atol=1e-02) or not np.isclose(p3[1], p4[1], atol=1e-02):
|
||||||
return
|
return
|
||||||
|
|
||||||
x_ordinates = tuple(co[0] for co in (p1, p2, p3, p4))
|
x_ordinates = tuple(co[0] for co in (p1, p2, p3, p4))
|
||||||
|
|||||||
Reference in New Issue
Block a user