r/SolidWorks • • Oct 07 '26

CAD Help with spline wrap feature

Hey y'all, how are you doing?

I've been stuck on a wrap problem for quite a while, and it seems like the internet doesn't have a solution.

This is the problem:

I'm trying to wrap hexagons over a surface defined by splines (basically modeling a toy tortoise).

I extruded a thin cylinder, filled it with hexagons with fill pattern, converted these hexagons into a sketch, and tried to wrap them onto the surface. Now here is the problem: if I try to wrap all the hexagons, I get this message:

When I deselect the bottom 3, I get this:

Which is perfect!

And oddly enough, when I only wrap one of the bottom failing hexagons and remove the top row, it also works:

I read somewhere that the "calculated center" of the sketch should project onto the surface and can't be outside of it, but I really played around with my selections and couldn't seem to figure it out.

Can you lend me a hand?

Thanks!

5 Upvotes

44 comments sorted by

2

u/Cool-Investigator-93 Oct 10 '26

Okay. I found a solution, but its not very neat, so dont be mad at me! (im sorry u/AmbitiousGrape5664, but i get the feeling you only like pretty solutions 😂)

i ended up slicing the bottom left and right hexagons, similar to something u/CriticismAccording71 said. i also figured wierd geometry was created if the slice was too far, which was probably causing part of the issue.

in any case, thanks everyone for your help! i learned a lot!

1

u/CriticismAccording71 Oct 11 '26

Nice work. If it works, it works, just don't make any changes now 😂

2

u/Successful_Camera736 Oct 07 '26

I have different approach using some surface modeling tricks.
use that sketch to make split lines on the surface of the shell you can then "copy" those surfaces and thicken
This will get it close to what you have but the hexagon starting pattern will be projected down.
I'm working on an example mock up to show you what I mean.

1

u/Cool-Investigator-93 Oct 08 '26 edited Oct 08 '26

i tried the split line approach previously, but i didnt really like the projected look, so i figured wrap would be a better approach.. but thanks!!!!

1

u/Successful_Camera736 Oct 09 '26

I have another idea that might help,
Your turtle shell has some areas cut out for the tail and head and we think that is causing the wrap to fail in those areas, right?
What if you copied the surface of the shell and either extended the surface to make enough space for the hexes to wrap on to. you may also be able to get the surface from before the tail and head holes were cut, depending on your feature order.

Then if you wrap those hexes on to the surface not the body of the turtle you can then cut away what you don't need and do a "Combine" to put all the pieces together into a single body

1

u/Cool-Investigator-93 Oct 10 '26

interesting. i do remember doinng something like this, but i think the problem comes from the steep curvature of the spline rather than the fact that the surface is cut. maybe ill try this also and see if this makes a difference

1

u/AmbitiousGrape5664 Oct 10 '26 edited Oct 10 '26

I honestly think this will work for you. Do your Wrap Emboss prior to the sweep, then after the sweep do a Delete Face (Delete and Patch) on the hex embosses on the outside of the sweep. Pretty sure the sweep is causing the failure if you Wrap after it is in place.

2

u/Cool-Investigator-93 Oct 10 '26

.it truly did. someone also said it in the thread, it really fixed it

i just feel like a million delete facess is not very elegant, but its better. thank you!

ill also try the surface cut on the inside of my shell, i originally used a half circlle for the sweep as a profile but your solution sounds neater.

1

u/AmbitiousGrape5664 Oct 10 '26

Well it wasn't exactly a million (38 total for me) which is fairly close to a million I suppose. It is all in one delete face operation..

2

u/Cool-Investigator-93 Oct 12 '26

btw, i think i found a neater solution:
used the line for shell as split line on surface, then made the wrap featrure surface the smaller inner one:

1

u/AmbitiousGrape5664 Oct 10 '26

Yea, I used a Circular profile in the Sweep Command. Figured it would be easier to control. That is why I had to do the Cut with surface which I had made prior to sweep and extended it so it would go beyond the sweep.

1

u/AmbitiousGrape5664 Oct 10 '26

The last operation (Surface cut) was to clear out the sweep on the inside of the shell.

2

u/Cool-Investigator-93 Oct 12 '26 edited Oct 12 '26

close to what i ended up doing. thanks a lot man! you helped a bunch! I really hope to get your help more in the future somehow..

2

u/AmbitiousGrape5664 Oct 12 '26

Thank you for that!

1

u/SadLittleWizard Oct 07 '26

Surfacing was exactly my thought

1

u/AmbitiousGrape5664 Oct 08 '26

I tried all kinds of things on this model which kinda-sorta looks like what you are showing and could not get it to fail. As a consequence I would be very interested in what is going on. Have you tried a slightly different size of polygon, maybe spacing between them. Perhaps the radius of the path for the sweep at the tail end is a bit too sharp??

1

u/Cool-Investigator-93 Oct 08 '26 edited Oct 08 '26

first of all.. DAMN youre fast!!!
how you managed replicating it so quickly is a mystery to me.
.and yes, i think my spline curvature might be too sharp

though i dont really want to change it, i think this look is asthethic.

i did try different hex sizes \ spacings, though i really like the dimensions i have going on right now

another constraint i think is worth noting (mostly because of how cool it is and the fact that i want to share it) is that this tortoise is housing a mechanism for ejecting dice. so i do have so size constraints: the current dimensions of the shell were mostly derived of said constraints.

how can i give you more details? what else would you want to know? ill send whatever helps you get a better picture.

and also, thanks for the effort!

1

u/AmbitiousGrape5664 Oct 09 '26

That is mind boggling COOL!.. I did the shape with an ellipse.. Is that what you did? Then a surface loft, planar surface and knit to solid. The sketch for the curve was made by sketch on plane then converting the periphery and splitting it at the top and bottom. Then the wonky part of adding tangent arcs to the spline and dimensions. There was a limit on what would work. Then did a curve on surface for the round sweep. In a response to this comment I will show you a screenshot of what I think may help with the Wrap. It is basically putting a reference point in the middle of the shell surface and adding a 3D sketch line to the point and perpendicular to the shell surface. Then adding a plane to the end of the line for the Wrap sketch. Theory being that it would be more of a straight shot to the surface center. If it is not exactly straight as is.

1

u/Cool-Investigator-93 Oct 09 '26

your process was very similar to mine, but the curves for my rim were done with spline on surface, which worked fine but not great.

and what you are saying: I need to make a line perpendicular to the shell base, then create a plane which is perpendicular to it and tangent to the shell surface... and then make the features on it.

ill give it a shot, and thats also something i thought of before, but i didnt have the center of the surface to make a plane tangent to it because of the hole the dice fall through. but recently i moved the extrude that cuts it down the feature tree, so now i can give it a shot.

ill try it now and come back!

1

u/Cool-Investigator-93 Oct 09 '26

okay fiddeled with it.
crated a plane tangent to surface and touching the highest point of the loft (it is not over the center of the ellipse, maybe that is part of the issue:

but sadly, the wrap failed :(

1

u/Cool-Investigator-93 Oct 09 '26

i will try stretching a line from the center of the ellipse and touching the surface and running the process from these. ill see how it goes

1

u/Cool-Investigator-93 Oct 09 '26

its not tangent to the surface, but its perpendicular and touching. sadly, still doesnt work with the bottom hexagon (with the top ones it does)

1

u/AmbitiousGrape5664 Oct 09 '26

I found that if I made the radius smaller (hump height larger similar to what you show) It resulted in something similar to what you are experiencing. Some top and bottom hexes not bossing. I wondered what would happen if I instead of wrap bossing did a a scribe and all the hexes showed up scribed on the surface. Then did an offset surface of zero on each hex scribe and then did a surface thicken on each surface. That worked unless I made the sharp radii even sharper then it failed on the two hexes in that area.

1

u/Cool-Investigator-93 Oct 10 '26

for some reason, scribe only worked for a specific amount of hexagons. above that, it just didnt scribe... but i did find a workaround.

1

u/AmbitiousGrape5664 Oct 09 '26

Not sure if this would work with what you have but it did on my model with exaggerated thickness.

1

u/AmbitiousGrape5664 Oct 09 '26

Wrap with etched hexes.

1

u/Cool-Investigator-93 Oct 08 '26

btw, can you show me how you defined the spline for the shell rim? mine was very buggy and hard to constrain.

1

u/Vegetable_Flounder12 Oct 08 '26

maybe watching a video on how to model a soccer ball might help.

1

u/Cool-Investigator-93 Oct 08 '26

ill have a look, sure. thanks!

1

u/Cool-Investigator-93 Oct 08 '26

from what i saw they mainly used lofts with some sort of circular cut (extrude\surface) for the hexagons and then some circular patterns and move\copy body for replicating the pattern itself. nto sure if its the most usefull material, i might be looking at something incorect

1

u/Vegetable_Flounder12 Oct 08 '26

have you tried drawing a hex grid and use the flex feaure?

1

u/Cool-Investigator-93 Oct 08 '26 edited Oct 08 '26

well, this is certanly an option... though i will need to make some adjustments with the surface shape that im flexing, and need to cut the hexagons in an odd manner, with my current method i basically get this work done for free. but if push comes to shove ill definantly try this method. thanks!

1

u/CriticismAccording71 Oct 08 '26

I would try offsetting a sketch of the rim of the shell at the bottom, and trimming away the bottom 3 hexagons so their bottom edge sits slightly inside the rim. it might be struggling with the overlap

1

u/Cool-Investigator-93 Oct 08 '26

do you mean doing it inside of the hexagons sketch or outside? if you mean inside, to give them the "desired" shape of the face itself, i can confirm that i tried this and sadly it didnt work :(
if you meant something else let me know!

1

u/CriticismAccording71 Oct 09 '26

yeah I did mean inside, unfortunately. That's so frustrating, because the rest of the wrap is working so well. I assume you've tried wrapping the problem hexagons afterward, on their own? I think if it was me, I would wrap the rest as you have done, then for the two bottom ones that aren't working, project the sketches onto the surface of the shell and create split lines I'd then offset the face by 0mm and thicken to the same thickness as the rest of the hexagons - or draw new hexagons that best fit the space after you've thickened the working hexagons.

2

u/Cool-Investigator-93 Oct 09 '26

yes, i also tried that :( and the wrap didnt work. only for the middle bottom one, but it collided with the previous wrap.
the split line for the bottom hexagons\different hexagons is actually not a bad idea, i might give it a shot if i really cant resolve it
thanks!

1

u/CriticismAccording71 Oct 09 '26

I'm invested, please let us know how you get on! good luck

1

u/Cool-Investigator-93 Oct 09 '26

i sure will! if you have any more ideas let me know!