Hello! i am trying to upload a scan 3d mesh into the stream but i encounter some troubles:
First i tried to upload the mesh (1gb) but returned error: ‘T0: One or more errors occurred. A task was cancelled’ → Probably a timeout
Then I converted it to a pointcloud (vertex 3d mesh and colors) with the component ‘Pointcloud (SSO)’ but the component returns this error: ‘Cannot convert Objects.Geometry.Point to System.Double’. → Needs to deconstruct the point.
How can i add colors? the standard swatch doesn’t work
Maximum size reach: One or more errors occurred. ‘Object too large (size 33407382, max size 25000000). Consider using detached/chunked properties’ → Could be increased? How can i detached/chunked properties?
Ok, looks like i am missing the texture image. I get this error while opening the model. But this also means that you only have a single material for the whole mesh. Which is one reason why it doesn’t return vertex colors. I don’t know much about this specific case. Maybe @AlanRynne or some other rhino expert can help.
you are completely right, i updated the folder with the png image
I’m so sorry for the issue
I’m trying to figure it out, but I’m not sure what format the color input needs to receive. At the moment I only have a sparse point cloud with no color in the stream.
the point cloud is created from the vertices of the mesh.
I uploaded the 3dm, an xyz point cloud of the mesh and the gh file.
I load the ghdata (mesh) and initialize the workflow but the color doesn’t work
Thank you
the input asks for color, what format does it have to have? → could you give some examples
I mean, the color info is extracted correctly (list of int-rgb-values), it’s just a problem of format
Ok so the thing is, the Pointcloud that you can access from the Speckle Schema Node component is quite hidden because it’s not the most straightforward thing to setup.
I’ve attached a demo file for you to check out but, but in essence:
Points is not a list of point (counter intuitively) but a flat list of numbers representing the coordinates of said points in order: [x1,y1,z1,x2,y2,z2,...]
Colors are supposed to be unsigned ints, which grasshopper supports natively by just shoving the colors in an int param.