Angle of the line connecting components

Sorry if this topic has already been discussed, but I couldn’t find anything similar on the forum.
Is it possible to make the connection between components keep the bend angle constant? I tried to show this in images and compare this behavior in the Blender node system: no matter how far or close the right component is, the bend of the connection (one might say the radius) always remains constant, unlike Grasshopper, where the greater the distance between the components, the stronger the bend of the connection.


1 Like

It is possible to override the entire wire behaviour. E.g. I made them straight on condition or create unique colours based on its pivot location.

I did not publish the source code in the forum because it requires an aggressive in-memory patch of Grasshopper. If you don’t know what you are doing, you basically can trigger bug reports for a software version which differs to what the developers have.

Also whenever Grasshopper updates, it can potentially cause havoc. This is maintenance nightmare for plugin developers.

Technically you can replace certain C# class members during runtime. You’ll need to replace(=patch) the pointer for the method which is responsible for rendering the wires and point to a custom version of it instead. And you need to do it at the right time.

1 Like

I don’t know much about programming, but thanks for answering! It would be nice if the developers made such a setting.

@MrDixioner

Check out Wires Renderer for options on the wire layout in GH:

https://www.food4rhino.com/en/app/wiresrenderer

Cheers

DK

I would be careful with this package. You can see in the sources that its using 3rd party code (“Harmony”) for applying the patch. But given that this person provides precompiled .gha without the 3rd party code, it means the .dll’s are embedded in the gha. The csproj file does not explain this. That alone should raise a concern. You install a plugin from China with capability of patching Rhino or any other NET application during Runtime. Other than that, since its patching GH code, you find decompiled and modified code of GH on Github with an MIT license. If that’s not a violation I don’t know… Prost