I have a problem with join rules in grasshopper… The box turn red without connections and says : 1. Solution exception:cannot import XLapJoint from compas_timber.connections.
Maybe i don’t understand how to make a proper instal of COMPAS TIMBER ?
Could you please provide some more information about your environment? Which version of Rhino is this? which version of the COMPAS Timber plugin? Windows/Mac? Did you install the plugin via the Rhino Plugin Manager?
Thanks!
Chen
Hi,
I have been trying to use compas_timber with Rhino 7, but I keep getting the same error:
1. Solution exception: No module named compas_timber.connections
It seems that the issue might be related to the version of compas_timber installed. The version I currently have is v1.0.1, which could be too old, as the connections module appears to have been added in a later version (≥1.1.0).
Even trying to install from main or develop on GitHub does not solve the problem, because those branches might not yet contain the new module. It seems that until a newer release is available, the module connections might simply not exist in the public repository.
Environment details:
-
Rhino version: Rhino 7
-
COMPAS Timber plugin version: 1.0.1
-
Operating system: Windows 11 (64-bit)
-
Installation method: Installed via
pipin a Conda environment (timber_dev), Rhino Plugin Manager
If anyone has successfully used compas_timber.connections with Rhino 7, it would be helpful to know:
-
Which version or commit includes this module.
-
Whether there is a beta or development wheel/package available.
-
Any workaround for using
connectionswith v1.0.1.
Hi Julien,
We’ve decided to drop support for Rhino7 due to the somewhat complicated installation procedure required for python dependencies and also the resources we’d need to dedicate into maintaining two parallel versions of each component. As a result, we’ve stopped updating the Rhino7 components since a couple of releases ago and they will be altogether removed in the coming major release.
Are you interested in using the GH plugin or use the library directly, coding components yourself? Are you able use Rhino8 instead?
There might be a way to get COMPAS Timber running on Rhino7 but that would require an old version of the plugin and library (0.16.1 or potentially old) and it would require following the old installation procedure of the library into rhino7 which is described here.
Please let me know if there’s anything else I can help you with.
Chen
Hi Chen,
Thanks for your detailed explanation — it’s very helpful.
Here’s my current situation and the issues I’m encountering:
-
I created a fresh Conda environment with Python 3.9 in order to use your recommended old-version setup under Rhino 7.
-
I attempted to install COMPAS 0.16.1 and COMPAS Timber 0.16.1, but the installation fails due to the dependency
planarity, which requires Microsoft Visual C++ 14.0 and cannot find a suitable pre-compiled binary for Windows + Python 3.9. -
Thus I’m currently unable to get a fully working setup for COMPAS 0.16.1 + Timber 0.16.1 under Rhino 7. It seems the older dependencies have become hard to install on modern Windows.
Regarding your questions:
-
I’m more interested in using the Grasshopper plugin (GH plugin) rather than fully coding components myself, because I’m still beginning in programming and are getting familiar with how COMPAS works.
-
As for upgrading to Rhino 8, I was holding off because I believe there may be a new major version of Rhino in the works (perhaps Rhino 9?), so I was waiting to ensure which version would be most future-proof.
Would you happen to know if there is a specific environment setup (Python version + pre-compiled packages) that still works with Rhino 7 and the older Timber versions?
If that is not feasible, then I would consider upgrading to Rhino 8 (or waiting for the next version), but I want to make sure I choose the most stable path.
Thanks very much for your assistance,
Julien
