Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8531

Compute.rhino3d.appserver partially empty output when using THREE.JS STL loader

$
0
0

Hello, I am currently trying to use VUE: upload STL -> THREEJS Loader -> rhino3dm -> compute.rhino3d.appserver -> compute.rhino3dm -> THREEJS Loader

My problem is, many rhino3dm meshes lead to empty outputs from the compute.rhino3d.appserver, even though the inputs work when imported in Rhino and used with the same grasshopper document in the GUI.
What could be the problem?

It works with the moon , with the simple cube, but does not with the large cube with many triangles. The TREE.JS example file seen in the lower mid doesn’t work either.

2020-11-16 14_35_22-Window

How can I find out what’s the reason for this behaviour?
There is the MeshFace.IsValid method, but I don’t know if it would help in my case. How can I determine if the rhino3dm mesh is valid or broken?

Has someone here encountered similar errors? I think using THREE.JS to load the STLs is part of the problem, as I haven’t found similar errors about on the forum.

data.zip (115.5 KB)

Attachments in the zip:

  • STL files
  • rhino3dm meshes of malfunctioning large cube and the working smaller cube as JSON

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 8531

Trending Articles