We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c892eaa commit 9f57cd8Copy full SHA for 9f57cd8
src/gh/components/DF_CAD_segmentator/code.py
@@ -71,9 +71,9 @@ def RunScript(self,
71
72
o_beam_clouds = [df_cvt_bindings.cvt_dfcloud_2_rhcloud(cluster) for cluster in df_clusters]
73
74
- for o_beam_cloud in o_beam_clouds:
+ for i, o_beam_cloud in enumerate(o_beam_clouds):
75
if not o_beam_cloud.IsValid:
76
- o_beam_cloud = None
+ o_beam_clouds[i] = None
77
ghenv.Component.AddRuntimeMessage(RML.Warning, "Some beams could not be segmented and were replaced by 'None'") # noqa: F821
78
79
o_face_clouds = th.list_to_tree(o_face_clusters)
0 commit comments