mcneel / compute.rhino3d.appserver Goto Github PK
View Code? Open in Web Editor NEWA node.js server for solving Grasshopper definitions on Rhino Compute
A node.js server for solving Grasshopper definitions on Rhino Compute
Workshop video now available at https://vimeo.com/442079095
Probably want to also include slides from workshop at
https://docs.google.com/presentation/d/1nCbd87iA_D2ZCwoSirOYK3har6XUJHDUEIkt635btUU/edit?usp=sharing
Simplifies set up! Clone, F5 and go!
Add /solve/{definition} with support for query string inputs for solving
This would let us implement caching headers for browsers as we could return the hash of a definition in an etag
See https://devcenter.heroku.com/articles/increasing-application-performance-with-http-cache-headers
More gracefully catch 500 Internal server errors from Compute Server. Throwing an error results in an UnhandledPromiseRejectionWarning
.
Handle cases for long running solutions.
Are there job queues strategies that do not add another dependency like Redis?
Dear all:
I have a question about exporting step file.
I called the GH file by computing service(https://developer.rhino3d.com/guides/#compute),
but I could not export the STEP format using the LunchBox save Object plugin .
While I can export STEP format using the same plugin by openning grasshopper software.
could you tell me the right way to call GH file by computing service?
I look forward to your reply as soon as possible.
Thank you very much.
Provide an option in our appserver caching to use memcached instead of our current in-memory cache. We would need to include something like the hash of a definition contents in the key so we don't get old cache results from a previous run of the appserver and an old GH definition.
Seems like we could check for a memcached environment variable on Heroku and if it exists use that instead of the in-memory cache.
I have appserver running fine for production. We have a compute server in a virtual machine and we have appserver on a separate web machine.
For locally testing during development I am trying to run appserver locally, while still connecting to our remote compute server so that I do not have to install Rhino on my local machine. So I am doing:
export COMPUTE_URL=some external server
export RHINO_API_TOKEN=…
export RHINO_COMPUTE_KEY=…
npm start
But, this does not seem to work, I keep getting 500 errors from the compute server. Should I expect this type of setup to work? Does the compute server require some sort of publicly accessible callback URL at appserver?
Thanks for any thoughts. Andrew.
Allow for creating a script that can be run which can asks the appserver to solve many different scenarios in order to build up a large set of cached results. The idea is that if we had a definition that took a minute to solve for each iteration we could create a script that ran a large series of parameters and we could have 1,000+ cached solutions after a day of hitting compute. Cached results will take milliseconds to return instead of a minute each. Load balancing out to multiple compute instances would increase this number per day
Hello.
I am trying to explore the use of a web app to solve some simple FEA Grasshopper model but I am having some issue.
The tool required to run an external application (I do it with subprocess
) from which we can read an output file.
Is it possible?
I am getting this error message but I am not able to get any tip.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.