This past few months we have rolled out some projects that allow Rhino/Grasshopper geometry and our geometry engine to be accessed from almost anywhere.
Here is a presentation by Steve Baer presenting how our technologies can be used to create web applications. The first 20 minutes is the overview and the rest is a workshop digging into the code.
Rhino3DM.js - JavaScript library to access and manipulate geometry independent of Rhino. There is also a 3DMLoader included with Three.js which can be tested in the Three.js Editor
Rhino Compute Appserver - an Application manager between client apps and cloud services including private compute.rhino3d servers.
Hello! This is amazing, thanks for making it so publicly available.
Iām trying to get it running locally and when running compute as a debug build in Visual Studio Iām running into the error:
āThe debug executable āC:\Usersā¦\compute.geometry.exeā specified in the ācompute.geometryā debug profile does not exist.ā
Iām not a developer (engineer who uses Grasshopper a lot), but Iām trying to get this running for a proof-of-concept project. Iām not sure if this is an issue on my end with Visual Studio or if something is out of date, etc., so I figured Iād post here to see if itās a known hiccup. Iām running Visual Studio 2019 (professional) on a fresh install and the compute files are downloaded/unzipped into the directory.
If anyone can please point me in the right direction to troubleshoot this that would be much appreciated. Thank you in advance!
Hi,
I tried to put into place this framework (local debug, no deployment yet) and I have issues getting a view of the geometry in the web app. I am testing the spiky ball example.
The 3D model does not appear. When I change the parameters, the geometry seems to be loading with the new inputs but nothing is rendered in the web app.
If anyone could help, that would be nice.
Hugues
Hello, I donāt know if you still have the issue but I went threw today.
Solution is that you have to āBuildā the project in the first place (Right click on compute.geometry, if no working āRe-buildā ā¦ then some issues can appearās to help you understand why it doesānt have automatically build).
So we would like to have a web app that has some inputs when user plays around with it, data will be sent to a small Grasshopper script with our customized component. This component will create some simple geometry and show it back onto the web app. Then when the user is happy they can save input values into a JSON file in their own PC.
If you could please point me in the right direction on how to create the web app it would be greatly appreciated! I can code in C# and Python (from the background of mechatronic engineering) and have been creating customized Grasshopper component for the last few years but have zero experience on creating a web app (including aws, node.jsā¦). I think we would need a different Rhino license as well?
Thank you.
Hi donāt know if this is still relevant for you but youāre looking at the compute repo. You also want to use the webapp repo that can be found here (js based)