TRmesh / TRfem _ Empty hot / cold vertices parameter

Hello Mathias,

I recently watched your Rhino Webinar and I must say, I’m extemely impressed by the potential of this tool! It’s truly an amazing plug-in!

However, I’ve encountered some difficulties while working with the example files you provided. For example: When I`m attempting to create a mesh from the basic brick and generating the referenced outside and inside surfaces, I encounter an issue. As you can see in the pictures referencing the outside and inside faces seem to work in the first moment, but after selecting “bake mesh to doc for TRfem” in my Rhino viewport, a simple black mesh appears instead of the colorful one demonstrated in the webinar. Furthermore, when I reference the mesh in Grasshopper, the hot and cold vertices parameter appears empty and the defenition cant give me results.

I’ve attempted to troubleshoot the problem by reinstalling the plug-in, but unfortunately, I’m encountering the same issue.

Could you please advise if I’m overlooking something or if there’s a specific step I should follow to resolve this issue?

Thank you in advance for your assistance.


Thanks a lot for using TRmesh/TRfem, @Victoria_Roz !
Here is a short answer, for now. What TRmesh bakes into the document has significantly changed since the webinar. The format is now much more compact, because the tet mesh is encoded as an actual Rhino mesh (the black one you are seeing), unlike before - like in the webinar - where the Rhino mesh was just that of the surface, and the actual tets were encoded in the mesh metadata. Now, all the tets are encoded as a real Rhino mesh. I’ll add more information on how to use the new mesh representation the next few days.
I had to change the way a tet mesh is encoded because the new format is much faster, and the mesh can now be moved around as we are used to, with the gumball, and even be transformed (1d scales, shears etc).

Sorry for the delay, @Victoria_Roz !
I just updated TRmesh and TRfem. Please update both (through PackageManager, unless you downloaded them directly for some reason), and then have a look at this example file. This should answer your question how to make the “black” TRmesh work with TRfem. Please let me know how it went, thanks!
trfemex11.gh (326.1 KB)

A short how-to:
https://youtu.be/-lZykbD_G44

Thank you so much Mathias for taking the time to address my issue. Please don’t worry about the late reply. I will try it in the following week and let you know how it went. Thanks again!!

If you can import the tet mesh from Rhino, but the hot/cold vertices are not quite right, you can also set them like this: