File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/gh/diffCheck/diffCheck Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2424 source : src/gh/components
2525 target : build
2626
27- - uses : actions/upload-artifact@v2
27+ - uses : actions/upload-artifact@v4
2828 with :
2929 name : ghuser-components
3030 path : build
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
11+ import System .Drawing
12+
1113from typing import Any
1214
1315from diffCheck import diffcheck_bindings # type: ignore
@@ -73,7 +75,7 @@ def cvt_dfcloud_2_rhcloud(df_cloud):
7375
7476 df_cloud_points = [rg .Point3d (pt [0 ], pt [1 ], pt [2 ]) for pt in df_cloud_points ]
7577 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 ]
78+ df_cloud_colors = [System . Drawing . Color . FromArgb (c [0 ], c [1 ], c [2 ]) for c in df_cloud_colors ]
7779
7880 rh_cloud = rg .PointCloud ()
7981
You can’t perform that action at this time.
0 commit comments