SolidWorks Tutorial 1c: Design of an Electronic Box, Continued

From Artisans Asylum Wiki

Link to: CAD Main Page

Link to: Tutorial 1b (prev)

Introduction

This tutorial continues the sequence for designing a sample electronics box to demonstrate how to use SolidWorks.

In the previous tutorials, most of the basic tools have already been addressed. In the steps that follow, knowledge of these tools will be assumed. If you are unfamiliar with any of these tools, you may want to review the previous entries in this sequence.

In the previous tutorials in this sequence, a thin-walled box was designed with mounting lugs attached to the bottom face. The first step in this tutorial is to add some additional lugs around the top of the box that could be used to attach a lid to the box. The operations to do this are mostly the same as those used in the previous tutorial. Accordingly, we will move quickly through this first operation until we need to use some new functions.

pic33

Attach Lugs to the Box Edge

Select the flat surface at the top edge of the box, as shown in the figure above. Open a new sketch on that plane. Notice that you can open a sketch on any planar face, no matter how tiny.

Sketch four squares in the four corners of the inside of the box. By snapping the edges of the squares onto the inside edges of the box top, the relations are set automatically that fix them to those edges.

Set the four dimensions as shown below. To fully define these four squares, manually set four "Collinear" relations between the remaining edges. Hopefully is is obvious to you where these should be. See the illustration below.

pic34

To check whether the relations are set correctly, change the four dimensions that are explicitly defined in the figure. In the example, the lugs were originally set to 5/8" square. Change them now to 3/8" square, which is more reasonable in the box design. All of the lugs should change to the correct size.

It should also be possible to change the outside dimensions of the box and have the lugs remain attached to the box corners. It is very rare that something like this is designed at its correct size from the first step. That is the strength of "parametric" design.

pic35