Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 18. Working with Library Feature... > Tutorial: Working with Library Featu...

18.3. Tutorial: Working with Library Features

This tutorial guides you through customizing a Hole Wizard hole to use as a specialty library feature, then storing it in the library, editing it, and placing it in a part. Follow these steps:

  1. Open a new part, and create a rectangular base feature, about three inches high by three inches wide, and three inches deep.

  2. Pre-select a flat face and start the Hole Wizard.

  3. Create a counterbored hole for a Heavy Hex Bolt, 1/2-inch, Normal Fit, Blind, 1.2 inches deep. Locate the hole with dimensions from two perpendicular edges, as shown in Figure 18.14. Click the green check mark icon to accept the hole settings.

    Figure 18.14. Placing a hole

  4. Select ToolsOptionsGeneral, and turn on Show Dimension Names.

  5. Double-click the counterbored hole feature in the FeatureManager to show the dimensions. RMB click one of the dimensions that you created to locate the center of the hole, and select Properties.

  6. Rename the dimension using different names, so that they will have meaning when you place the dimension, such as XDir, or YDir. Do this for both dimensions.

  7. Edit the second sketch of the hole. Figure 18.15 shows what the sketch should look like before and after the edit.

    Do not delete any of the named dimensions in a normal or revised Hole Wizard hole. SolidWorks has a checking mechanism that looks for these names, and it will display an error if the named dimension is not there. If there is no use for the dimension, it still has to be there, although it does not need to be used for its original use. You could rename another dimension with the name or simply dimension the centerline or an otherwise unused construction line. It does not matter about the function of the dimension, as long as there is a dimension with that name in the sketch.


    You should also name any new dimensions that you may want to change. These dimensions will have more meaning when you are placing the feature if they have names.


    Figure 18.15. Reconfiguring the hole

    Remember that to get the diameter dimensions shown in Figure 18.15 (instead of radius dimensions), you must use the dimension tool to select the centerline (construction line) and the line or endpoint on one side, and then move the cursor to the other side of the centerline to place the dimension (the order of selection does not matter). When the cursor crosses the centerline, the dimension will display as a diameter instead of a radius.


  8. When you are done editing the sketch and renaming dimensions, exit the sketch.

  9. Click the CBORE feature twice, or click it once and press F2, to rename it as SpecialHole.

  10. Pre-select the same flat face that the first hole feature was placed on, and start the Hole Wizard again.

  11. Place a #8-32 tapped hole, accept the default depth, and specify a center-to-center distance of .75 inches between it and the SpecialHole. Rename the radial dimension as MountRad.

  12. Using the temporary axis through the center of the SpecialHole, make a circular pattern of the new tapped hole, creating a total of four instances of the tapped hole. Make the SpecialHole Feature red, and the tapped hole and pattern yellow.

  13. Split the FeatureManager window into two by using the splitter bar at the top. Change the lower panel to the ConfigurationManager.

  14. Rename the Default configuration to Size1.

  15. Create a new configuration called Size2. Double-click the SpecialHole feature and change the dimension named C'Bore Dia to 1.5 inches. Be sure to change to This Configuration Only, using the drop-down menu.

  16. Make a dimension change for the MountRad dimension to 1 inch. The results to this point are shown in Figure 18.16.

    Figure 18.16. The results after step 16

  17. Auto-create a design table by selecting InsertDesign Table, and then selecting the Auto-Create option. Edit the design table to look like Figure 18.17.

    Remember that to fill the first two columns up to Size5, you can make the two-by-two selection of the Size1 and Size2 entries in the first two columns, and pull down the handle in the lower-right corner of the selection box until the appropriate boxes are filled.


    Figure 18.17. The design table for the SpecialHole feature

  18. Manually fill in the C'Bore Dia values, but in cell D3, type the equation =C3/2+.25. Then use the same Fill technique to populate cells D3 to D7.

  19. Test the configurations to make sure that they all work.

  20. In the Design Library, browse to a folder where you would like to put this library feature. (Make sure that it is not used by assemblies or sheet metal forming tools.) Click a face created by the SpecialHole feature, and drag the feature into the lower pane of the Design Library. The Add to Library PropertyManager should appear on the left.

  21. Although you selected a feature and dragged it into the library, the Items to Add field appears blank. Select the SpecialHole, tapped hole, and circular pattern features, either through the split FeatureManager or the flyout FeatureManager. Selecting the features from the graphics window does not work.

  22. Position and zoom the view of the part so that when it is saved, you see a good preview of the library feature. Also, if you have not changed your background color from blue to white, this would be a good time to do so.

  23. In the Save To pane, make sure that you select the correct folder, then fill in a filename, and click OK. Figure 18.18 shows the completed PropertyManager interface for this function.

    You may notice that there are two library entries in the window. This is because an additional path has been added in Tools Options File Locations, Design Library.


  24. If the new library feature does not appear in the Design Library, then click in the Design Library and press F5. If you do not like the way that it displays, then RMB click in a blank space inside the lower library window and select one of the other three options.

  25. To edit the preview image of the feature, RMB click the feature in the Design Library window, select Open, reposition or zoom the view, and save it. Click in the Design Library and press F5 again.

    Figure 18.18. Saving the library feature

    It is recommended that when placing a library feature, you should close the original library feature window. The workflow proceeds much more smoothly if the part is closed before you use it.


  26. Open the part from the CD-ROM called Chapter 18 Tutorial Blank.sldprt. If you would like to examine the version of the SpecialHole part that I created, it is stored with this data as well.

  27. Drag the SpecialHole library feature from the Design Library onto the face of the blank part. Place the feature near the squared-off end. Select a configuration from the list in the PropertyManager.

    Although there is no prompt, when the Library Feature interface hesitates and there are configurations in the library feature, it is waiting for you to select a configuration. A prompt actually does exist, but it appears in the lower-left corner of the screen on the status bar in a tiny font, and most users probably do not notice it.


  28. Try to orient the part in the same way that it appears in the preview window, as shown in Figure 18.19.

    Figure 18.19. Orienting the part and selecting references

  29. Select edges on the Blank part that correspond to the preview window. Click OK to accept the placement of the feature.

  30. Double-click the SpecialHole feature and change the X and Y placement dimensions to place it one inch from the edges in both directions.

    NOTE

    You may remember from Chapter 10 that library feature configurations cannot be controlled by part configurations. In order to show different library feature configurations in different part configurations, you need to suppress one library feature and insert another. This is the best available workaround. It may be time to visit that enhancement request site again.

  31. Place another library feature onto the blank part. Select a configuration, and click the green check mark icon, without selecting edges for the references.

  32. Notice that the feature in the FeatureManager appears with an exclamation mark. If you investigate the cause of this, then you can see that the two dimensions that should be attached to edges are dangling because you did not select the references while placing the library feature. This was done on purpose to show a different technique.

  33. Expand the library feature and the SpecialHole feature, and edit the first sketch in the Special Hole. This is the placement sketch. Delete the two dimensions that appear in dangling colors.

  34. Add a concentric sketch relation between the placement point and the arc edge of the Blank part. Exit the sketch. The error message should now be gone and the hole should now be placed in the center of the arc.

  35. RMB click the second library feature and select Dissolve Library Feature.

    NOTE

    When you dissolve a library feature, you lose any access to any configurations. Some users insist on dissolving every library feature, so that they can see regular features in the FeatureManager. This technique may also be useful if you would like to reorder some of the individual features within the library feature.

  36. Figure 18.20 shows the finished part and FeatureManager. Good job!

    Figure 18.20. The finished part


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint