Skip to content

Commit 8484987

Browse files
FIX: comment-out if __name__ ...
1 parent 039d6d0 commit 8484987

File tree

1 file changed

+9
-9
lines changed
  • src/gh/components/DF_CAD_segmentator

1 file changed

+9
-9
lines changed

src/gh/components/DF_CAD_segmentator/code.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def RunScript(self,
3838
o_clusters = []
3939
# the df cloud clusters
4040
df_clusters = []
41-
# we make a deepcopy of the input clouds because
41+
# we make a deepcopy of the input clouds
4242
df_clouds = [df_cvt_bindings.cvt_rhcloud_2_dfcloud(cloud.Duplicate()) for cloud in i_clouds]
4343

4444
df_beams = i_assembly.beams
@@ -73,11 +73,11 @@ def RunScript(self,
7373

7474
return o_clusters, rh_beams_meshes
7575

76-
if __name__ == "__main__":
77-
com = DFCADSegmentator()
78-
o_clusters, rh_beams_meshes = com.RunScript(
79-
i_clouds,
80-
i_assembly,
81-
i_angle_threshold,
82-
i_association_threshold
83-
)
76+
# if __name__ == "__main__":
77+
# com = DFCADSegmentator()
78+
# o_clusters, rh_beams_meshes = com.RunScript(
79+
# i_clouds,
80+
# i_assembly,
81+
# i_angle_threshold,
82+
# i_association_threshold
83+
# )

0 commit comments

Comments
 (0)