Comments (6)
What does you python script look like?
from compute.rhino3d.appserver.
Hi Steve!
Thanks for jumping in.
I am posting here the Grasshopper script in case you want to have a better look and try your self.
I am going to do a bit of debugging my self deleleting some component until I do understand where the issue is happening.
It requires to download Alpaca4d tool (which I have attached to this thread). Remember to unblock the file and to install the tool inside a Folder called "Alpaca4d".
I have tried to summarise what the tool is trying to do in the picture below.
I hope it makes sense.
from compute.rhino3d.appserver.
The error seems to happen in the "assemble" component.
The latest output that I can get without any error is when I remove that part.
You can look inside the code of the assemble if you want.
I have converted the output of the other component to a string and convert in mesh to visualise that the others component return an output.
from compute.rhino3d.appserver.
Hi @sbaer @pearswj
Sorry if I am going to make a silly question but I am trying to understand why the script is failing.
Is rhino.compute able to use ALL the rhinoCommon function?
for example:
Can I use "import ghpythonlib.components as ghcomp"?
Can I use Rhino.Geometry.RTree ?
from compute.rhino3d.appserver.
You can use most of RhinoCommon and ghpythonlib. The area you should stay away from are RhinoDoc and it's views. There is typically no RhinoDoc when running headless
from compute.rhino3d.appserver.
thanks @sbaer !!!
The RhinoDoc makes me wonder where it could be the issue and it is finally working!!!!!
The issue was in rhinoscriptsintax. I was using rs.DocumentPath() to find the working folder but I have solved it using os.getcwd()
I am so glad we have managed to solve it! We can finally run some FEA on the web.
from compute.rhino3d.appserver.
Related Issues (14)
- Support GET request for solving HOT 1
- Use memcached on Heroku HOT 3
- Implement cache warming scripts
- Update readme to include workshop video
- investigate etag header values
- Handle cases when caching is not desired
- Catch server errors
- add job queue
- Test appserver locally against a remote compute server HOT 2
- Run npm i (or npm ci?) as part of vscode launch configuration
- srf_kman clustering. Different output from what I see in Rhino HOT 1
- A question about exporting step file
- Link to "Developing with Rhino Compute" in documentation doesn't work anymore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compute.rhino3d.appserver.