Texture on a curved surface

Hello,

I am trying to create a pattern on a curved surface and having some issues.

I created a step file in solidworks and brough that into rhino-grasshopper to add texture / patterns to some of the surfaces.

I used the deconstruct Brep and list item to get the surfaces I want.

I am able to apply the pattern to flat surfaces but am missing something when the surfaces are curved.

I am attaching the GH and rhino file here.

Thanks!

base_body_shaver.3dm (5.1 MB)

base_body_gh.gh (136.7 KB)

Hi ,
First , your surfaces are acting weird and they can’t get joined in rhino , they are Trimmed surfaces and they can’t join properly , Im not sure what is causing this but I guess there is something in your exported file from Solidworks :

Second , I just made a surface near your shape using Ruled Surface component , and used Sporphcomponent to reach the result:


Sporph_01.gh (28.9 KB)

That is not easy as you think

I didn’t seem to encounter this issue—when you extract the candidate surfaces they join fine. However, the hex pattern cannot be applied as a single surface unless you make one (as you did). Otherwise, a remesh/triremesh/dual mesh combo might be needed—or a ‘hex grid on brep’ plug-in if there is one. I guess the pattern would be less ‘uniform’ at that point, or more ‘organic’ looking even if kept symmetrical.


‘hex grid on brep’ plug-in:
I thought Laurent’s nautilus plug-in had something like that.

Hello Rene,

Thanks for this, could you kindly share the gh file if its possible, I would like to follow your steps.

Sure thing,
brep-to-dual.gh (38.8 KB)
just keep in mind this is only creating the mesh dual (polylines) from a quad-mesh of your brep—which is different from an actual hex pattern on a single surface. As @Quan_Li warns, the latter would have to be more involved or at the very least involve some kind of intersection workaround. What’s your end goal?

Hello Rene,

Thank you for sharing the file.

My goal is to create a workflow where I can model things in solidworks and then bring them into grasshopper to add some texture to surfaces. I am just very comfortable with solidworks.

I guess I need to work on improving my rhino skills and just model things inside rhino to have better control.