Skip to content

Commit

Permalink
changed info to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
obucklin committed Jan 25, 2024
1 parent 6142c33 commit 5064920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compas_timber/ghpython/components/CT_Assembly/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]
Expand Down

0 comments on commit 5064920

Please sign in to comment.