SolidWorks Overview

We have several CAD (computer-aided design) tools available for designing physical structures, namely Rhino and SolidWorks. This overview is intended as a high-level introduction to the essential features of SolidWorks which make it useful for this course. For information on installing SolidWorks, please see SolidWorks Student Installation at CMU. To run SolidWorks remotely, please see Using SolidWorks on Virtual Andrew.

SolidWorks Concepts

SolidWorks is a parametric design tool. In the broadest sense, this makes it closer to visual programming than drawing: parts are defined by geometric sketch primitives constrained by relations and processed into geometric features through operations. So a cylindrical part might be defined by a circle on a plane that is extruded for a given distance or up to a given point.

Unlike Rhino, that tree of elements is what defines the part and is kept through the life of the part. So if that circle is moved, or split or reshaped, or the extrusion distance changed, the geometry of the solid form can be recomputed.

Using parametric design efficiently involves structuring the part model so that it accurately captures design intent. E.g. if two particular holes are mechanically related, their relative position can be defined by dimensions and relations which capture that mechanical relationship. That way, if other features change and the part shape changes, the holes can maintain their relationship and preserve the intent.

SolidWorks is especially suited for designing assemblies of parts. Machines are typically built from individually manufactured parts assembled together. This is captured in the design model by creating assemblies which define the relative position of individual parts via mates which define geometric constraints. For example, a shaft can be mated to a bearing hole by a concentric mate which limits it to axial rotation and translation (2 remaining freedoms), then further limited by a co-planarity mate between a groove face, snap-ring face, and bearing face which then leaves only axial rotation free. If mates correctly correspond to actual physical constraints, the model helps visualize that all parts have the correct freedoms. And the parametric nature of the constraint tree means that many part dimensions can be changed and other part positions can adapt.

A negative side-effect of the parametric feature tree is that if the structure of the the design intent changes, it can be difficult to modify the tree structure to match. This is because all features are defined in relation to existing features, so if a parent feature is removed, the child feature becomes only partly defined. It takes a great deal of practice to learn to structure models well at the beginning to minimize these problems later.

Essential Ideas and Actions

  1. reference features: planes, faces

  2. sketch entities: lines, circles, construction lines

  3. sketch relations: symmetric, equal, collinear, concentric, tangent, dimension

  4. feature operations: extrude, cut, mirror, radial and linear patterns

  5. assembly mates: coincident, concentric, distance, parallel

  6. number entry boxes: numeric input can include units and calculations

  7. hole wizard

  8. configurations

  9. view mates, isolate, suppress

Good CAD Heuristics

  1. Always sketch your parts on paper first.

  2. If you think it’s time to start modeling, wait and do another paper sketch first. It is so much faster and generative.

  3. If you need a standard component, check online sources for a free model before drawing it from scratch. Be warned, though, that the exact part models may have much more detail than you need. Modeling geometry is as much a process of knowing what to leave out for a particular problem.

  4. Choose a system of units and stick with it. The reality of working in the USA is that metric and inch exist side by side throughout the catalogs and stock. It can be cheaper to buy inch-sized parts and fasteners, but many imported parts are designed in millimeters.

  5. Before you begin modeling, consider the following: natural symmetries in the part, the core form which is most unlikely to change and thus suitable to be a base feature, whether the part may exist in several variations.

  6. It can be hard to appreciate the scale of a CAD feature as the computer monitor can perfectly magnify or shrink details. I recommend keeping rulers and calipers handy for reference to remind you of exactly how much 0.001 inch or 0.1 mm actually looks in the world.

  7. A solid model defined by mathematical primitives is mathematically exact. Of course, any rendering of it as pixels, cutting line segments, or rendered polygons is an approximation, and the precision is ultimately limited by computer numerical representation. But best results are achieved by taking advantage of mathematical constraints such as relations and mates to maintain that exactitude. So for example, it is possible just to visually position parts very closely in an assembly without defining mates and have it look acceptable for a drawing. But these small errors will tend to cause problems later when dimensions are slightly wrong in cut parts, and it defeats the ability of the tool to help find errors such as overlapping parts.

Using SolidWorks on Virtual Andrew

The easiest way to get started with SolidWorks is by running it on Virtual Andrew: it is ready to go with no installation. The program makes intensive use of 3D rendering so it highly recommended to use the Engineering Cluster instances.

To get started:

  1. Open https://virtual.andrew.cmu.edu/

  2. You are offered the chance to download a client or access via the browser.

  3. If you opt for the browser, you are presented with an Andrew authentication page.

  4. You are offered a choice between “Design, Engineering” or “General Use” virtual machines. For SolidWorks, choose “Design, Engineering”.

  5. You will then be logged into a persistent Windows environment associated with Virtual Andrew. Your personal 2GB MyFiles network storage is available as drive W:.

  6. The current student version of SolidWorks is available from the start menu.

A few general considerations:

  1. You’ll need to decide how to decide how to retrieve files from Virtual Andrew, especially exported DXF files for the laser cutter. Solutions include Google Drive, Box, email, sftp, and unison. Please be careful not to store files in SandBox, these are deleted on logout.

  2. The default basic templates for this installation use inch units, but all models for this course should be designed in millimeters. Units are determined in document properties, so I recommend always choosing an appropriate metric template file when creating new parts. Experienced users typically create their own templates to match their work standards.

  3. SolidWorks is normally updated once per year and is not forward compatible: files from a current SolidWorks version will not load at all in an older installation. If you copy a model from the course resources or third-party source, you may see a warning that the file version will be updated upon saving.

  4. For more information on the service: https://www.cmu.edu/computing/services/endpoint/software/virtual-andrew.html

SolidWorks Student Installation at CMU

For current information on student access to SolidWorks, please see the IDeATe CAD Resources and IDeATe CAD Software pages. Following is a brief summary of the process.

  1. Carnegie Mellon has a site license for students to use SolidWorks on their own Windows computers. The installation instructions and license keys are available via https://www.cmu.edu/computing/software/all/solidworks/

  2. The actual installer is available from SOLIDWORKS Community Download at https://www.solidworks.com/sw/education/SDL_form.html

  3. The default installation options will consume about 18 GB of space, but this can be cut at least in half by omitting unneeded packages. The installer presents the default product options after the license key has been entered. By selecting “Change”, individual packages can be added or removed. The following options may be safely turned off for the purposes of this course:

    1. SOLIDWORKS Flow Simulation

    2. SOLIDWORKS Plastics

    3. SOLIDWORKS Composer

    4. SOLIDWORKS Composer Player

    5. SOLIDWORKS Electrical

    6. SOLIDWORKS Visualize

    7. SOLIDWORKS Simulation

    8. SOLIDWORKS CAM

  4. After configuration, the installer will download multiple gigabytes and install the software. The process can easily take 30-60 minutes depending on your network and computer speed.

Exporting DXF Files for Laser Cutting

There are several different methods to export a DXF file from SolidWorks to drive the laser cutter, but I recommend one in particular to guarantee the correct geometry and avoid duplicate lines. As a counterexample, simply using “Save As DXF” with default settings can produce a linework image of the current view, which might laser-cut an isometric drawing of the part but not the precise contours.

The recommended process is as follows:

Open the individual part file. From an assembly, you can always right-click a part and select ‘Open Part’.

Right-click a planar face representing one side of the stock. The contours of this face will be the cut lines, both inner and outer. On the pop-up menu, select ‘Export to DXF/ DWG’.

../_images/export.png

You may get a dialog headlined ‘This file is being referenced by other open documents.’ If so, choose ‘Save as copy and continue.’

../_images/continue.png

SolidWorks then displays Save As dialog in which you may choose an output file path (not shown).

SolidWorks then displays the ‘DXF / DWG Output’ properties panel. The default settings should be correct, but please make sure ‘Faces / loops / edges’ is selected and the ‘Entity to export’ is the previously selected face. Click the green checkmark to continue.

../_images/options.png

SolidWorks then displays ‘DXF/DWG Cleanup’ popup with a preview of the cut lines. If this looks correct, choose Save.

../_images/preview.png

The SolidWorks DXF/DWG Output PropertyManager Help includes more detail on all the options.

Please note that DXF files do not specify units, so the scale of the DXF file will match the default units of the part file and RDWorks will need to have the correct units manually set prior to import. Using millimeter units is recommended for all parts.