File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
src/gh/components/DF_CAD_segmentator Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -57,26 +57,17 @@ def RunScript(self,
5757 angle_threshold = i_angle_threshold ,
5858 association_threshold = i_association_threshold
5959 )
60+ df_clusters .append (df_asssociated_cluster )
6061
61- # TODO: get rid, this is for debugging
62- # nbr_total_df_clouds_pts = 0
63- # for df_cloud in df_clouds:
64- # nbr_total_df_clouds_pts += df_cloud.get_num_points()
65- # print("Total number of points in all clouds: ", nbr_total_df_clouds_pts)
66-
67- # FIXME: this is returing empty clusters
68- # print(df_asssociated_cluster.has_points())
69- if df_asssociated_cluster .has_points ():
70- df_clusters .append (df_asssociated_cluster )
71-
72- # FIXME: the refiner is crashing the script
7362 dfb_segmentation .DFSegmentation .clean_unassociated_clusters (
7463 unassociated_clusters = df_clouds ,
7564 associated_clusters = df_clusters ,
7665 reference_mesh = df_beams_meshes ,
7766 angle_threshold = i_angle_threshold ,
7867 association_threshold = i_association_threshold
7968 )
69+
70+
8071
8172 o_clusters = [df_cvt_bindings .cvt_dfcloud_2_rhcloud (cluster ) for cluster in df_clusters ]
8273
You can’t perform that action at this time.
0 commit comments