Fragment Patch Problem

Hello everyone,

I’m encountering an unexpected issue with the Fragment Patch component and would appreciate any suggestions!

I’m trying to project a grid onto a topographical surface and generate a “tile” for each grid cell. These tiles are used to visualize data, so maintaining visual consistency and simplicity is important. Previously, Fragment Patch worked perfectly for this purpose:

1st Example.gh (14.5 KB)

However, after incorporating an actual topography, the script no longer functions as expected. Fragment Patch now generates triangles instead of preserving the original grid structure, even though all inputs remain the same.

2nd Example.gh (5.5 MB)

I’ve tried multiple approaches to resolve this but haven’t had any success so far. Does anyone have insights into why this might be happening or how to fix it? Any help would be greatly appreciated!

I don’t know why. Have you considered QRMesh (Quad Remesh) ?

Hi Joseph, thank you for your suggestion!

Unfortunately, that approach won’t work in this case, as I need to maintain the specific data structure provided by the rectangular grid. This is essential for correctly applying ASC data to each tile later.

I’ve attached an example to clarify:

3rd Example.gh (5.5 MB)

I haven’t looked at your 3rd example but how about this?


2nd Example_2025Jan31a.gh (5.6 MB)

This uses SubSrf (Isotrim) with sFace (Shrink Faces), an old but of C# code:

private void RunScript(Brep B, ref object sB)
  {
    B.Faces.ShrinkFaces();
    sB = B;
  }

P.S. Looking now at your 3rd example (poor choice for a filename :bangbang:), I see that it reads a file you didn’t post:
C:\Users\Vartotojas\OneDrive\Year 4\#9 QGIS\1st Test\Saves\Final Test\Bog Class V5.asc

If it can be useful.
1st Example a.gh (20.7 KB)

If you posted the GH code, maybe, but otherwise no. :-1:

Ok, Joseph.

So you think I’m the only person who finds your posts without GH code (when code was posted) completely useless :question:

I’ve grown tired of these games you play, goodbye.

To be fair I think I have never used that component in the last 10 years… but I feel like the following should both produce a valid result?


Fragment Patch Example.gh (9.7 KB)

I would expect the red component to output something like the following, but I don’t really know what I’m talking about

I’ll use the forbidden words: " @wim "