Extract the outer surface from a cylindrical mesh

Hi,

I was attempting to extract the outer surface from this mesh but couldn’t find a perfect way to. I’ve tried:

  • Drape: it doesn’t collect the shape of the other side since this is a cylindrical shape.
  • Shrinkwrap: it results in a mesh (I’m looking for a surface) and doesn’t copy the hole detail on the mesh.
  • Manually: turned the mesh to NURBS and manually revomed the extra faces when I was very desperate, but it end up in many small surfaces instead of a intact one. (I need this ONE surface to do diamond panels later).

Does anyone know if there’s a perfect way to do it? I would really appreciate it!

Sincerely,

S.

Maybe you can use Quadremesh and check convert to subd than convert subd to nurbs

Hi Seg!

Would you please provide the component that might be used in this process? I do not really know what Quadremesh or SubD components are…

Thank you!

In Rhino convert the mesh to subd with : _QuadRemesh

Than convert the result subd to nurbs with: _ToNurbs

Than you can create sections and create the surface if your shape is not complex.

Hi Seg!

thank you for the clarification, I tried the method. Everything looks awesome at SubD phase, but then


it ended up with a group of polysurfaces that are extending to another side…

Is there any other way that I could “peel” off the face from the model?

best,

S.

As i suggested before , try to create section or draw curves and project them on the polysurface than use loft for example to create a surface
Try and use any tool can help you with your shape

You can create a line from every mesh face centroid to a vertical axis and check for collisions.

If you post a file, we can try if it works with your geometry

1 Like

brace-mcneel.3dm (743.5 KB)

Thank you Martin for the reply! here’re the files. In this file lays the model after topology. But if you need the file one step earlier (the surface- extrude-topology) I can provide it in the following thread.

Thank you again for answering my question!

You have a good day,

S.

It doesn’t work correctly on your thin object.

Not sure how you created this object but it might be easier a few steps earlier …

mesh_sift_outside.gh (436.3 KB)

Hi Martin!

I’ll try this method as well by myself. But here are the file that is one step earlier. brace-mcneel-topology.3dm (1.8 MB)
brace-topology part.gh (14.4 KB)

Thank you again for answering my question,

Best regards,

S.

with a similar approach, it looks pretty well with closed meshes.

211001_mesh_sift_outside_ev.gh (434.5 KB)

2 Likes

You can use Mesh2Surface and extract curves from the result than create the surface

srf from mesh.gh (342.3 KB)

1 Like

Thank you a lot Erick!

This problem has cost me 2 weeks to figure out, and now thank you, it’s solved! However, the result is in mesh, i was looking for something like a full surface.

Best,

S.

Thank you Seg!

I found this mesh2Surface tool really handy, for anyone who’d deal with this kinds of problem a lot, purchasing a license in this software is definitely worthy!

Best,

S.

Hi Eric,

Do you happen to know a method that can turn this surface mesh into an intact surface?

Best,

S.

Hi @sekimataki,

Here is a single nurbs surface created by a different approach. However, I created this without the holes to save time; I don’t know how important they are, or whether they are all deliberate, but I felt that it would be easier to get regular shapes by trimming a complete surface. Similarly, you didn’t specify how close a fit between the surface and the mesh you need, so this is a compromise between a simple, easily reshaped surface and one that is harder to modify but repeats some of the mesh irregularity.

I chose to sample 36 sectional curves around the tube, then trim these using the curve maxima and minima to remove the inner parts. I blended the curves where the holes intervened, then rebuilt them to a consistent point count of 15 before lofting them to create the surface.

I used grasshopper to create the sample curves and the maxima and minima points, but the rest was done in Rhino.

brace-mcneel-topology 001.3dm (2.3 MB)
MeshIntoSurfaceHelper.gh (9.5 KB)

HTH
Jeremy

1 Like

Scaling is a better idea for some reason :+1:

Hi Martin,

Because the inner and outer meshes are not aligned, and because the rays are diverging, I think it is possible for an outer surface to be missed by all the rays extended from inner surfaces, the untouched ones account for the gaps in your result.

By shrinking the lines and culling any faces with no intersections, as @ErickVasquez did, you may instead end up with unwanted inner surfaces, but because the rays are converging that is less likely; in any event such floating surfaces will be less problematic.

Regards
Jeremy

2 Likes

Thank you a lot Jeremy! This is what I’m looking for.

However, would you be happy to show how did you do this in each step? When I open the file, I see the sectional curves, min and max points, but not exactly what you show in this picture (though you baked this geometry and left it in the file attached)

It would be great if you could explain the steps in between the grasshopper part and the final part. …Could you?

Thank you!

S.

Here goes:

  1. I dragged the mesh to be centred approximately on the origin, and rotated it so the tube was vertical, to make it easier to work radially.

  2. I used grasshopper to generate 36 vertical planes around the z axis and create intersection curves with the mesh. Grasshopper also generates the highest and lowest points (maxima and minima) on each curve. I baked the curves and maxima and minima into three new layers.

Note: If the ultimate surface diverges too much from the mesh you can come back to this stage and increase the number of planes.

  1. I copied the intersection curves to a new layer ready to trim away the unwanted inner parts (keeping the original set is a useful precaution against later mistakes!).

  2. I selected all the maxima and minima to be the cutting objects for the trims and removed each of the inner parts of the intersections.

  1. Next I removed evidence of the holes. I did this because if the holes are supposed to be regular I felt it would be better to boolean out precise cylinders later - as the mesh surfaces are large in relation to the holes they don’t represent them well. Where curves were interrupted by holes I split each of them with the point where they turned inward and deleted the ends, then used blend curve and join to fill the gaps. There’s a degree of trial and error about this.

  1. Once I was happy with the joined curves, I rebuilt them all into a new layer. I used a point count of 15 and degree 4.

  1. Finally, I created a closed loft of the rebuilt curves.

You will want to compare the generated surface with the original mesh. If not sufficiently close you can tweak the rebuilt curves’ control points, use MoveUVN on the surface, go back and increase the number of planes, either uniformly or by adding planes strategically, and/or increase the number of points in the curves.

HTH
Jeremy

1 Like