On this page
One continuous section of the book; read it straight through.
One of the best features of solid modeling in CAD is the ability to easily change or modify the dimensions and shapes of our model. For instance, if we rotate the model of our pig base and look at it from the bottom, we will notice that the bolt holes are not centered in the area of the flange. They are too far outward. This is easily fixed. Go to the Feature Manager Region and then click on the plus sign on the Feature Tree next to Cut Extrude4. This will expand it and you will see the parent Sketch7.

Right click on the Sketch7 label in the tree and then select the “Edit Sketch” button in the pop-up menu. The top bolt hole will turn blue and the properties will show up in the Feature Manager Region. You can then change the y-coordinate from 6.5 to 6 cm and click on the green check mark to save the change. Now select “Exit Sketch” in the Command Manager region. Notice how all of the bolt hole are now centered in the flange. This is the advantage of using a repeated structure to make the pattern. You only need to change the parent feature and all the daughters will move.
We will change one other dimension on our model. The interior hole for storing radioactive material is very small and the shield is extremely thick for this size of pig. To make our container more realistic, we will change the interior hole from a 2 cm right cylinder to a 4 cm x 6 cm cylinder. For the base, this means changing the diameter of the cut from 2 to 4 cm and the depth of the cut from 5 to 7 cm. First change the view to trimetric to better see the feature. Then expand the Cut-Extrude feature to reveal the Sketch6 feature. Right click on it and change the radius from 2 to 4 cm.

Exit the sketch and right click on the Cut-Extrude feature and select the Edit Feature button. Change the depth from 5 to 7 cm and then save the changes. Now the base will have the correct dimensions.
Open the pig cap part and make the same change to the bolt hole arrangement – change the y-coordinate from 6.5 to 6 cm. Also change the dimensions on the extrusion that fits into the base to 3.8 cm in diameter and 1 cm deep.

Now we can change some of the cosmetic appearances of our parts. If we look at the parts, they all have sharp 90-degree corners. This may be appropriate for the parts that mate between the lid and base but the top of the flange is probably curved or has a chamfer (slope) to it. We will apply a chamfer to the top of the flange on the lid and repeat it to the bottom of the flange on the base. To create a chamfer, click on the “Features” tab and then click on the down-arrow next to the “Fillet” button to reveal the chamfer button. Select the chamfer button and you will see the options appear in the Feature Manager Region. Click on the edge of the flange and you will get a preview of what the chamfer would look like.

Leave the angle at 45 degrees and change the length of the chamfer to 0.2 cm. Select the green check mark and the top will now have a sloped edge. Repeat the process to add a chamfer to the bottom of the flange on the base.

Now we can modify the models’ appearance by applying color and texture to give a more realistic rendering of the final product. We can get basic colors using the basic appearance features but to get more realistic rendering we will need an Add-In. Solidworks® has a number of additional features that can be loaded to assist with applications. The Solidworks Visualize add-in is not normally loaded when you open the program. In order to load it, select the Options button in the Menu Bar and select Add-ins. Check the box next to Solidworks Visualize and the add-in will load and the menu bar at the top will now have a Solidworks Visualize menu.

To apply a texture and color to the lid, right click on the top and then select the appearance button and then select the “body” option. This will apply the texture and color to the entire part. If you wanted to color one face differently, you can apply an appearance to just that face. For simplicity, we will color the entire body. The Appearance Scenes and Decals window will open on the right side of the Graphics Area in the Task Pane. Expand the tree labeled “Appearances Color” and “Painted” and select “Powder Coat”. The lower region of the window will show two options for powder coated coloring – aluminum and dark.

We can select the Aluminum powder coat on the right and then pick a color (yellow) from the pallet on the left. The feature will change colors and then you can select the green check mark to save the appearance and exit the menu.
You may have noticed that the appearance does not look much different. In order to get the photo-realistic effect, go to the Solidworks Visualize menu at the top of the window and select Final Render. The rendering window will then pop up and it will take some time to make the image. Once it is done, select the option to save the image and it will be available for use in other applications. The final rendered images for the lid and base are presented in Figures 7.14 and Figure 7.15.


