DEV Community

Cover image for How to Create a Pen Holder on FreeCAD Using the Sketcher + Part Design Workbenches
Erika Heidi
Erika Heidi

Posted on • Updated on • Originally published at eheidi.dev

How to Create a Pen Holder on FreeCAD Using the Sketcher + Part Design Workbenches

Sketcher and Part Design are two FreeCAD workbenches that work closely together, typically used to turn 2D geometries into 3D models. In a nutshell, through the Sketcher workbench you create the blueprints of parts that are manipulated through the Part Design workbench.

In this guide, which is part 2 of a series about FreeCAD for beginners, we'll see how to use the Sketcher and Part Design workbenches to create a minimalist pen holder model that you can print with a 3D printer.

Before continuing with this post, it is important that you have FreeCAD installed on your machine, and that you are familiar with how to navigate the interface. You can refer to the first post of this series for more details on how to navigate FreeCAD's user interface.

Step 1: Create a new project, then move to the Part Design workbench

Create a new project, then select the "Part Design" workbench on the workbench selection box.

Part Design Workbench - FreeCAD for beginners

Step 2: Create a new body, and then create a new Sketch. Choose XY as base plane.

You can use the shortcuts on the left sidebar to create a new body, and then create a new sketch on that body. When creating the sketch, select the XY_Plane.

Creating a new Body on FreeCAD

Step 3: Select the square/rectangle tool, then create a rectangle at the center of the canvas.

Don't worry about the size now, we'll set up constraints in the next step.

Creating a rectangle shape on FreeCAD

Step 4: Select the width constraint, then set the size of 60mm. Select the height constraint, then set the height of 40mm.

Constraints allow you to specify a set of rules that can be applied to points, lines, and angles. For this example, we'll use the width and height constraints to limit the size of the rectangle that serves as base for our model.

Step 5: Select the pad tool and pad to the height of 100mm.

Close the sketch. This will bring you back to the Part Design workbench, automatically. You can then select the pad tool, setting the type to Dimension and the height to 100mm. Click "ok" to confirm.

Padding the Sketch on FreeCAD

Step 6: Create a datum plane using the top face of the pad as reference.

Use the "top view" button to make sure you're looking to the object from the top. Select the top face of the pad, then select the "Datum Plane" tool to create a new datum plane using that face as reference. This will serve as base for a new sketch.

Creating a Datum Plane on FreeCAD

Step 7: Create a new sketch based on that datum plane.

Create a new sketch and make sure to select the new DatumPlane as reference.

Creating a new sketch on top of a Datum Plane

Step 8: Hide the datum plane by selecting it and hitting the space bar on your keyboard.

Create a rectangle form slightly smaller than the first one, using the constraints of 50mm and 30mm for width and height, respectively.

Creating a new rectangle

Step 9: Use the pocket tool to hollow the model.

Close the sketch, and you will be brought back to the Part Design workbench. Then, use the pocket tool instead of pad - this time we want to create a pocket to make the model hollow. Select the "Dimension" type and the length of 80mm.

Creating a pocket in the model

Step 10: Use the fillet tool to round the edges slightly.

Select one of the faces of the model, then select the "Fillet" tool. Click on the "add ref" button to add all external faces, one by one. Rotate the model and add the other faces. You can use the radios of 1mm for a discrete effect. When you're done, click the "OK" button.

Using the fillet tool to round edges on FreeCAD

And it is done! If you want to print this model, you can export it through the menu File -> Export, then choose the STL format. You can then import the STL to a slicer software to get it ready for printing.

This model is functional as is, but we might want to add some details to the sides to make it more attractive. In the next part of this series, we'll add a special touch to the walls of the model using SVG files. Stay tuned!

Top comments (0)