File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/gh/diffCheck/diffCheck Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 44 Rhino, the basic diffCheck data structures and the diffCheck bindings.
55"""
66
7- import Rhino
87import Rhino .Geometry as rg
98import scriptcontext as sc
109
10+ import System .Drawing
11+
1112from typing import Any
1213
1314from diffCheck import diffcheck_bindings # type: ignore
@@ -73,7 +74,7 @@ def cvt_dfcloud_2_rhcloud(df_cloud):
7374
7475 df_cloud_points = [rg .Point3d (pt [0 ], pt [1 ], pt [2 ]) for pt in df_cloud_points ]
7576 df_cloud_normals = [rg .Vector3d (n [0 ], n [1 ], n [2 ]) for n in df_cloud_normals ]
76- df_cloud_colors = [Rhino . Geometry . Vector3d (c [0 ], c [1 ], c [2 ]) for c in df_cloud_colors ]
77+ df_cloud_colors = [System . Drawing . Color . FromArgb (c [0 ], c [1 ], c [2 ]) for c in df_cloud_colors ]
7778
7879 rh_cloud = rg .PointCloud ()
7980
You can’t perform that action at this time.
0 commit comments