Hi,
interested to know how if I can run compas geometry in rhino8beta?
I tried to run a simple Mesh.from_points script in the rhino8 grasshopper script editor and I get an error while importing MeshArtist. (image below: left rhino8 beta right rhino7)
is this because the artist wrapper is for ironpython?
hi,
yes indeed. currently, compas_rhino
and compas_ghpython
only take the IronPython-based script interpreter into account. we are looking into supporting both use cases.
will keep you posted…
1 Like
compas-dev:main
← compas-dev:rhino8
opened 09:57AM - 21 Jan 24 UTC
### What type of change is this?
- [ ] Bug fix in a **backwards-compatible** ma… nner.
- [ ] New feature in a **backwards-compatible** manner.
- [ ] Breaking change: bug fix or new feature that involve incompatible API changes.
- [ ] Other (e.g. doc update, configuration, etc)
### Checklist
_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._
- [ ] I added a line to the `CHANGELOG.md` file in the `Unreleased` section under the most fitting heading (e.g. `Added`, `Changed`, `Removed`).
- [ ] I ran all tests on my computer and it's all green (i.e. `invoke test`).
- [ ] I ran lint on my computer and there are no errors (i.e. `invoke lint`).
- [ ] I added new functions/classes and made them available on a second-level import, e.g. `compas.datastructures.Mesh`.
- [ ] I have added tests that prove my fix is effective or that my feature works.
- [ ] I have added necessary documentation (if appropriate)
should be available by the end of the week…
1 Like
btw, currently the following combinations work smoothly:
R8 ScriptEditor CPython + Scene
R8 ScriptEditor IronPython + Scene
R8 GH IronPython component + Scene
R8 GH CPython component + geometry conversions (using the scene doesn’t work here, yet)
1 Like
yes this works for me as well
how are you able to run it in ScriptEditor without adding the package requirements on top? like below, is there a better way to make rhino import compas?
#r: compas
hi,
the instructions for working in Rhino 8 are available here Working in Rhino 8 — COMPAS
Hello @tomvanmele
After following the instructions to install compas on rhino 8 here , compas grasshopper components are still not showing up. Do I need to
python -m compas_rhino.install
to have the grasshopper components in rhino 8?