From 521a8183e70b3c1c8e456e24f1a0dd59a20f39c9 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 16 Jan 2025 17:34:23 +0500 Subject: [PATCH] Fix #5953 after d6e6a6d --- .../ifcopenshell/api/geometry/add_railing_representation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/api/geometry/add_railing_representation.py b/src/ifcopenshell-python/ifcopenshell/api/geometry/add_railing_representation.py index adaa56b358..5f81c51fd0 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/geometry/add_railing_representation.py +++ b/src/ifcopenshell-python/ifcopenshell/api/geometry/add_railing_representation.py @@ -358,7 +358,7 @@ class Usecase: # need to add first two points to the path # to create the turning arcs and supports on the last segment of the loop if looped_path: - railing_coords += railing_coords[:2] + railing_coords = np.vstack((railing_coords, railing_coords[:2])) items_3d.extend(create_supports_items(railing_coords, manual_supports=use_manual_supports)) railing_coords = add_arcs_on_turnings_points(railing_coords)