A new NURBS-based form-finding script

Hi, this is an advertisement for our new plugin, Godzilla version 10.

https://www.food4rhino.com/en/resource/godzilla-v10?lang=en

This tool allows the user to execute a NURBS-based form-finding of shell structures. In addition to continuum shell form-finding, it provides an option to align stress and curvature directions (either conjugate or principal). This option strongly supports the design of grid shells.

The package also includes a user manual (pdf).

The example definitions are tested with Rhino 7, Grasshopper, Windows 11 Pro. The following two items are required to run the code.

  1. Cuda-enabled Nvidia GPU
  2. Cuda toolkit Library 12.x. (The user must install this library on their own)

I appreciate any feedback.

Regards,

Some images are attached below.





6 Likes

Does the GPU version work in R8?
I unlocked the DLL and added the assembly to the C# component but still got many error messages.
They are in the same folder.

Same in R7
I have 2080Ti, not sure if this is the right GPU.

Did you install cuda toolkit library 12.x?

I think it is very likely you have downloaded an older version. Or you have downloaded an older version before and the C# nodes are referencing older KingOfMonster.dll.

The latest version is v10. This one.

The code works with 2080 MAX-Q here, so should work with your 2080Ti.

But be careful. The CPU (13900) and GPU(4080) usages are generally like this.
image

It would be extremely helpful if anybody could report here whether they managed to run the code or not.
Thanks in advance!

i would try, but i assume it is windows only? had no time to download yet.

it’s windows only. sorry.

ic, but you might want to remove the mac tag then.

i recently installed win 11 on my older intel macbook pro it has a NVIDIA GeForce GT 750M with 2GB of GDDR5 you think that could work? might not be the fastest but i believe it was CUDA capable, if i get to installing rhino there i might try.

oh, didn’t notice it. Thanks for letting me know.

If your GPU is Cuda-capable, the code should run theoretically.
In the script, you can find ‘RefineSrf’. Using this component, you can decrease the number of control points. I recommend at least 4GB VRAM, though.

1 Like

File tested: ALIENSHIP.3dm, ALIENSHIP.gh
OS: Win10, GPU 970

RH7.34

RH8.4

Thanks! It was really helpful.
I have fixed that error and uploaded a new one to Food4Rhino.

Best!

Hi mikity! The results you show are super cool! Could you please share how this is different from just form finding with quad mesh, then converting to NURBS vis SUBD?

I’m also impressed that CUDA is used–would that mean some this form-finding process is parallelized?

Hi, if you use a quad mesh, the topology cannot change, or otherwise, a re-meshing algorithm is needed to change the topology. If you use NURBS, you don’t need to assume the topology of the mesh beforehand. After obtaining a NURSB surface as a solution, you can convert it to a mesh.

And yes, it’s using parallel computing a lot. But the Cuda part is actually not parallel. Because the Cuda toolkit library provides Lapack-ish APIs to solve linear equations, I’m simply using it to accelerate the numerical solution part.

1 Like

Thanks a lot for your detailed reply! I learnt new things!

One disadvantage of mesh-to-nurbs is the loss of continuity due to topology. Perhaps your tool can help avoid that.

I have fixed that error and uploaded a new one to Food4Rhino.

It’s still v.10 on Food4Rhino.

I didn’t change the version number as the change is minor.
Did the code run on your machine?