Skip to content

Commit a1d5266

Browse files
committed
FIX minor cosmetic changes
1 parent bc42fe2 commit a1d5266

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

src/gh/components/DF_cloud_difference/code.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55

66
from ghpythonlib.componentbase import executingcomponent as component
77

8+
89
class DFCloudDifference(component):
910
def __init__(self):
1011
super(DFCloudDifference, self).__init__()
12+
1113
def RunScript(self,
1214
i_cloud_A: Rhino.Geometry.PointCloud,
1315
i_cloud_B: Rhino.Geometry.PointCloud,

src/gh/components/DF_cloud_intersect/code.py renamed to src/gh/components/DF_cloud_intersection/code.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55

66
from ghpythonlib.componentbase import executingcomponent as component
77

8-
class DFCloudIntersect(component):
8+
9+
class DFCloudIntersection(component):
910
def __init__(self):
10-
super(DFCloudIntersect, self).__init__()
11+
super(DFCloudIntersection, self).__init__()
12+
1113
def RunScript(self,
1214
i_cloud_A: Rhino.Geometry.PointCloud,
1315
i_cloud_B: Rhino.Geometry.PointCloud,
File renamed without changes.

src/gh/components/DF_cloud_intersect/metadata.json renamed to src/gh/components/DF_cloud_intersection/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "DFIntersectCloud",
3-
"nickname": "Intersect",
2+
"name": "DFCloudIntersection",
3+
"nickname": "Intersection",
44
"category": "diffCheck",
55
"subcategory": "Cloud",
66
"description": "Intersects points from two point clouds based on a distance threshold.",

src/gh/components/DF_cloud_split/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def RunScript(self,
2828
o_pts_in = df_cvt.cvt_dfcloud_2_rhcloud(df_cloud)
2929

3030
else:
31-
pts_in = []
31+
pts_in = []
3232
pts_out = []
3333
for pc_item in i_cloud:
3434
point = Rhino.Geometry.Point3d(pc_item.X, pc_item.Y, pc_item.Z)

src/gh/components/DF_cloud_union/code.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
TOL = Rhino.RhinoDoc.ActiveDoc.ModelAbsoluteTolerance
1313

14-
class DFMergeAssemblies(component):
14+
15+
class DFCloudUnion(component):
1516
def RunScript(self,
1617
i_clouds: System.Collections.Generic.List[Rhino.Geometry.PointCloud]):
1718
if i_clouds is None or len(i_clouds) == 0:

0 commit comments

Comments
 (0)