Allen CDNE

Computational Design in Nuclear Engineering · Allen

Download the PDF

Computational Design in Nuclear Engineering, second edition, by Kenneth S. Allen, Ph.D., P.E.

Download the PDF

Chapter 7 · Introduction to CAD

Using Solidworks® to Create 3-D Printed Objects

On this page

Chapter 7 · 5 / 66 min readPDF page 245

The growth of 3-D printer technology has made creating prototypes and custom designs, especially out of plastic, extremely simple and effective. The Solidworks® solid model is easily converted to a file that can be read by the 3-D printer. Each printer system has its own unique software interface. For example, we will use a Catalyst® software for use on a Statsys® Dimension 1200 printer. Many 3-D printers have their own interface software or use the integrated Print 3-D program that is part of Windows®.

To print a solid body, the printer needs the model in a format it can understand. For most printers that is a stereolithographic format or a *stl file. To get a *.stl file from Solidworks® you use the “File” – “Save As” command and select the *.stl. Solidworks® will then us a function that will approximate the shape into a mesh of triangles which make up the stereolithograph. You can then check the *.stl by reading it into a program like Print 3-D which will allow you to view the model from all sides as shown in Figure 7.18.

Figure 7.18. 3-D Print rendering of the pig base stereolithograph.
Figure 7.18. 3-D Print rendering of the pig base stereolithograph.

Some programs will also allow you to import the top in the same window and you can manipulate the two stereolithographs to verify that the lid will fit in the base. If we wanted to print the assembly as a combined unit, we would first have to save the assembly in Solidworks® as a part. Once we saved it as a part we open the part file and save it as a *.STL. If you save the assembly as a *.STL directly, it will save as mulitple *.STLs and will not combine them. The combined *STL is presented in Figure 7.19.

Figure 7.19. 3-D Print rendering of the combined pig with lid in single stereolithograph.
Figure 7.19. 3-D Print rendering of the combined pig with lid in single stereolithograph.

For printing a prototype of this model, it would make more sense to print the lid and the base separately so we can test the fit of the two. How big the prototype depends on the size of the model, the size capability of the printer, the budget for materials, time, and resolution of the printer. Because our model is small (roughly 10 cm square) we could certainly print the entire model on our Dimension 1200 printer which will hold models 10 in x 10 in x 18 in. The raw material for the ABS plastic costs on the order of $3 per cubic inch. We can select some options to reduce the amount of material used by including either a low density or high-density mesh in the inside of the feature versus a solid part. This is good practice for prototyping something that does not require structural strength. It will also speed up the print process because the printer does not have to lay down as much material. The resolution of the printer and the details in the model will ultimately decide how small you can print. Details like the holes in the lid cannot be so small that the stream of plastic from the print head cannot draw out the material. The printer resolution varies widely by brand and cost of machine.

Figure 7.20. Pig lid imported into Catalyst® prior to being added to the pack.
Figure 7.20. Pig lid imported into Catalyst® prior to being added to the pack.

The typical 3-D printer will have two types of materials: model and support. The model material is the structural material that makes up the solid body. The support material fills in gaps and holes as the model is being built and it is dissolved in solution after the printing process is complete. The software for the printer chops up the stereolithograph into a series of layers from the bottom up. If there are structural elements that are not supported from the bottom at each layer (such as the handle on our lid), it will fill in the area below with support material. How much support is used depends on the orientation of the model. If we place the base of our pig upright, the flange will not be supported on its own as the model is being built from the bottom up. The program would add a ring of support material around the base to the diameter of the flange so there would be a scaffold for it to build on. If we flip the base over and build it upside down, the printer will not need support material for the flange. I will, however, need to put support material in the center of the pig where there is a hole so it can build the bottom of the pig.

Figure 7.21. Pig base in Catalyst® after processing for the pack. Red is model material and grey indicates support.
Figure 7.21. Pig base in Catalyst® after processing for the pack. Red is model material and grey indicates support.

The Catalyst® software is easy to use and allows the user to import a stereolithograph, scale its size, change the density of the interior material and the model’s orientation. Once the parameters are set, the user adds the model to the print pack and the program will run and compute the layer information, how long it will take to print and how much model and support material are needed. From there, the user can duplicate the number of copies if there is room on the base and then select “Print”.

Figure 7.22. Pig lid in Catalyst® after processing for the pack. Red is model material and grey indicates support.
Figure 7.22. Pig lid in Catalyst® after processing for the pack. Red is model material and grey indicates support.

Introduction to Computer Aided Manufacturing

Computer Aided Manufacturing (CAM) is a similar process to 3-D printing in that it takes 3-D solid bodies and uses a computer program to operate machinery to create a final process. In CAM, the process is normally to run a CNC Mill or CNC Lathe. A mill is analogous to a 3-D printer but rather than adding material to make a structure, it subtracts material using various bits and tooling. CNC machines use programming codes to tell the gantry holding the tool to move in two or more dimensions. A common code for many machines is G-code. This coding has a series of commands, much like the cards in MCNP, followed by parameters telling the machine things like spindle speed, feed rate, x, y, z position, which tool to use etc.

Programming a machine in straight G-code is cumbersome and difficult. Fortunately, there are computer software programs that will interpret solid body models and assist the user to generate the correct G-code to import into the machine. One such package is MasterCAM® and MasterCAM® for Solidworks®. MasterCAM® for Solidworks® is an add-on that can be purchased separately from Solidworks® and installed for use in the CAD program.

Figure 7.23. MasterCAM® simulator demonstrating the milling of a part.
Figure 7.23. MasterCAM® simulator demonstrating the milling of a part.

The entire use of MasterCAM® is beyond the scope of this text and far more involved than 3-D printing. The program has tremendous capability and can ensure that the machining of parts are both accurate and repeatable. The repeatable nature of CAM is one of its most desirable features. While a skilled machinist could build virtually any part by hand, making several of the same parts to the exact same tolerance in a short period of time is overly labor intensive when the CNC machine can do the same task repeatedly without error. Also, the CAD and CAM software allow for the rapid modification of a part. For example, if we wanted a part that was 1 cm taller than our model, we could add that dimension in CAD and regenerate our code in CAM and be set with the new part. Additionally, the CAM software allows for a simulation of the machining process that can be run virtually to check tolerances, toolpaths, and the time for manufacture. This allows for the machinist to optimize the process and identify any problems to the design engineer before any material is cut.

Computational Design in Nuclear Engineering, second edition, by Kenneth S. Allen, Ph.D., P.E. — the complete book as a 394-page PDF.

Download the PDF