Tricky modeling situation

Here’s a part that Stan, a friend of mine from near Buffalo, NY sent to me to ask why it doesn’t seem to do the right thing. This represents a type of problem that SW users run into frequently. How do you effectively dome or cap off flat ends of parts? I wind up doing a fair amount of this type of tech support for people. Resellers get paid for it, and I do the work. Of course Stan sends some nice modeling work my way, so I gladly help him when I can.

The problem is that from the top view (on the bottom) the part looks like it has 3 way symmetry, but when you create a feature like a Fill with a point at the center axis as the constraint sketch, you assume it should create a symmetrical “dome”, but as you can see in the side view (on the top), it doesn’t. The peak of the dome is slightly toward one of the lobes of the triangle.

Why does it work that way? How do you force it to do what you want it to do?

This looks a lot like another proprietary job I did for a company a couple of years ago. You’d laugh to hear how simple it sounded, but the geometry was almost impossible to get right. It was literally a block. A four sided architectural block. The only trick was that one face of the block had to have a dome on it, and the dome had to come down into the sharp corners gracefully. I must have gone through a dozen attempts, each with a slightly different set of features. In the end I was embarassed to have my ass kicked by a block, but I handed in the best result I could get, and it wasn’t perfect.

Anyway, back to the three sided problem. If you use the Face Curves

 

tool on the face of the part, you get this:

The Fill surface is trying to put a 4 sided patch over the 3 sided shape, and it does a nice job, but this is the reason why the result is symmetrical left and right, but not front and back. You can’t get a 4 sided patch to do 3 way symmetry.

The other option is to do something more spherical. But a sphere has a singlularity, a degeneracy, a place where all the uv curves come to a point:

This is the result of creating several of the sections (like the blue lines above), and lofting them together. You could also get this result by lofting from the triangular perimeter to a single point. This type of modeling usually creates some sort of artifact around the degeneracy, like little ripples, divots, or whatever that are most easily seen with either realview reflections or zebra stripes. You have to pivot the part around and watch the reflections change to really see the problem, kind of like a small dent in a car door.

So, we’ve got two methods here, neither of which really does a great job. In this case the best solution turns out to be a combination of these two inadequate methods. The first method (Fill) is great at getting rid of degeneracies, but not so good at symmetry. A loft might be good at symmetry, but sometimes stinks at resolving degeneracies. So, we use the loft or boundary for the part where we need symmetry, and the fill for avoiding the degeneracy.

This is what makes surfacing “difficult”. You have to select construction methods carefully based on their strengths.

I’m always wondering if there is an analytical way to do this rather than the hit-or-miss squint-one-eye method. Well, I think there are some rules you can follow while squinting one eye, but no, SolidWorks does not allow sufficient control over splines to make this a completely analytical exercise, but there are some tools you can use to help you along.

Here is the combination method I used to make a fairly clean 3 sided dome:

 

  1. draw a 2 point spline that goes from the trianglular perimeter to the apex sketch point. use pierce at the perimeter and coincident at the point.
  2. apply horizontal relation to the handle at the end of the spline at the apex.
  3. apply vertical relation to the handle at the end of the spline at the perimeter.
  4. show the Curvature Comb for the spline.
  5. adjust the length of the handle at the perimeter until the entire curvature comb is on the same side of the spline (no inflection points). examine the end at the point to make sure curvature comb is smooth and all on the top.
  6. apply a Curvature Control (looks like a foreshortened radius arrow) at the end of the spline near the center of the triangle, and give it a definite value in the property manager. make sure that the curvature comb is still in tact.
  7. exit the sketch and make an Axis from the intersection of two planes at the center of the triangle.
  8. make a new plane 60 degrees from the old one through the axis.
  9. copy the first spline sketch to the new plane.
  10. reattach the pierce relation and the coincident relation.
  11. make sure the curvature comb still looks good. make sure the curvature control icon is still there. you should have this:
  12. exit the sketch and start a new Boundary surface feature.
  13. select each sketch as profiles in direction1.
  14. set the tangent type for both sketches to Normal To Profile.
  15. activate direction2 box then RMB and activate the SelectionManager. Select the edges between the two profiles – they are too long, but that is ok. click the green check for the SelectionMgr when done.
  16. click the Trim By Dir 1 option – this should make the surface correct
  17. click the green check to accept the result
  18. Mirror the body about the first plane you sketched on
  19. use the axis created earlier to pattern the two bodies 3x around the part
  20. if you examine the part at this point, you can see that there are some “artifacts” like ribs that point to the corners of the triangle. it is best to look at this in shaded without edges.
  21. draw a circle in the middle of the triangle and trim out the center of all of the patterned wedges.
  22. create a Fill feature that selects all the edges created by the circular trim, and selects the sketch point that already exists in the part file as the Constraint Sketch. make sure the tangency is set to Curvature for all edges. Also check the Merge Result option.
The files used for this example are found at this link. (1.2 mb)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.