Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 118 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
118
Dung lượng
3,3 MB
Nội dung
Part I: SolidWorks Basics 192 When you apply an appearance at the level of the part (the name of the part shows in the Color and Optics PropertyManager), any other entity color will override it. You can assign Solid or Surface bodies an appearance that overrides the part appearance. Some color changes are automatic; for example, when you are editing parts in the context of an assembly, they can temporarily change color or become transparent, which overrides everything else. Other entity colors You can color other entities in addition to the 3D shaded model. Curve entities (such as a helix or projected curve) can be colored in addition to sketches with the Edit Sketch or Curve Color tool. You can only view sketch colors when the sketch is closed and shown, because when the sketch is open, the entity colors have special significance indicating the sketch status. Note The Edit Sketch or Curve Color works for sketches and limited curve features. It works for all curve features except for projected curves. In addition, pre-selection does not work with this tool. The Edit Sketch or Curve Color tool is grouped with the commands in the View toolbar in the Tools ➪ Customize ➪ Commands menu area. n The Display pane The Display pane flies out from the right side of the FeatureManager and displays a quick list of which entities have appearances, transparency, or other visual properties assigned. It also shows hidden parts or bodies for assemblies and multibody parts. The Display pane is shown in Figure 5.18. I revisit the Display pane in Chapter 12 to show you how it is used in assemblies. FIGURE 5.18 The Display pane in action Chapter 5: Using Visualization Techniques 193 Automatic color features The settings found at Tools ➪ Options ➪ Document Properties ➪ Colors can be used to automatically color certain types of features with specific colors. For example, all Shell features can be colored red as they are created. Remove appearances You can access tools to remove appearances in two separate locations. The first is the Appearance flyout on the context toolbar for either left- or right-clicking on a model (the Appearance flyout is only available on the RMB menu if you have not disabled the context toolbar for shortcut menus). The second location is in the Appearances PropertyManager. Both of these locations are shown in Figure 5.19. FIGURE 5.19 Access the tool to remove appearances in the PropertyManager or the context toolbars Using Display States One of the most commonly used and powerful visualization aids available in SolidWorks is the Display States functionality (see Figure 5.20). Display States is simply the capability to show parts shaded, shaded with edges, wireframe, HLR (hidden lines removed), or HLG (hidden lines in gray). Cross-Reference Chapter 14 deals with Display States in more detail. n In addition to being able to use display states to differentiate parts in an assembly, you can use display states for bodies within parts. I only mention the capabilities in this chapter because display states are a huge tool for visualization in both parts and assemblies. Examples of the functionality applied to real modeling situations will come in Chapters 12 through 16 for assemblies and Chapter 28 multi-body topics. Part I: SolidWorks Basics 194 FIGURE 5.20 Display States in an assembly Using Edge Settings Earlier in this chapter, I discussed the Shaded with Edges display style. Some people think that this makes the parts look “cartoony.” I agree, especially when the default black edges are used, but the display improves when the edge color matches the shaded part color. In any case, sometimes this method is necessary to see the breaks between faces, especially fillets. Cartoony or not, it is also useful. Taking this one step further, you can also make use of the tangent edge settings. These settings are found in the View ➪ Display menu. The settings are l Tangent Edges Visible. Displays tangent edges as solid lines, just like all other edges l Tangent Edges as Phantom. Displays tangent edges in a phantom line font l Tangent Edges Removed. Displays only non-tangent edges The tangent edges removed setting leaves parts looking like a silhouette. I prefer the phantom setting because I can easily distinguish between edges that will actually look like edges on the actual part and edges that only serve to break up faces on the model. The tangent edges visible setting conveys no additional information, and is the default setting. Figure 5.21 shows a sample part with all three settings. Chapter 5: Using Visualization Techniques 195 FIGURE 5.21 Samples of the tangent edge settings Using Assembly Visualization Assembly Visualization is a tool that enables you to sort or display parts and subassemblies in an assembly in various ways, including by filename, quantity, mass, or a custom property value. When you click on column headers to sort the names of components in the assembly, you can move the sliders on the left side of the FeatureManager to change the display colors of the parts. Part I: SolidWorks Basics 196 You can expand or collapse subassemblies by clicking the assembly symbol at the top of the tree, or you can disable the color display by clicking the color gradient scale. Value bars can also be displayed to show the relative value of each assembly component. Figure 5.22 shows a model of a bicycle sorting subassemblies by mass. The gray value bars are superimposed on the text in the FeatureManager area. You will have to open an assembly on your computer and try this for yourself to see the color display. FIGURE 5.22 Assembly Visualization offers several ways to sort and display the components in an assembly. You can access the Assembly Visualization tool on the Evaluate tab of the CommandManager when an assembly is active. The toolbar icon is with the Tools icons, and you can find it by choosing Tools ➪ Customize or through the Tools menu in an assembly. Tutorial: Applying Visualization Techniques Visualization is a key factor when working with SolidWorks software. Whether it is for a presentation of your design to customers or management or simply checking the design, it is important to be able to see the model in various ways. This tutorial guides you through using several tools and techniques. 1. If the part named Chapter5Sample.sldprt is not already open, open it from the CD-ROM. If it is open and changes have been made to it, choose File ➪ Reload ➪ OK. 2. Practice using some of the controls for rotating and zooming the part. In addition to the View toolbar buttons, you should also use Z and Shift+Z (Zoom Out and In, respectively), the arrow keys, and the Ctrl+, Shift+, and Alt+arrow combinations. 3. Use the MMB to select a straight edge on the part, and then drag it with the MMB. This rotates the part about the selected entity. Also, apply this technique when selecting a vertex and a flat face. Chapter 5: Using Visualization Techniques 197 4. Select the name of the part at the top of the FeatureManager. 5. Click the Appearance button from the Heads-up View toolbar at the top of the graphics window. 6. Click the color you want in the Favorite panel. The model should change color. If you click and drag the cursor over the colors, the model changes color as you drag over each new color. You can also drag appearances from the Task Pane. Figure 5.23 shows interfaces for both methods. FIGURE 5.23 Use the Appearance PropertyManager to change color and material Part I: SolidWorks Basics 198 7. If the Color panel is not expanded, click the double arrows to the right to expand it. Select the colors you want from the continuous color map. Again, click and drag the cursor to watch the part change color continuously. 8. Create a swatch. In the Favorite panel, select the Create New Swatch button and call the new swatch color file BibleColors. 9. Select a color from the Color Properties continuous map; the Add Selected Color button becomes active. Clicking the button adds the color to the swatch palette. You can add several colors to the palette to use as favorites later on. Tip You will be able to access these colors again later by selecting BibleColors from the drop-down list in the Favorite panel. You can transfer the colors to other computers or SolidWorks installations by copying the file BibleColors.slddclr from the <SolidWorks installation directory>\lang\english folder (or the equivalent file for your installed language). n 10. In the Appearance panel, move the Transparency slider to the right, and watch the part become transparent. 11. To prevent the Appearance window from closing after every change, click the pushpin at the top of the window. 12. Click the green check mark icon to accept the changes; note that with the pushpin icon selected, the window remains available. 13. Expand the flyout FeatureManager in the upper-left corner of the graphics window, as shown in Figure 5.24, so that all the features in the part are visible. FIGURE 5.24 The flyout FeatureManager Chapter 5: Using Visualization Techniques 199 14. Select the features Extrude1, Fillet7, and Fillet6 from the FeatureManager so that they are displayed in the Selection list of the Appearances window. Select a color from the BibleColors swatch palette that you have just created. 15. Click the check mark icon to accept the changes and clear the Selection list. 16. Select the inside face of the large cylindrical hole through the part and assign a separate color to the face. 17. Click the check mark icon to accept the changes, and click the red X icon to exit the command. 18. Expand the Display pane (upper-right area of the FeatureManager). You should see color and transparency symbols for the overall part, and color symbols for three features. There is no indication of the face color that is applied. 19. Remove the colors. Open the Appearances window again, re-select the three features (Extrude1, Fillet7, and Fillet6), and click the Remove Color button below the Selection list. Do the same with the colored face. Return the part transparency to fully opaque. 20. Click the check mark icon to accept the changes. 21. Change the edge display to Shaded (without edges). Then change to a Wireframe mode. Finally, change back to Shaded with Edges. 22. Choose View ➪ Display ➪ Tangent Edges as Phantom. Figure 5.25 shows the difference between Tangent Edges Visible, as Phantom, and Removed settings. Tip Using the Tangent Edges as Phantom setting is a quick and easy way to look at a model to determine whether face transitions are tangent. It does not help to distinguish between tangency and curvature continuity; you need to use Zebra Stripes for that. n 23. Switch back to Shaded display. 24. If you do not have a RealView-capable computer, then skip this step. Ensure that the RealView button in the View toolbar is depressed. Click the Appearances/Scenes tab on the Task Pane to the right of the graphics window. Expand Appearances ➪ Metal ➪ Steel; then in the lower pane, scroll down to the Cast Carbon Steel appearance. 25. Turn the part over, select the bottom face, and drag and drop the appearance from the Task Pane. Apply the appearance just to the bottom face using the popup toolbar that appears. The rest of the part should retain the semi-reflective surface, as shown in Figure 5.26. Click the check mark icon to accept the change. 26. Click the Section View button on the View toolbar. Drag the arrows in the middle of the section plane back and forth with the cursor to move the section dynamically through the part, as shown in Figure 5.27. 27. Select the check box next to the Section 2 panel name and create a second section that is perpendicular to the first. 28. Click the green check mark icon to accept the section. Notice that while in the Section View PropertyManager, the RealView material does not display, but once you close the dialog box, RealView returns. Part I: SolidWorks Basics 200 FIGURE 5.25 Tangent Edge display settings for a shaded model FIGURE 5.26 Applying an appearance to a face [...]... the last fillet feature to just after Extrude3 If Extrude3 is expanded so that you can see Sketch3 under it, then drop the rollback bar to after Sketch3 If a warning message appears, telling you that Sketch3 will be temporarily unabsorbed, then select Cancel and try the rollback again Figure 6.15 shows before and after views for the rollback 3 Edit Sketch3 and deselect the Sketch Relations display (View... Bars to show the relative weights of parts 201 Part I: SolidWorks Basics Summary Visualization is a key function of the SolidWorks software It can either be an end to itself if you are showing a design to a vendor or client, or it can be a means to an end if you are using visualization techniques to analyze or evaluate the model In both cases, SolidWorks presents you with a list of tools to accomplish... SketchXpert manually instead of automatically, you can access it by right-clicking in a sketch FIGURE 6 .3 The SketchXpert dialog box 208 Chapter 6: Getting More from Your Sketches Copying and Moving Sketch Entities SolidWorks offers several different tools to help you move sketch entities around in a sketch In SolidWorks, it is usually recommended to keep the sketch as simple as you can, and to create patterns... thicknesses or styles within a single sketch Figure 6. 13 shows a sketch with the thickness and style edited Cross-Reference Line thickness and line styles are covered in more detail in the discussion of drawings in Chapter 20 n FIGURE 6. 13 A sketch with edited line thickness and line style 219 Part II: Building Intelligence into Your Parts Using Other Sketch Tools SolidWorks has a lot of functionality that overlaps... you through the steps necessary to make use of the Assembly Visualization tool in SolidWorks 1 Close other open documents by choosing Window ➪ Close All command If you have any documents open from the CD-ROM, you can save them using the Save As command 2 Open the assembly file BibleBikeAssembly ch5.sldasm from the CD-ROM 3 Select the Assembly Visualization tool from the Tools menu You can also select... explode sketch text so that it becomes simply lines and arcs in a sketch, which you can edit the same as any other sketch You can also adjust the Width Factor and Spacing settings Starting in the 2010 version of SolidWorks, you can link the text to a custom property This means that sketch text can be changed with configurations Configurations are covered in a later chapter The text used to extrude a feature... into Your Parts T he chapters of Part II take you beyond the basic modeling tools so you can start taking advantage of the parametric options within SolidWorks Chapter 6 acquaints you with the entire breadth of sketching tools and techniques available in SolidWorks Chapter 7 assists you in finding the right tool for the right job Chapter 8 debunks some myths about patterning and mirroring and helps you... overlaps between multiple topics The following tools could appear in other sections of the book, but I include them here because they will help you work with and control 2D sketches in SolidWorks Almost everybody who opens the SolidWorks software at one time or another has to use a sketch, so these tools could be applied by a wide swath of users RapidSketch As the name suggests, RapidSketch is meant to help... visible in the background, SolidWorks might interpret certain selections as trying to change sketch planes To get back to a previous sketch, deactivate the current sketch tool (for example, by pressing Esc) and double-click the previous sketch you want to return to To move to a later sketch, use the normal sketch exiting techniques RapidSketch is a rarely used function in SolidWorks It has been available... don’t drive directly Metadata for sketches Metadata in SolidWorks is non-geometrical text information Metadata is particularly helpful as keywords in searches as well as in Product Data Management (PDM) applications If you don’t use metadata within your CAD documents, it can be easy to forget that it is there at all The sources for storing metadata in SolidWorks files are l Sketch and feature names l Sketch . selecting BibleColors from the drop-down list in the Favorite panel. You can transfer the colors to other computers or SolidWorks installations by copying the file BibleColors.slddclr from the < ;SolidWorks. appearances from the Task Pane. Figure 5. 23 shows interfaces for both methods. FIGURE 5. 23 Use the Appearance PropertyManager to change color and material Part I: SolidWorks Basics 198 7. If the Color. you can save them using the Save As command. 2. Open the assembly file BibleBikeAssembly ch5.sldasm from the CD-ROM. 3. Select the Assembly Visualization tool from the Tools menu. You can