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:
- Create a rectangular mold block.
- Insert the mold block and bottle into an assembly.
- Use the Cavity feature to subtract the bottle from the block.
- 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.

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
.
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
to create a new 2D sketch.
SOLIDWORKS rotates the view so that you’re looking directly at the Front Plane.

Step 4: Draw a Center Rectangle
Go to Tools > Sketch Entities > Center Rectangle or click the Center Rectangle icon
.
Click the Origin
to position the center of the rectangle.
Use Smart Dimension
to set the rectangle dimensions to:
- Width: 100 mm
- Height: 250 mm

Step 5: Extrude the Mold Block
Go to Insert > Boss/Base > Extrude or click the Extruded Boss/Base icon
.
In the Boss-Extrude PropertyManager:
- Set Direction 1 to Mid Plane
. - Set the extrusion depth to 100 mm
.
Using Mid Plane extrudes the block equally in both directions from the sketch plane.
Click OK
to create the solid.

Step 6: Save the Mold Block
Save the new part as Mold_Block.SLDPRT.
Go to File > Save or click the Save icon
.

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
.
If necessary, make the three default assembly planes visible using the Show/Hide controls
.
Step 8: Insert the Mold Block into the Assembly
Go to Insert > Component > Existing Part/Assembly
.
Click Browse
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.

Step 9: Insert the Coke Bottle
Go to Insert > Component > Existing Part/Assembly
.
Click Browse
and select Bottle.SLDPRT.
Place the bottle next to the mold block, as shown in the image.

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
.
If the planes are still hidden, expand the components in the FeatureManager design tree and show their individual reference planes.

Step 11: Create a Coincident Mate Between the Front Planes
Go to Insert > Mate
.
Select the Coincident mate option
.
Select:
- The Front Plane of Mold_Block.
- The Front Plane of Bottle.
Click OK
to apply the mate.

Step 12: Create a Coincident Mate Between the Top Plane and Bottle Midplane
Go to Insert > Mate
.
Choose the Coincident mate option
.
Select:
- The Top Plane of Mold_Block.
- The MIDPLANE of Bottle.
Click OK
.

Step 13: Create a Coincident Mate Between the Right Planes
Go to Insert > Mate
.
Select the Coincident mate option
.
Select:
- The Right Plane of Mold_Block.
- The Right Plane of Bottle.
Click OK
.

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
.
Use Section View to inspect the overlap between the bottle and the solid 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
.
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.

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
.
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.

Click OK
to create the cavity.
Exit Edit Part mode by clicking the Edit Part button
.
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
.
Use the Line tool
to draw the vertical split line shown in the image.
Click Exit Sketch
to finish the sketch.

Step 18: Split the Mold into Two Bodies
Go to Insert > Features > Split or click the Split icon
.
Select Sketch2 as the Trim Tool.
Click Cut Part
to calculate the resulting bodies.
In the Resulting Bodies section, select both resulting parts and assign meaningful names.
Click OK
to finish the Split feature.

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.

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.
| Feature | Purpose |
|---|---|
| Cavity | Subtracts the shape of selected assembly components from the part being edited. |
| Combine – Subtract | Subtracts one solid body from another within a multibody part. |
| Split | Divides 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.
Watch the free SOLIDWORKS Masterclass: How to Model Real Products From Scratch.







35 Comments. Leave new
Thank you so much…..
thank you very much. I like this lesson because I am a production engineer
v helpfull……… thanka v much…..
Absolutely I thank you. Very clear tutorial. Wonderful.
its your efforts in explaining how things are made simple that I thank you for it. Kind regards, Jon.
Thank you teacher 🙂
I’ll share this link in next issue of my magazine; “Sanat Bastebandi” (Packaging Industry) for Iranian designers.
good, put also tutorial how to model the above coke bottle.
thanks
karth
Maybe I will 😉
it would be really fun to learn how to model the bottle to!
thank you for this lesson
Dear Sir,
Thanks so much for your clear and step-by-step tutorial, it’s really a blessing to have someone like you willing to share with us your wealth of knowledge. Please how can I get original software? Thanks. Isaac.
Thank you so much for this tutorial. It’s really a great lesson. Once again Thank you!
nice solidworks is the best…..and always in my live
Greate tutorial! This Solidworks software is only effective when there are tutorials like yours that shows precisely how to use relevant commands to create a model. Some Solidworks built-in tutorials are just too difficult to understand and takes a long time to self-learn.
Your tut´s are great. Great initiative !. Unfortunately the Coke bottle does´nt work. It works until and including the drawing of the split line. But then some info is missing to make the split at last, since the Split feature is nowhere to be found in “Insert” or as icon.
Hi Bjarne, you have to be in the “Part” modus in order to use the Split feature, otherwise it won’t work. When you’re in the part go to: Insert > Features > Split
Well, eehr.. which part then ? The split line was drawn in the “Bottle mold” assembly, being the last feature.. right ?
Besides, your section view cant be right. At that stage of progress the bottle is not yet subtracted. Thus, the section is just an outline of the bottle.
Further, perhaps you should use a simple bottle instead. Hitting the Bottle-part by accident will start re-drawing all details/outlines of the coke-bottle, lasting ages to complete (close to PC crash).
Dont get me wrong. I am mad at myself I cant have this work.
Hi Bjarne,
No, you’ve to draw the split line in the Mold part instead of the assembly. That’s why you’ve to switch to the Edit Part mode.
The Coke bottle is just an example, you can also use a more simple model of yourself to participate the tutorial.
jan – listen
im new around solid works and am passionate about acqunting myself with this package due to what it can do. i was using autocad all along and i wonder whether autocad can go this far, if it can maybe its more complicated or tedious- what do you think sir
Hi Naran. Thanks for your message. I certainly recommend you SolidWorks for 3D modeling. AutoCad is more focused on 2D drawing. With SolidWorks it’s much easier to create complex 3D shapes as Autocad.
very nice mold tutorial
dear friends..
how to open latest version files in lower version
for ex- part create in 2012 but i want open in in 2007
please reply…….
sudhir
Hi Sudhir, I’ve attached Iges files in the Zip file to open in SW2007. It’s not possible to open new SolidWorks files with history in previous SolidWorks versions.
hello, I have 1 question regarding the feature, convert to sheetmetal. When I try to convert solid body to sheetmetal body only the selected face gets changed, not the whole body. Why is it so???
I hope you will help me.
Thank you
very nice mold tutorial.
But I have one question about Coke model,
How can I make Sketch text of Coca Cola Word in this model?
Thank you….
Hi Zizo,
You can import a 2D sketch. I recommend you to take a look at this post to see how you insert a text on an object: http://learnsolidworks.com/solidworks-tricks/how-to-draw-a-text-in-solidworks
Use the Extrude From Surface to create a text on a round surface.
very nice and clear tutorial master
Explanation was awesome,
I’m pursuing Mechanical Engineering (2nd Year), you inspire me to do more practice in SW and experiment with more models.
Thank You Sir!!
How can model bottle?
Thank you Jan
very nice Jan
thank you JAN,I would be really fun to learn how to model the fly
hi
the mold produced is one part although it divided into some bodys.
how can i take each body of them to add some feature for it?
Hi Emad,
if you select the “consume cut bodies” option within the split feature menu you can save the body to a new part and edit it.
Jan
wooooow
thank u
is very wonderful
thanks