Engineering SHEET: /blog/rhino和yjk终于实现实时联动了还是双向的/ REV: 2026-08-10

Rhino and YJK finally achieve real-time linkage, and it’s bidirectional!

Zhou Wenqi (Venchy) 15 min read

Rhino and YJK finally achieve real-time linkage, and it’s bidirectional!

Official Account: Non-Deconstructive · Author: Zhou Wenqi (Venchy)

I believe that many structural engineers cannot put down their love for Rhino. Its powerful geometric processing capabilities and the numerous algorithm resources brought by its openness, combined with a visual programming platform such as Grasshopper, can greatly improve the work efficiency of our structural engineers.However, there is currently no more convenient integration tool in the workflow of structural engineers.The use of Rhino still has a very high threshold for many structural engineers, and it cannot establish a direct and effective connection with YJK.Many structural engineers can only establish the connection between Rhino and software such as Sap2000 or Etabs through secondary development. For most structural engineers, the application scope of these software is limited, not to mention the finite element analysis plug-in that comes with the Grasshopper platform.This further causes Rhino to become a very niche software in the field of structural design.Front-line structural engineers are unable to take full advantage of Rhino and can only despair.

In order to solve this problem, more structural engineers can make full use of the various resources provided by Rhino and Grasshopper to improve our work efficiency and work quality.Based on YJK-GAMA, we developed a real-time linkage interface between Grasshopper and YJK-GAMA.Through this interface, the data on YJK-GAMA and Grasshopper can be linked in real time in both directions, and YJK can seamlessly call and connect any resources on the Rhino and Grasshopper platforms.

Introduction to the interface between YJK-GAMA and Grasshopper

As shown below is the GH interface of YJK-GAMA, including sending and receiving data.Common basic data types, such as Boolean values, integers, real numbers and other types of data can be transferred through interface cards.Commonly used geometric objects, including straight lines, curves, arcs, circles, planes, etc. also have corresponding cards for data transfer.

The data transfer between YJK-GAMA and Grasshopper is very simple. Take the transfer of floating point numbers from GAMA to Grasshopper as an example. As long as the data to be transferred is prepared on GAMA and connected to the sending data card, Grasshopper will automatically create a battery in the center of the canvas to receive floating point numbers. This battery is the same as the data received in the sending card on the GAMA side.vice versa.Only a very simple interface card is needed to realize data transfer.

YJK calls Grasshopper for form finding

Introduction to Kangaroo: Kangaroo is the built-in physics engine of Grasshopper. Currently, many architects use Kangaroo for shape finding.We can set relevant structural components and boundary conditions through Kangaroo on the Grasshopper platform to achieve the purpose of finding the shape with the highest structural efficiency.Through the YJK-GAMA interface, we can link the Kangaroo form-finding results to achieve real-time update of the structure obtained by form-finding in YJK.

Below, we use this simple case to illustrate how Kangaroo and YJK achieve real-time linkage.According to the previously demonstrated Kangaroo form-finding structure, we can use the send curve card that comes with Rhino to transfer the form-finding structural components to YJK, thereby directly establishing the Kangaroo form-finding model in YJK.

After passing the modeling data to YJK, you can define the corresponding component attributes and other information in YJK-GAMA.After the definition is completed, the finite element analysis model can be established.We can directly control the model in YJK through Grasshopper’s slider.In this way, real-time linkage between the form-finding algorithm on the Grasshopper platform and the YJK model can be achieved.

Through the above simple operations, we have achieved efficient linkage between YJK and Grasshopper.YJK, which seemed to have nothing to do with form-finding in the past, can also easily access richer and more efficient analysis methods with the support of YJK-GAMA.Currently, on the Grasshopper platform, in addition to Kangaroo, there are also a series of shape-finding tools such as 3D Graphic Statics, EMU, etc. You can find different shape-finding tools in Grasshopper according to your needs.

Analysis of YJK model data via Grasshopper

The smooth forward and reverse data transfer between GAMA and Grasshopper can also provide more possibilities for analyzing existing YJK model data.Based on the existing functions of YJK-GAMA, engineers have already produced relevant analysis tools.Data transmission with Grasshopper can provide the possibility for the production of more powerful analysis tools.

By sending YJK data into Grasshopper through GAMA, we can obtain stronger analysis capabilities.As shown in the figure below, we can read the existing YJK model and then transfer the geometric data to Rhino through the interface.After passing the data in YJK to Grasshopper, we can use the analysis tools in Grasshopper to perform statistical analysis on the model and obtain the data we want.In addition, current BIM software such as Archicad have developed plug-ins for real-time linkage with Grasshopper. We can transfer relevant component parameters to Grasshopper through GAMA to achieve model linkage in multiple scenarios.

Summarize

Many users are asking, what are the advantages of YJK-GAMA compared to Grasshopper?From our point of view, the relationship between YJK-GAMA and Grasshopper is not one of me and another, but a complementary relationship.Grasshopper is a very versatile plug-in that integrates Rhino’s powerful geometric processing capabilities and is also very open. It has formed an ecosystem of a certain scale.However, there has not yet been a better expansion for domestic structural design scenarios.YJK-GAMA’s practice of parametric design based on structural design makes up for Grasshopper’s shortcomings in this field.YJK-GAMA can be better integrated into the workflow of structural engineers.The two-way data interaction between YJK-GAMA and Grasshopper can greatly simplify the difficulty of structural engineers using tools such as form finding and optimization algorithms in actual work, allowing structural engineers to have more means to conduct corresponding analyses.At the same time, the simple data interaction logic can help structural engineers simply obtain the data in the model. Based on the model data, more methods can be used to analyze the model.At the same time, you can also use the interface of the Grasshopper platform to interact with more other software.

This function has been launched in YJK-GAMA version 1.2. You are welcome to download and use it.Download link: Yingjianke official website http://www.yjk.cn/article/1098/

Of course, YJK-GAMA has far more functions than these. Join the QQ group and let’s explore the infinite possibilities of YJK-GAMA!We will bring you more surprises in the future, so follow our official account!If you have any questions, you can also contact us directly at “Da Feier”.


This document is automatically collected and organized by AI from non-deconstructed public accounts and is for learning reference only.

#wechat

Original Source: https://mp.weixin.qq.com/s/MMxo4MNkDg2BgtJ52yXxoQ

§

评论

COMMENT / REVIEW REQUIRED

LOADING…