Please excuse my ignorance but where is that menu found in MocOS+ Rhino 7.3 ?
Hi @boatkinson - this is in Grasshopper under the Mesh>Triangulation Tab.
There is also a non-grasshopper rhino version in the works, but not out yet.
Hi @DanielPiker
Thanks for this great tool!
I am looking for a remesher with point inclusion and it seems that TriRemesh can do that.
I need to remesh a series of cutted tube and it would be great if I could predefined some point along the edge and costraint the mesh to pass by this point.
I have tried to use the trick to insert a line in those location but it didn’t work.
I am now using meshBrep from karamba3d and it is doing the job but I would prefer to use your tool because the mesh is more regular.
Best,
pipeCut_Triremesh_rhino7.gh (44.1 KB)
Hi @alpaca4d
Here’s a way to do this now
remesh_border_divide.gh (18.8 KB)
Currently TriRemesh preserves features, but if you want to insert a vertex that doesn’t already exist in the mesh you need to do this before the remeshing (in future versions the aim is to also allow inputs for features to be inserted on the component itself). See also this reply further up the thread.
The script there gives a way to insert internal vertices, but it might need some adjustment to work for inserting boundary vertices.
Often simpler though is to split the surface where you want the features then rejoin it, which gives you vertices along the split which can be preserved during the remeshing.
Hi @DanielPiker
Thank you for one more amazing component.
I would like to ask you do you know why in this example multipipe can’t be generated from the triangulated mesh, but it’s possible to do the same thing from the Dual Mesh output (Ngons)?
Best regardsMultipipe with TriRemesh_Triangulation issue.gh (19.6 KB)
This is a bug with MultiPipe, not related to the TriRemesh output specifically.
I’ve found the issue (it’s a tolerance thing for certain types of vertices with coplanar neighbours) and think I can get a fix into a release soon, but in the meantime here’s a way to work around it by adding a very tiny amount of noise to the vertex positions.
Multipipe_tolerance_workaround.gh (26.3 KB)
edit - the above MultiPipe bug is now fixed since the latest SRC (7.5.21068)
Hi @DanielPiker
Thank you for your prompt reply! I really appreciate your help.
The solution you provided works great.
Best regards
This is really cool @DanielPiker! Nice work.
Hi all!
This is a super interesting tool. Unfortunately, I had a problem trying to install Triremesh tool: when I dropped the files into the component folder, I replaced some Kangaroo2 files. And now I don’t have access to kangaroo2 Toolbar in gh.
How can I get back the kangaroo tool bar? Any suggestions please?
Thanks so much in advance!
I bad the same issue. I had to re-install Kangaroo and restart my computer and it all came back.
Ok! This sounds like a plan. Should I download it from food4rhino? What version would be the best? Thanks for your hand, Gustavo!
I don’t recall exactly what I did. But I think I went to options>plug-ins and I uninstallled from there and then I used package manager to install it again? Or maybe it reinstall itself again by itself? I can’t recall. Maybe Rhino team can help here.
G
I believe everything is included with Rhino.
Hey @DanielPiker ,
I was wondering if there is currently any possibility to call the TriRemesh functionality from inside a GH C# component? I can access it via python node-in-code but having real trouble “finding” it in C#
I got as far as finding out that it is actually a Kangaroo2Component.KmeshMachine.TriRemesh object. But currently no idea how to “call” it from there… Could you help me out? Insights would be greatly appreciated.
Hi Max,
Sorry it is currently not structured in a way that exposes methods suitable for calling from other scripts, but the plan is to make it so in a future version.
Okay, thank you Daniel for the insight. Really looking forward to access this via scripting - would be a game changer for me!
Go through this namespace:
https://developer.rhino3d.com/api/RhinoCommon/html/N_Rhino_NodeInCode.htm
Edit: Here’s Giulio’s old tutorial covering this:
- is it possible to preserve hard edges to have hard edges no matter what?
- is it possible to get inside offset with that command which prevents self-intersections. I’m not asking about the second command but rather the option in that current command. I mean to get hollowing of complicated meshes for 3d printing (offset current mesh inside with remeshing with preventing self-intersections)? F.e. Houdini remesh has that isosurface offset which works over volume (not pushing polygons inside what will fail during hollowing more complicated meshes). In the same way works hollowing in MeshMixer. Its volume remeshing with pushing volume inside prevents self-intersections during hollowing. When you have remeshed item with inside offset f.e. 3mm then you may cut smaller mesh from bigger mesh to have hollowed item. It`s far superior from pushing polygons inside what will fail during more complicated geometries.
So best meshes hollowing in all 3d softwares are connected with pushing volume inside and remeshing (as one command/tool). I use MeshMixer for that but I would prefer do it in Rhino. When you create that cutter then you can manually cut smaller mesh from bigger mesh with doing some holes for removing material from inside of 3d print (to get proper hollowing in 3d print).
If there is no such an option in that command I ask you about adding it in future.
…And here’s Anders to the rescue one more time
Thanks a LOT for digging this up, have tried to find something like this but had no luck. Thank you so much!
Hi @DanielPiker
I had a problem with the features input.
triremesh.gh (15.2 KB)


