From 506492025497dac8105c549ba727d0a7a2c588fe Mon Sep 17 00:00:00 2001 From: obucklin Date: Thu, 25 Jan 2024 13:21:11 +0100 Subject: [PATCH] changed info to warning --- src/compas_timber/ghpython/components/CT_Assembly/code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compas_timber/ghpython/components/CT_Assembly/code.py b/src/compas_timber/ghpython/components/CT_Assembly/code.py index 4bc8522c9..4b8b15ff4 100644 --- a/src/compas_timber/ghpython/components/CT_Assembly/code.py +++ b/src/compas_timber/ghpython/components/CT_Assembly/code.py @@ -107,9 +107,7 @@ def RunScript(self, Beams, JointRules, Features, MaxDistance, CreateGeometry): detected_topo, beam_a, beam_b = solver.find_topology(beam_a, beam_b, max_distance=MaxDistance) if not detected_topo == JointTopology.TOPO_UNKNOWN: topologies.append({"detected_topo": detected_topo, "beam_a": beam_a, "beam_b": beam_b}) - Assembly.set_topologies(topologies) - joints = self.get_joints_from_rules(Beams, JointRules, topologies) self._beam_map = {} beams = [b for b in Beams if b is not None] @@ -119,6 +117,8 @@ def RunScript(self, Beams, JointRules, Features, MaxDistance, CreateGeometry): self._beam_map[id(beam)] = c_beam beams = Assembly.beams + joints = self.get_joints_from_rules(beams, JointRules, topologies) + if joints: handled_beams = [] joints = [j for j in joints if j is not None]