Skip to main content

How to Create a Mold in SOLIDWORKS (Cavity & Split)

Want to learn how to create a mold in SOLIDWORKS? In this step-by-step tutorial, I’ll show you how to create a two-part mold for a plastic Coke bottle using the Cavity and Split features.

We’ll start by creating a solid mold block, insert a 3D bottle model into an assembly, and use the Cavity feature to subtract the bottle shape from the block. Finally, we’ll split the mold into two separate parts.

This is a great exercise for learning assembly modeling, mates, in-context features, and basic mold design techniques in SOLIDWORKS.

Download the SOLIDWORKS Coke bottle model to follow along.

How to Make a Mold in SOLIDWORKS

We’ll create the bottle mold in four main stages:

  1. Create a rectangular mold block.
  2. Insert the mold block and bottle into an assembly.
  3. Use the Cavity feature to subtract the bottle from the block.
  4. Split the resulting mold into two separate bodies.

For this tutorial, we’ll use a mold block measuring 100 × 250 × 100 mm.

Note: This tutorial demonstrates the basic geometry of a two-part mold. A production-ready injection mold also requires considerations such as parting surfaces, draft angles, shrinkage, venting, and ejection.

Step 1: Open the SOLIDWORKS Bottle Model

Start by opening the supplied Coke bottle model.

Go to File > Open and select Bottle.SLDPRT.

SOLIDWORKS 3D model of a plastic Coke bottle used for mold design

We’ll use this bottle as the reference component for creating the mold cavity.

Step 2: Create a New SOLIDWORKS Part

Next, we’ll create the solid block that will become the mold.

Go to File > New > Part Create a new SOLIDWORKS part.

Set the document units to millimeters.

Step 3: Create a Sketch on the Front Plane

Select the Front Plane in the FeatureManager design tree.

Click the Sketch icon SOLIDWORKS Sketch icon to create a new 2D sketch.

SOLIDWORKS rotates the view so that you’re looking directly at the Front Plane.

Create a sketch on the Front Plane for the mold block

Step 4: Draw a Center Rectangle

Go to Tools > Sketch Entities > Center Rectangle or click the Center Rectangle icon SOLIDWORKS Center Rectangle icon.

Click the Origin SOLIDWORKS Origin icon to position the center of the rectangle.

Use Smart Dimension SOLIDWORKS Smart Dimension icon to set the rectangle dimensions to:

  • Width: 100 mm
  • Height: 250 mm

Create a 100 by 250 mm center rectangle for the SOLIDWORKS mold block

Step 5: Extrude the Mold Block

Go to Insert > Boss/Base > Extrude or click the Extruded Boss/Base icon SOLIDWORKS Extruded Boss/Base icon.

In the Boss-Extrude PropertyManager:

  1. Set Direction 1 to Mid Plane SOLIDWORKS extrusion direction control.
  2. Set the extrusion depth to 100 mm SOLIDWORKS extrusion depth field.

Using Mid Plane extrudes the block equally in both directions from the sketch plane.

Click OK SOLIDWORKS OK button to create the solid.

Create a 100 mm Mid Plane extrusion for the SOLIDWORKS mold block

Step 6: Save the Mold Block

Save the new part as Mold_Block.SLDPRT.

Go to File > Save or click the Save icon SOLIDWORKS Save icon.

Finished rectangular mold block in SOLIDWORKS

We now have the solid block that will be used to create the bottle-shaped cavity.

Step 7: Create a New SOLIDWORKS Assembly

Go to File > New > Assembly or click the Assembly icon SOLIDWORKS Assembly icon.

If necessary, make the three default assembly planes visible using the Show/Hide controls SOLIDWORKS Show/Hide icon.

Step 8: Insert the Mold Block into the Assembly

Go to Insert > Component > Existing Part/Assembly SOLIDWORKS Insert Component icon.

Click Browse SOLIDWORKS Browse button and select Mold_Block.SLDPRT.

Insert the mold block at the assembly origin.

When inserted as the first component at the origin, the mold block is fixed in position by default.

Insert the mold block as the first component in the SOLIDWORKS assembly

Step 9: Insert the Coke Bottle

Go to Insert > Component > Existing Part/Assembly SOLIDWORKS Insert Component icon.

Click Browse SOLIDWORKS Browse button and select Bottle.SLDPRT.

Place the bottle next to the mold block, as shown in the image.

Insert the Coke bottle model next to the mold block in a SOLIDWORKS assembly

Next, we’ll position the bottle inside the mold block using assembly mates.

Step 10: Show the Reference Planes

Go to View > Hide/Show > Planes or use the Planes visibility icon SOLIDWORKS Show/Hide Planes icon.

If the planes are still hidden, expand the components in the FeatureManager design tree and show their individual reference planes.

Display reference planes for positioning the bottle and mold block

Step 11: Create a Coincident Mate Between the Front Planes

Go to Insert > Mate SOLIDWORKS Mate icon.

Select the Coincident mate option SOLIDWORKS Coincident Mate icon.

Select:

  • The Front Plane of Mold_Block.
  • The Front Plane of Bottle.

Click OK SOLIDWORKS OK button to apply the mate.

Create a Coincident Mate between the Front Planes of the mold block and bottle

Step 12: Create a Coincident Mate Between the Top Plane and Bottle Midplane

Go to Insert > Mate SOLIDWORKS Mate icon.

Choose the Coincident mate option SOLIDWORKS Coincident Mate icon.

Select:

  • The Top Plane of Mold_Block.
  • The MIDPLANE of Bottle.

Click OK SOLIDWORKS OK button.

Align the bottle midplane with the mold block Top Plane

Step 13: Create a Coincident Mate Between the Right Planes

Go to Insert > Mate SOLIDWORKS Mate icon.

Select the Coincident mate option SOLIDWORKS Coincident Mate icon.

Select:

  • The Right Plane of Mold_Block.
  • The Right Plane of Bottle.

Click OK SOLIDWORKS OK button.

Fully position the bottle inside the SOLIDWORKS mold block using three mates

The bottle is now positioned relative to the mold block using three reference-plane mates.

Step 14: Check the Position Using Section View

Before subtracting the bottle geometry, verify that the bottle is correctly positioned inside the mold block.

Go to View > Display > Section View or click the Section View icon SOLIDWORKS Section View icon.

Use Section View to inspect the overlap between the bottle and the solid block.

Section View showing the Coke bottle positioned inside the mold block

The bottle geometry must intersect the mold block correctly for the Cavity feature to remove the intended volume.

Step 15: Edit the Mold Block Inside the Assembly

Now we’ll subtract the bottle shape from the mold block.

Select Mold_Block in the assembly and click the Edit Part icon SOLIDWORKS Edit Part icon.

If the assembly hasn’t been saved yet, SOLIDWORKS may display the following message:

“The assembly must be saved to perform this command.”

Click Save and Continue to save the assembly.

SOLIDWORKS Save and Continue dialog before creating an in-context feature

You’re now editing the mold block in the context of the assembly, allowing you to reference the bottle geometry directly.

Step 16: Create the Bottle Cavity

Go to Insert > Features > Cavity or click the Cavity icon SOLIDWORKS Cavity feature icon.

In the Cavity PropertyManager, select the Bottle component from the FeatureManager design tree as the design component.

The Cavity feature uses the selected component geometry to remove the corresponding volume from the mold block.

SOLIDWORKS Cavity feature subtracting the bottle geometry from the mold block

Click OK SOLIDWORKS OK button to create the cavity.

Exit Edit Part mode by clicking the Edit Part button Exit Edit Part mode in a SOLIDWORKS assembly.

Important: The Cavity feature subtracts the selected bottle geometry from the mold block. It doesn’t automatically create a parting line, parting surfaces, or two separate mold halves. We’ll create those halves in the next steps.

Step 17: Create a Sketch for Splitting the Mold

Next, we’ll divide the mold into two parts.

Open Mold_Block.SLDPRT for editing, including the cavity feature created in the assembly.

Select the Right Plane in the FeatureManager design tree and start a new sketch using the Sketch icon SOLIDWORKS Sketch icon.

Use the Line tool SOLIDWORKS Line icon to draw the vertical split line shown in the image.

Click Exit Sketch SOLIDWORKS Exit Sketch icon to finish the sketch.

Create a vertical sketch line to divide the bottle mold into two parts

Step 18: Split the Mold into Two Bodies

Go to Insert > Features > Split or click the Split icon SOLIDWORKS Split feature icon.

Select Sketch2 as the Trim Tool.

Click Cut Part SOLIDWORKS Split Cut Part icon to calculate the resulting bodies.

In the Resulting Bodies section, select both resulting parts and assign meaningful names.

Click OK SOLIDWORKS OK button to finish the Split feature.

SOLIDWORKS Split feature creating two separate bottle mold halves

You’ve now divided the mold geometry into two separate bodies, which can be saved as individual part files.

The Finished SOLIDWORKS Bottle Mold

Congratulations! You’ve created a two-part bottle mold using SOLIDWORKS.

In this tutorial, you’ve learned how to create a mold block, position components using assembly mates, subtract geometry using Cavity, and divide the resulting part using Split.

Finished two-part Coke bottle mold created in SOLIDWORKS

Download the SOLIDWORKS Coke bottle model.

What Is the Cavity Feature in SOLIDWORKS?

The Cavity feature removes the volume of one component from another component in an assembly.

It’s especially useful when you want to create matching geometry based on an existing 3D model.

For example, the feature can be used to:

  • Create cavities for molds and tooling.
  • Generate matching geometry around existing components.
  • Subtract complex shapes from solid blocks.
  • Create clearance geometry for assembly components.

In this tutorial, the Coke bottle acts as the design component, while the mold block is the component being modified.

Cavity vs. Combine vs. Split in SOLIDWORKS

Although these features can all be used in workflows involving multiple bodies, they have different purposes.

FeaturePurpose
CavitySubtracts the shape of selected assembly components from the part being edited.
Combine – SubtractSubtracts one solid body from another within a multibody part.
SplitDivides a solid body into multiple bodies using suitable trim tools.

For this project, Cavity creates the bottle-shaped negative geometry, while Split separates the mold into two halves.

Common Problems When Creating a Mold in SOLIDWORKS

The Cavity Feature Doesn’t Remove Any Material

If the bottle doesn’t intersect the mold block, there may be no overlapping volume to subtract.

Solution: Check the assembly mates and use Section View to verify the bottle position before creating the Cavity feature.

The Cavity Feature Is Unavailable

The Cavity feature is intended for in-context part editing within an assembly.

Solution: Make sure you’re editing the mold block component, rather than the top-level assembly, before opening Insert > Features > Cavity.

The Split Feature Doesn’t Create Two Bodies

The split tool must intersect the solid geometry in a way that divides it into separate regions.

Solution: Check the position and extent of your sketch or splitting surface, then use the Cut Part preview to verify the resulting bodies.

Frequently Asked Questions

Does the Cavity feature update when the original bottle changes?

Because the Cavity feature is created in the context of an assembly, it can maintain external references to the design component. If the bottle geometry changes, the cavity may update when the assembly is rebuilt, provided the references remain valid.

Can I add shrinkage allowance to the mold cavity?

Yes. The Cavity feature provides a scaling option that can be used to account for material shrinkage. The correct shrinkage allowance depends on the manufacturing process, material, and part geometry.

Is this mold ready for injection molding?

Not yet. This tutorial demonstrates the basic cavity and splitting workflow. A production-ready injection mold also requires proper draft angles, parting surfaces, material shrinkage allowances, venting, cooling, and an ejection system.

Learn How to Model Real Products From Scratch in SOLIDWORKS

Creating a mold is a great way to understand how different SOLIDWORKS features can work together to build complex geometry.

In my free SOLIDWORKS Masterclass, I’ll show you the four-step modeling framework I use to create real products from scratch, including Formula 1 cars, aircraft, motorcycles, and yachts.

Free SOLIDWORKS Masterclass featuring Formula 1 cars, aircraft, motorcycles, and yachts

Watch the free SOLIDWORKS Masterclass: How to Model Real Products From Scratch.

Previous Post
How to Model a Dodecahedron in SOLIDWORKS
Next Post
How to Copy a Surface in SOLIDWORKS to Another Part

35 Comments. Leave new

Leave a Reply

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

Fill out this field
Fill out this field
Please enter a valid email address.

LearnSolidWorks logo
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Send this to a friend