SolidWorks Tutorial 1a: Design of a 3D Printed Electronic Box

From Artisans Asylum Wiki
Revision as of 13:25, 30 April 2025 by Jfbredt (talk | contribs)


Introduction

This tutorial is for students with no prior experience with SolidWorks. In it we create a new part from scratch: A simple electronics enclosure that could be printed on a 3D printer.

We cover sketching and extrusion of sketches into the third dimension. The sketching tools include rectangles, circles, lines, points, fillets and text on a surface. We also set some constraints for features in a sketch to introduce the students to parametric design. The feature tools we cover include extruding a boss, extruded cuts and fillets.

Load SolidWorks and Open a Sketch

These instructions pertain to the Solidworks installation at Artisans Asylum as of this writing, May 2025. There are presently ten seats in the Photo/Design Shop in the Holton building and two seats in the social area in the Antwerp building.

Double-click on the SolidWroks 2024 icon on the desktop. It takes a minute or so to load, and then it will display a dialog box like the one shown below.

new part window

Click on the button that says "Part" to create a new document for a single 3D part (i.e. not an assembly or a 2D drawing.)

SolidWorks functions by taking 2-D sketches and expanding them into the third dimension. The first step is always to make a 2-D sketch.

In the upper-left-hand corner of the screen, click on the tab that says "Sketch" and click on the button there that also says "Sketch."

pic2

A set of planes will be displayed for the cardinal directions of the space. Select one of them. For this tutorial, it doesn't matter which.

Start Sketching

We will use a few of the sketching tools displayed in the toolbar near the top of the screen under the "Sketch" tab.

Sketch a Rectangle

Move the cursor over the "Rectangle" tool in the toolbar. It is near the left of the collection. If you hover it there without clicking, a helpful animated window displays the action of the tool. This is shown below.

pic3

When you click (the left-mouse button) on the "Rectangle" tool, a display opens in the left margin giving several options for sketching rectangles in different ways. The second one in the list is the "Center Rectangle" tool. Select it. This is the one we want to use now.

Move the cursor over to the center of the window, where a small pair of arrows indicate the origin of the space. When you hover the cursor near to this cluster, the origin will light up, indicating that clicking will "snap" the location of the first point onto the origin. Click there and drag the cursor away from the origin. A rectangle will be displayed with its center-point at the origin.

pic4

Release the left mouse button to complete the rectangle. You don't need to worry about its size on the screen.

The next step is to specify some dimensions. Click on the button that says "Smart Dimension."

pic5

This opens a tool that allows you to rapidly set the size of the rectangle.

To operate the tool click the cursor on one of the sides of the rectangle. Holding down the left-mouse button, drag the cursor sideways and see the dimension arrows drag across the window to a new location. When you release the left moust button, the arrows will stop moving and an edit window will open that allows you to type in a dimension for the selected rectangle side.

pic6

For this exercise we set the box side to 2.5 inches.

With the "Smart Dimension" tool still selected, click on one of the perpendicular sides on the rectangle and drag the arrow to some other location. Set the dimension for this side to 4.0 inches.