Can you model a perfect dodecahedron in SOLIDWORKS using just two features? Yes! In this tutorial, I’ll show you how to create a regular dodecahedron using an Extruded Boss/Base, an Extruded Cut, and a set of equations that automatically control the geometry.
This tutorial started when I received an email from José Diaz asking how to model a dodecahedron. At the time, I wasn’t even familiar with the shape. After doing some research, I discovered an interesting SOLIDWORKS model which inspired this tutorial.
The best part? Once you’ve set up the equations, you can change the size of the original sketch and the entire model will update automatically.
Note: This tutorial was originally created using SOLIDWORKS 2010. The Equations interface has changed significantly in newer versions, but the modeling principles remain the same. You can find additional information in the official SOLIDWORKS Help documentation.
What Is a Dodecahedron?
A dodecahedron is a three-dimensional geometric shape with twelve faces. A regular dodecahedron is one of the five Platonic solids and consists of twelve identical regular pentagons.
A regular dodecahedron has:
- 12 faces: Regular pentagons.
- 20 vertices: Points where three faces meet.
- 30 edges: Lines where two faces meet.
Its geometric symmetry makes it an interesting exercise for practicing parametric modeling and mathematical relationships in SOLIDWORKS.
How to Model a Dodecahedron in SOLIDWORKS
We’ll create the model using two main features:
- Extruded Boss/Base: Creates the initial five-sided solid with drafted faces.
- Extruded Cut: Removes the necessary material to create the final dodecahedron.
We’ll also use SOLIDWORKS Equations to control the feature heights and maintain the correct proportions.
Step 1: Create a New SOLIDWORKS Part
Open a new part with the document units set to millimeters.
Go to File > New > Part
.
Step 2: Create a Sketch on the Top Plane
Select the Top Plane in the FeatureManager design tree.
Click the Sketch icon
to start a new 2D sketch.
SOLIDWORKS rotates the view so you’re looking directly at the Top Plane.

Step 3: Create a Construction Circle
Go to Tools > Sketch Entities > Circle or click the Circle icon
.
Create a circle centered at the Origin
.
Use Smart Dimension
to set the circle diameter to 100 mm.

Select the circle and enable For Construction in the PropertyManager.
This converts the circle into construction geometry, so it can be used to position the pentagon without becoming part of the extruded profile.
Click OK
.

Step 4: Create a Five-Sided Polygon
Go to Tools > Sketch Entities > Polygon or click the Polygon icon
.
Set the number of sides to 5.
Create the polygon inside the construction circle, following the orientation shown in the screenshot.

Step 5: Add a Coincident Relation
Make sure the top vertex of the polygon lies on the construction circle.
Select the top vertex of the polygon, hold down Ctrl, and select the construction circle.
Click the Coincident relation
to connect the polygon vertex to the circle.

Fully define the polygon using the appropriate dimensions and sketch relations, as shown below.

Step 6: Calculate the Correct Dodecahedron Height
To create a regular dodecahedron, the height of the extrusion must follow a specific mathematical relationship with the original sketch dimension.
For this model, we’ll use the following ratio:
Ratio = 1 + sin(18°)
Since sin(18°) is approximately 0.309016994, the ratio becomes:
Ratio ≈ 1.309016994
With a sketch dimension of 100 mm, the extrusion height becomes:
Height = 100 × 1.309016994 ≈ 130.9 mm
Instead of entering this height manually, we’ll use the SOLIDWORKS Equations feature to calculate it automatically.
Step 7: Create the First SOLIDWORKS Equation
Go to Tools > Equations or click the Equations icon
.

In the original SOLIDWORKS 2010 interface, click Add and enter:
"Ratio" = sin(18) + 1
Click OK to create the equation.

For newer SOLIDWORKS versions: Create Ratio as a Global Variable in the Equations dialog. Make sure the sine function uses an angle of 18 degrees rather than 18 radians.
Step 8: Create the Height Equation
Next, we’ll calculate the height based on the original sketch dimension.
Open Tools > Equations and add a second equation:
"Height" = "D1@Sketch1" * "Ratio"
Instead of manually typing "D1@Sketch1", you can select the corresponding dimension directly from the model while creating the equation.
Click OK to save the equation.

Now the extrusion height can be controlled automatically by the original sketch dimension.
Step 9: Create an Extruded Boss/Base with Draft
Go to Insert > Boss/Base > Extrude or click the Extruded Boss/Base icon
.
In the Boss-Extrude PropertyManager:
- Set Direction 1 to Blind
. - Initially enter an extrusion depth of 10 mm
. - Enable Draft
. - Set the draft angle to 26.56505118°.
- Enable Draft outward.
Click OK
to create the first solid feature.

Step 10: Link the Extrusion Depth to the Height Equation
We now need to connect the extrusion depth to the calculated Height variable.
Go to Tools > Equations
.
Add the following equation:
"D1@Boss-Extrude1" = "Height"
Click OK.
The extrusion depth updates to approximately 130.9 mm.
If the geometry doesn’t update immediately, click Rebuild
.

Tip: Feature and dimension names can differ between SOLIDWORKS files. Select the extrusion depth dimension directly when creating the equation if its name isn’t D1@Boss-Extrude1.
Step 11: Create a Sketch on the Extruded Face
Select the blue face shown in the screenshot below.
Click the Sketch icon
to start a new 2D sketch.

Click Normal To
to look directly at the selected face.
Step 12: Change the Display Style
To make the original sketch geometry easier to see, change the display style.
Use the Display Style menu in the Heads-up View toolbar.

Select Hidden Lines Visible
.
This makes hidden edges visible, helping you position the second polygon relative to the first.

Step 13: Create Another Construction Circle
Go to Tools > Sketch Entities > Circle or click the Circle icon
.
Create a circle centered at the sketch origin.
Position the circle so it passes through the corresponding vertex of the previous polygon, as shown in the image.
Select the circle and enable For Construction.
Click OK
.

Step 14: Create the Second Pentagon
Go to Tools > Sketch Entities > Polygon or click the Polygon icon
.
Set the number of sides to 5.
Create the second pentagon and rotate it into the orientation shown in the screenshot.
The new polygon must be positioned correctly relative to the first polygon to produce the required dodecahedron geometry.
Use construction lines and sketch relations where necessary to fully define the sketch.

Step 15: Create an Extruded Cut with Draft
Now we’ll use the second polygon to remove material from the solid.
Go to Insert > Cut > Extrude or click the Extruded Cut icon
.
In the Cut-Extrude PropertyManager:
- Set Direction 1 to Blind
. - Initially set the cut depth to 10 mm
. - Enable Draft
. - Set the draft angle to 26.56505118°.
- Enable Flip side to cut.
Check the preview and click OK
.

Step 16: Link the Cut Depth to the Height Equation
Finally, we’ll connect the Extruded Cut depth to the same Height variable used by the first extrusion.
Go to Tools > Equations
.
Add the following equation:
"D1@Cut-Extrude1" = "Height"
Click OK to save the equation.

The cut depth should now update to approximately 130.9 mm.
If necessary, click Rebuild
.

The Finished SOLIDWORKS Dodecahedron
Congratulations! You’ve created a regular dodecahedron using just two main modeling features and four equations.

One of the biggest advantages of this approach is that the model is parametric.
Try changing the original construction circle dimension in Sketch1. Because the extrusion and cut depths are linked through equations, the model can automatically update while maintaining the intended proportions.
SOLIDWORKS Equations Used in This Tutorial
Here’s a summary of the four equations used to control the model.
| Equation | Purpose |
|---|---|
"Ratio" = sin(18) + 1 | Defines the geometric ratio. |
"Height" = "D1@Sketch1" * "Ratio" | Calculates the required height. |
"D1@Boss-Extrude1" = "Height" | Controls the Boss-Extrude depth. |
"D1@Cut-Extrude1" = "Height" | Controls the Cut-Extrude depth. |
Note: The dimension identifiers shown above are taken from the original tutorial. Depending on your SOLIDWORKS version and feature names, the actual dimension references may differ.
Why Use Equations in SOLIDWORKS?
Equations allow you to create mathematical relationships between dimensions, features, and global variables.
Instead of manually adjusting every dimension when you resize a model, you can use equations to control related geometry automatically.
This is especially useful for:
- Parametric product design.
- Geometrically constrained models.
- Families of similar components.
- Models that need to scale while maintaining proportions.
- Reducing repetitive dimension changes.
In this example, the original sketch dimension controls the heights of both modeling features.
Frequently Asked Questions
Why does SOLIDWORKS show an error when I enter the equation?
Check the equation syntax, dimension names, and references. In newer SOLIDWORKS versions, Global Variables are managed through the Equations dialog. Also make sure you’re using the correct angle units for trigonometric functions.
What happens if I change the original polygon size?
The equations recalculate the extrusion and cut depths based on the driving sketch dimension. As long as the geometry and sketch relations remain valid, the model updates while maintaining its proportions.
Why is the draft angle so precise?
The angle of 26.56505118° is used to produce the required face geometry in this particular modeling method. Changing the draft angle alters the shape of the resulting solid, even if the extrusion heights remain unchanged.
Learn How to Model Real Products From Scratch in SOLIDWORKS
Modeling a dodecahedron is a great way to explore geometric relationships and parametric modeling. But these same principles can also be applied to complex real-world products.
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.








21 Comments. Leave new
You’re just amazing many are the things that were a nightmare to me but because of your teachings I have come up to be somewhere especially in our country where solidworks is still new in the world of engineering. Currently, we are less than 20 peaple who understands it countrywide.
be blessed brother.
Good Tutorial, Jan-Willem Zuyderduyn
This is very Useful And short method to make such profiles.
I have also made the same model With a different method. http://grabcad.com/library/request-dodechahedron
As well as i have created a tutorial for the same. http://grabcad.com/questions/tutorial-how-to-make-dodechahedron–1
Just because that’s what we do (isn’t it?), I decided to see if I could come up with a dirtier way to do it, using patterning, though your’s is definitely more elegant.
Here’s what I came up with:
1. Extrude a pentagon. You could make this more elegant by calculating how high off the origin plane you want to make it, and avoid a few steps by using that plane later, but remember this is supposed to be dirty.
2. Grab one of the ‘top’ edges of your hex, and the ‘top’ face of your hex, and create a plane . Here, I didn’t figure out a good ‘dirty’ way to compensate. You have to know that the angle between faces is approx 116.5650512. So the angle of your plane will be (360-116.5650512)/2 = 121.7174744 [thanks internetz for that angle].
3. Mirror your hex about that face.
4. You now have 2 pentagons, joined at one edge. Take your second pentagon, and rotate it about an axis normal to the center of your first 5 times in 360 degrees, using a circular pattern.
You now have the top half of your shape.
5. More dirtiness. You need to find where to put the center plane for your Dodecahedron. The ‘top’ of each of your pentagons is going to be your final surface, so grab the top edge of 3 of the bottom points (where it will protrude into the bottom half) in your circular pattern of hexes and make a plane. Then grab 3 points at the top edge (where the bottom half will protrude into the top half) of the ragged part, and create another plane. Using these two planes, make a plane between them. This is the center plane of the Dodecahedron.
6. Mirror the whole thing about this center plane, but don’t merge the two parts (uncheck the merge box).
7. Using Insert -> Feature -> Move/Copy rotate your bottom half 36 degrees (360/5/2 – or one half rotation you used to create the circular pattern in the top half).
8. Use Insert-> Features -> Join to join your 2 halves.
Voila – you have a Dodecahedron that you can make any size. If you made the original extrude thick enough, it will be solid. Else, it will be hollow. And all you needed to know in advance was that one angle between sides.
thanks! please write more free tutorials for us! specially about product design…
Your Comments
It looks like my Equation table is completely different – I am using SW 2012 SP5 & SW 2013 SP0
I liked Jan-Willem’s “boss-extrude-up / extruded-cut-down” technique, but wanted to do it without relying on Wiki for the mathematical formulas. Here is my “no trig” method. I have 2012 Professional.
A. Add a Global Variable “SideLength” = 100 (I work in mm and this can be later changed to whatever size you want.)
B. Create a 2D sketch on the Top plane. Insert a 5-sided polygon, centered on the origin. Put the “point” up and make the bottom side Horizontal. Dimension it to = the global variable “SideLength”. Sketch is now fully defined. Add a construction line between the left & right points. (This will be the “horizontal width” reference.) Add another construction line between the top point and the midpoint of the bottom edge (“vertical width” reference). Name the sketch “Bottom”.
C. Now I need to determine the extrude angle and the extrude height.
Start a 3D Sketch and, starting at the bottom line of the 2D sketch, draw 4 solid lines and 2 construction lines (to match the first polygon).
To get these lines on a plane, select the midpoint of the horizontal construction line and make it coincident with the vertical construction line. Make the horizontal line = same line in 2D sketch and parallel to the bottom side. Set the 4 solid lines = base line. We now have one side polygon that is the right size, but at an unknown angle.
D. In the same 3D sketch, draw a second polygon attached to the left of the first one by using 3 solid lines and 2 construction lines. Make the horizontal construction line midpoint to the vertical one and = to the 2D one’s length and parallel to the base line. Make the 3 solid lines = base line. You now have a fully defined 3D sketch.
E. Add 3 driven dimensions to the 3D sketch. Needed for Global Variables.
Angle between vertical line of 2D sketch and first side of 3D sketch. Rename this dimension “Wall Angle” (about 116.6 degrees).
Vertical length from Top plane to top point of first side (about 137.6 mm). Rename this “Upper Side”.
Vertical length from Top plane too lower vertex point of first side (about 85.1 mm). Rename this “Lower Side”.
Save the 3D Sketch, then open it again.
F. Now we can add the Global Variables we need for the Features.
SideAngle = (click on the “Wall Angle” dimension) – 90 (Evaluates to 26.6 degress)
OverallHeight = (click on the “Upper Side” dimension) + (click on the “Lower Side” dimension) (Evaluates to 222.7 mm)
Close the 3D sketch.
G. Boss Extrude using the Bottom sketch. Draft outwards. Use the defaults for distance and extrude angle and save.
Double click on the feature to show the dimensions. Double click on the blue dots and change the Depth to = “OverallHeight” and the Angle to = “SideAngle”. Rebuild.
H. Create 2D sketch on top surface. Add a 5-sided polygon at the origin with the “point” down. Make the top line horizontal and dimension it to = “SideLength”. Save sketch as “Top”.
G. Cut Extrude using Top sketch. Flip Side to Cut. Draft Angle. Use the defaults.
Double click on the feature to show the dimensions. Double click on the blue dots and change the Depth to = “OverallHeight” and the Angle to = “SideAngle”. Rebuild.
That’s it. As a wise man once said, “There are many ways to skin a cat . . . and they’re all good.”
Nice.
hi jan
i want to know have can i use surface for design a tepot. i will be appropriated you help me in this kinds of design.
best regards
reza
I think that there is a much simpler option that does not rely on having to measure any angles.
For the dodecahedron.
1. On the top plane draw a pentagon centred on the origin with a set length for one edge.
2. Make a planar surface
3. Create a 3D Sketch.
4. Draw a line between two non-neighbouring points of the pentagon, and two further lines to create a triangle. Dimension the angles to 60 degrees. or make equilateral with equal sketch relations.
5. draw one additional line from the top of the triangle down to the point of the pentagon that is mid-way between the base of the triangle.
6. Dimension this to be equal to the edge of the original pentagon size.
7. Create a new reference plane using the top point of the 3D sketch and two points of the base.
8. Sketch on the new plane a pentagon and add relations to lock the corners together.
9. Planer surface.
10. Create an axis using the front and right planes.
11. Pattern second surface body 5 times
12. knit surfaces.
13. Now we need to create a second axis by using two points. Select two mid points from the edges of the body.
14. Circular pattern the body about the axis.
15. Knit (try to form solid)
No angles required
Nicely done, but two comments:
When you set the size in the first sketch, I would place it into the equation manager. That way it becomes a convenient place to control all of the variables.
Next, in the extrude cut, I used an up to next end condition instead of a fixed blind value. Just seems to be more flexible.
If we want to have fun, the next step is to convert the solid to sheet metal. make the bends and rips, unsuppress the flat pattern, print, cut and fold. Print out an image of the rendered part and the flat pattern. Now just place it on your desk as a conversation piece.
Jan, I like your work – I have followed it for a while. I like this thread, it has produced some good discussion – I will add to it (hope you don’t mind).
I have tried; to see if I could and to see if it would be reliable (it seems to be?) – produce the same shape as a single part from a wire frame! The wire frame is a single 3d sketch – took some effort. The model is then surface loft (x4) a pattern and knit to solid.
The base feature is an inscribed sphere – the only dimension to alter – it gives the size across flats, the rest of the model is driven by relations in the 3d sketch.
Enjoy – I did. Thanks.
Have a look…..
http://grabcad.com/library/dodecahedron-from-wire-frame/files
thank you sir………….
then
how to draw a helical gear, bevel gear and more gears………..
Just as Julian, I tried it the wireframe way.
There is only a 3D sketch for the “wire envelope” and only TWO dimensions: one variable, for the edge length and 108 degrees for the angle between two edges connected at the same vertice.
Start with a pentagon and make all five points ON PLANE (top one). Selec all lines and make them equal then add a dimension to make it fully defined.
After that, start drawing the edges and dimension the two 108 angles for each one, to define the direction. Once you add the EQUAL relation the new edge is fully defined.
Work your way “up” until you define the whole frame.
That’s a very nice approach Julian. I always like to have the geometry do as much of the work as possible.
I’ve found this to be an entertaining post, mainly because I’m probably one of the very few people that has ever actually NEEDED to draw a dodecahedron! I can say in 24 years of CAD I’ve never had much need for platonic solids, however a friend was making die for a game. I extruded a pentagon, then assembled the sides, constraining edges to each other. I had hoped to come up with a pure/mathematical solution but this was quick and practical. In just a few minutes we were printing it on the 3D printer. If I recall correctly I think we made the faces concave for style and then extruded up the numbers.
I have no need to do this, but was intrigued by the idea for a mathematical approach.
I little further into it; I have used equations to drive a part file that will generate all five of the platonic solids to a solid. The user inputs are the Id and type of solid wanted – i.e. size and number of sides.
The most pointless is the cube! The most difficult to fit in to my methodology was the octahedron. Was worth the effort to learn equations a little deeper, and use the newer style equation editor.
http://grabcad.com/library/platonic-solids-x5
I will stop now!
Hello,
My equations window is different as well. What is the procedure when it is different than what you are displaying?
Val
Hi Val, I am not sure. Which SW version do you use?
Aloha,
I live in Hawaii and am trying to create a dodecahedron for an award. I am using the 2012 edition and the equation window is completely different and I have been goggling for 3 days now trying to find how to make this model with the software I have. Also I was able to find a 2009 edition of solidworks and I tried this tutorial, followed every step but the second equation said it was not correct. PLEASE HELP ME JAN!
Jan,
Help I’m using SW2014 and the Equations window is completely different! How do I make the equations work?
Thanks,
Brian
You don’t need Equations. Use geometry in the sketch to make the design.
https://grabcad.com/library/dodecahedron-2-step-1