SolidWorks surfacing tutorial
When surfacing is the right tool
SolidWorks surfacing is how you model a shape that extrudes, revolves, and fillets cannot describe on their own: a crowned top, a soft rolled edge, a face that changes curvature as it travels. You build the faces one at a time as zero-thickness surface bodies, check how they meet, and then knit them into a closed solid that behaves like any other part.
Surfacing is not always the answer. Before you open the Surfaces tab, ask two questions:
- Can a solid Loft or a large variable fillet give the same shape? If so, use it. Fewer bodies means fewer things to repair.
- Does the shape need control in two directions at once, or a smooth joint between faces built from different curves? That is where surfaces earn their place.
This lesson assumes you can already sketch, dimension, and extrude. If not, work through the SolidWorks tutorial for beginners first, then come back.
Project: a pillowed soap bar
One project carries the whole page: a bar of soap, 90 by 60 mm in plan with 15 mm corner radii, a straight 10 mm side band, and a top and bottom that each crown 7 mm above the band. The finished bar is 24 mm tall. It is small, but it has every problem a real consumer form has: a closed outline, a face that must meet a wall smoothly all the way around, and a symmetric half that you should only model once.
The plan of attack:
- Build the side band as an open surface.
- Draw two crown curves that cross at the peak.
- Patch the top with one surface that meets the band tangentially.
- Mirror the top to make the bottom, knit everything, and check the form.
Guide curves and sections
Every surface is only as good as the curves under it, so the first half of the work is sketching.
- Start a new part and set units to MMGS.
- On the Top Plane, draw a Center Rectangle on the origin, 90 by 60 mm, and round the four corners with Sketch Fillet at 15 mm. Check that the sketch reads Fully Defined.
- On the Surfaces tab, choose Extruded Surface, set the end condition to Mid Plane, and type 10 mm. You now have an open band, 5 mm above and 5 mm below the Top Plane. Rename it Band.
- Start a sketch on the Front Plane. Draw a three-point spline from one end of the band to the other, across the 90 mm length. Add a Pierce relation between each end point and the top edge of the band, so the curve lands exactly on it.
- Select each end handle of the spline and add a Vertical relation. The crown now leaves the band in the same direction as the band wall, which is what lets the top roll over smoothly.
- Dimension the middle point 12 mm above the origin. That is the 5 mm half band plus the 7 mm crown.
- Repeat on the Right Plane across the 60 mm width, and give its middle point a Pierce relation to the first spline so the two curves cross at the peak.
Right-click each spline and turn on Show Curvature Combs. The comb should grow and shrink in one smooth wave with no flips. If it wiggles, you have too many spline points or a handle pulled too far.
Loft vs Boundary vs Fill
The top of the bar has to meet a closed loop of band edges: four straight runs and four arcs. Here is how the three main patch tools handle that same loop and those same corners.
| Tool | What it needs | Edge control | On the soap bar top |
|---|---|---|---|
| Lofted Surface | Two or more profiles in sequence, optional guide curves | Start and end constraints on the end profiles; guide curves can add tangency | Awkward: there is one loop, not a series of sections, so the corners need extra profiles |
| Boundary Surface | Curves in Direction 1 and, optionally, Direction 2 | A tangency or curvature condition on each curve | Possible, but the loop must first be split into four sides, adding seams at the corners |
| Filled Surface | A closed boundary of edges, optional constraint curves | Contact, Tangent, or Curvature per edge | Natural fit: pick the whole loop, set Tangent, and use the crown sketches as constraint curves |
Boundary Surface is often the strongest choice when a face has clear curves running in two directions, such as a four-sided panel between two rails and two sections. Loft suits shapes defined by a row of sections, such as a handle or a bottle neck. Filled Surface is the tool for a single opening of any number of sides, which is exactly what the soap bar top is.
Trim, extend, and knit
Patch the top
- Choose Filled Surface. For Patch Boundary, right-click one top edge of the band and pick Select Tangency to collect the whole loop.
- Set Curvature Control to Tangent and check Apply to all edges.
- In Constraint Curves, select the Front Plane and Right Plane crown sketches.
- Accept. Rename the result Top.
Make the bottom and close the body
- Choose Mirror, pick the Top Plane as the mirror plane, and select the Top surface under Bodies to Mirror.
- Choose Knit Surface, select Band, Top, and the mirrored bottom, and check Create solid. If the three faces close a volume, the body moves from the Surface Bodies folder to the Solid Bodies folder.
On this part nothing needs trimming, because the band stops exactly at the patch edges. On other forms you will often build a surface too large on purpose and cut it back with Trim Surface, or grow a short face with Extend Surface so that two surfaces fully cross before you trim them.
Common knit failures
- A gap wider than the knit tolerance. Open the gap control in Knit Surface to see where it is, then rebuild the curve that misses its edge instead of raising the tolerance.
- Overlapping faces. Knit needs faces that meet edge to edge. Trim the overlap first.
- A tiny sliver face left over from a trim. Delete it and patch the hole with a Filled Surface.
- Surfaces still listed under Surface Bodies. The knit worked but the volume is not closed; look for one open edge.
Check the form
Do not trust a shaded view. Turn on Zebra Stripes from View, Display, and rotate the bar so the stripes cross the joint between the band and the top.
- Stripes that break and jump at the edge mean the faces only touch.
- Stripes that line up but bend sharply mean the faces are tangent.
- Stripes that flow across the edge without a kink mean curvature continuity.
Tangent is fine for a soap bar. For a glossy product where reflections matter, set the Filled Surface edges to Curvature and compare the stripes again. Then turn on Curvature from the same menu for a color map of the whole face, and run Draft Analysis from the Evaluate tab if the part will ever come out of a mold. The straight band has no draft, so a tooled version would need a degree or two of taper on the wall.
Tips and common mistakes
- Starting with the surface instead of the curves. Fix a lumpy curve before you build anything on it.
- Too many spline points. Three or four points per crown curve are usually enough.
- Modeling both halves. Build one side, then mirror it.
- Raising the knit tolerance to hide a gap. The gap will show up again in the print or the render.
- Skipping analysis. Zebra stripes take seconds and catch problems that a shaded view hides.
Next steps
You built an open band, sketched two crown curves, patched the top with a tangent Filled Surface, mirrored it, knitted a solid, and read the joint with zebra stripes. That is the core surfacing loop in SolidWorks: curves, patches, knit, check.
The same thinking works in any program. Rhino Basics week 04 explains curve degree, curvature graphs, and primary and secondary surfaces, and Tip O' the Horn 001 on display modes as analysis shows the Rhino side of zebra and curvature checks. For a harder closed body with fillets and a three-way corner, see Rhino iPhone, part 2. A guide to exporting a printable STL from SolidWorks is being written for this hub. Until then, go back to the SolidWorks tutorials hub or browse the full CAD tutorial library.