accoring to tutorial i am suppose to use following links for JS implementation, RhinoCompute is on version 0.5 there, but when i download examples
RC is on version 0.9 (Resthopper examples)
is there some newver version for online access ?
script async type=“text/javascript” src=“https://files.mcneel.com/rhino3dm/js/latest/rhino3dm.js ”
script async type=“text/javascript” src=“https://files.mcneel.com/rhino3dm/js/latest/compute.rhino3d.js ”
stevebaer
(Steve Baer)
April 3, 2020, 2:31pm
2
Ca you give me a link to the tutorial you are referring to?
Hi,
i mean this
in this setup:
in “Setting up a Compute Project” is link to rhino compute:
https://files.mcneel.com/rhino3dm/js/latest/compute.rhino3d.js
which is in version:
var RhinoCompute = {
version: “0.5.1”,
While this sample:
https://mcneel.github.io/rhino3dm/javascript/samples/compute/RESTHopper/Extrusions/
uses this build:
var RhinoCompute = {
version: "0.9.0",
url: "https://compute.rhino3d.com/",
authToken: null,
getAuthToken: function(useLocalStorage=true) {
var auth = null;
if( useLocalStorage )
auth = localStorage["compute_auth"];
if (auth == null) {
auth = window.prompt("Rhino Accounts auth token\nVisit https://www.rhino3d.com/compute/login");
if (auth != null && auth.length>20) {
auth = "Bearer " + auth;
localStorage.setItem("compute_auth", auth);
}
}
return auth;
},
This file has been truncated. show original
var RhinoCompute = {
version: “0.9.0”,