specklesystems / speckle-sharp

.NET SDK, Schema and Connectors: Revit, Rhino, Grasshopper, Dynamo, ETABS, AutoCAD, Civil3D & more.
https://speckle.systems
Apache License 2.0
380 stars 173 forks source link

Bug: Error casting Speckle Pointcloud to Native type in Grasshopper/Rhino8 #3646

Open pfmephisto opened 1 month ago

pfmephisto commented 1 month ago

Prerequisites

What package are you referring to?

This is related to the Grasshopper connector in Rhino8

Describe the bug

The issue occurs when trying to cast a Speckle Pointcloud to a native Rhino/Grasshopper Point Cloud using the Grasshopper Connector.

To Reproduce

Create a point cloud in Grasshopper. Then, cast it to a Speckle base object and attempt to convert it back into a native Rhino/Grasshopper Point Cloud.

Expected behavior

The resulting object should be a native Rhino/ Grasshopper Point Cloud.

Screenshots

image

System Info

Desktop (please complete the following information):

Failure Logs

1. Failed to set value for Pointcloud.points
    Object of type 'System.Collections.Generic.List`1[System.Object]' cannot be converted to type 'System.Collections.Generic.List`1[System.Double]'.
linear[bot] commented 1 month ago

CNX-689 Bug: Error casting Speckle Pointcloud to Native type in Grasshopper/Rhino8