Mesh to surface/ Polysurface to single surface

Hi all,

I am trying to transform a mesh to a surface, in which I try to project the points from mesh to a boundary surface and then rebuild the boundary surface. But I didn’t make it finally. It will be grateful if anyone can check my GH script.

Another way I have tried is to use MeshtoNURB command and then transfer the same mesh to a polysurface. After that, I need to transfer the polysurface to a single surface, but I have no idea how to do this. However, I prefer to do it through GH rather than transfer the mesh to polysurface to surface.

Best regards,
HC

mesh to surface.3dm (7.3 MB) mesh to surface.gh (6.2 KB)

Hi,

Try Pufferfish Mesh to Polysurface component.

Cheers,
BVR

1 Like

It’s a sad truth that rhino does not like grasshopper’s ProjectPoints or MeshRay for these matters - your logic made sense…

The pufferfish route suggested by BVR is valid, though you won’t get to an untrimmed surface, plus an ultra-faceted polysurface is no fun.

If you skip plug-ins (except Kangaroo2 within Rhino) then you can get it to work ‘fast’ via MeshMap:


mesh to surface_rev.gh (18.8 KB)

  • NOTE: You can achieve this without ‘meshmap’, for which you’d need to rely on the ClosestPoint command, which will freeze your machine most likely with these many points…

Best

4 Likes

Hi BVR,

Thanks for the suggestion!

HC

Hi @corellaman

Very impressive!! It seems that I still have a long way to go to familiar with Grasshopper. Thank you so much.

Best,
HC

1 Like

hi @corellaman

When I try to convert another mesh to a surface, something weird happened. It cannot define the edge of the model and come up with (0,0,0).

mesh to surface_rev_test_1.3dm (2.0 MB) mesh to surface_rev_test_1.gh (18.4 KB)

Best regards,
HC

Mesh to multi-faceted polysurface can be very simple but I didn’t bother to post this because the result is not a single surface, as required here.


mesh_brep_2020Aug19a.gh (52.7 KB)

Hi @Joseph_Oster

Thanks Joseph. Is there any method to transform it to the single-surface?

Best,
HC

Yeah. I even know this method (But still I’m learning a lot from you and other members here) to give him a quick solution I suggested Pufferfish component. As per @corellaman reply the method I suggested also have some limitations. But I really love your approach you don’t use any plugins you try to provide all your solutions just with native grasshopper components that’s really fab. Whenever I need to have something without plugins your replies to thread really helps a lot. Keep going. Thanks and Regards.

Love,
BVR

3 Likes

@corellaman has provided a method that looks similar to an approach I’ve used before - intersecting a grid of vertical lines with a mesh and then using SrfGrid. It depends on a rectangular surface.


surface_from_points_Ryan_2019Nov23a.gh (483.7 KB)

It got more complicated when the mesh was double-sided:


2 Likes

Thank you for the kind words.

1 Like

that Rhino messing with 'ya!

loosen up the ‘A’ input and you should be fine:

also swapped the ListItem for a discontinuity component, all that was is getting the ‘corners’ of the hull though was erratic - both corrections in blue rectangles.

mesh to surface_rev_test_2.gh (42.1 KB)

1 Like

Hi @corellaman,

It does work! I have learnt a lot from you and other members. Thanks a lot for teaching me the knowledge of this kind of work.

Warm regards,
HC

1 Like