When you're working on parts or assemblies, design work will often begin with 2D sketches. In the previous chapter, we used assembly sketches to drive patterns. You can follow through to 3D with data created in this phase by laying out the design as a sketch in the assembly before you start making actual 3D parts. When you use a single sketch or multiple sketches either as a visual guide or as a functional framework for a model, the visual guide is called a layout. Two-dimensional sketches are easy to produce and easy to use as the first step in design or modeling work. SolidWorks provides both formal and informal techniques for achieving this sort of effect.
The topic of layout sketches involves other topics, such as in-context modeling and master model techniques, which are covered in more detail later in this book. These topics are introduced here at a conceptual level to prepare you for the detailed information later.
In-context modeling involves the creation of relationships between parts in an assembly such that one part drives features on another part. Layout concepts apply to in-context modeling because you can use an assembly-level sketch to drive geometry within individual parts.
An informal technique called an assembly layout sketch has existed since early versions of SolidWorks. This technique has been included in the SolidWorks official training materials for many years, and it simply allows an assembly-level sketch. You can do one of several things with the sketch: build parts in place on it, use it to drive component patterns, mate parts to it, or use it to cut up a single part into multiple pieces. You can also adapt the assembly layout sketch technique for use as a single point of reference when you need to change multiple features within a single, highly complex part.
The formal assembly feature is called the Layout. The Layout is an assembly-level 3D sketch that displays a specific icon and has some special properties. Although the formal feature and the informal technique have similar names, they have very different functions.
In this book, the word layout is used with a lowercase “l” to refer to the informal assembly-based sketch layout method. The formal assembly-based 3D sketch with special properties is referred to with a capital “L” as a Layout. The Layout icon from SolidWorks may also accompany the formal feature.
In SolidWorks, layout sketches are a great way to simulate mechanisms or to locate the major components of an assembly. Figure 16.1 shows three examples of assemblies created with the assistance of an assembly layout sketch.
FIGURE 16.1 Assembly layout sketches can be used in a wide range of applications.
The bicycle example is used throughout this book, and the layout sketch was instrumental in establishing the geometry of the frame, wheels, and fork. Most of the components of a bicycle are purchased as off-the-shelf items that may come in different sizes but are not custom-created for individual bikes. The only parts that are generally custom-built for a particular size are the frame and possibly the fork. Therefore, to design the frame, you must lay out all the data that you are given for the individual components, such as wheels, stem, crank set, and seat. When you put everything together, additional pieces of information determine the frame geometry before the detail design of the frame can be started. You need to know the following:
The workflow for using an assembly layout sketch is as follows:
As previously mentioned, the assembly-level sketches from Chapter 15, “Patterning and Mirroring Components,” that we used to create chain patterns were assembly layout sketches used in a slightly different way. Alternatively, you can build parts in place using the layout sketches as references (top-down or in-context method).
First, you start with the wheels. In this example, you want to design an urban utility bike based on mountain bike components, with dual suspension, but using narrow tires, and that means 26-inch wheels. You need a certain amount of ground clearance as the pedals rotate, and you need clearance between the rider's toes and the back side of the front wheel. You will design the frame to fit a rider who is about 5-feet, 8-inches tall.
The size information is important because the distance between the wheel centers (wheelbase) creates certain characteristics for riders of different heights. A longer wheelbase generally means a more stable and comfortable ride, but the bike is less maneuverable and heavier. In this case, based on other research, you want the wheelbase to be 41 inches.
Those specifications allow you to create the sketch shown in Figure 16.2.
FIGURE 16.2 Starting the bicycle layout sketch
The next set of information you can put into the sketch has to do with the height of the top bar (which is important when you stand over the bike with your feet on the ground) and clearance between the frame and front wheel for the travel of the front suspension fork. This establishes most of what you need to know to design the frame, but you still have to work out the rear suspension arm.
With this information, the layout sketch looks like Figure 16.3.
FIGURE 16.3 Adding information to the layout sketch
With this data, you have all the critical point locations to design the actual frame. The first step in creating the frame is to place reference geometry (sketch planes) from which to make sketches for the individual tubes of the frame. The frame will be a carbon fiber monocoque, but it still relies on tubular geometry, with smooth blends between the tubes to reduce stress concentrations. The layout with the planes and the initial tubes is shown in Figure 16.4.
FIGURE 16.4 Building the tubes for the frame
When all the tubes are created in-place in the assembly from the assembly layout sketch, the top of the assembly FeatureManager looks like Figure 16.5.
FIGURE 16.5 Examining the features built from the assembly layout sketch
The arrow symbol (→) indicates that there is an external reference from the part to the assembly sketch. (External references are covered in more detail in Chapter 21, “Editing, Evaluating, and Troubleshooting Assemblies.”) Using the assembly layout sketch technique, an external reference is made every time a relationship is made from the part to the assembly sketch. Many users prefer to avoid external references, mainly because of the file management issues they cause, the difficulty in repairing them when broken, and rebuild speed performance issues. However, references to an assembly sketch are more stable than references between two parts in an assembly.
When you use an assembly layout sketch for either the in-context part building or simply part positioning, the main advantage that it offers is to give you a single driving sketch that enables you to change the size, shape, and position of the parts. You can use as many layout sketches as you want, and you can make them on different sketch planes. This enables you to control parts in all directions.
One of the drawbacks of this technique is that you give up dynamic assembly motion. When you create the parts in the context of the assembly and create relationships between sketches or features and the assembly sketch, you cannot move the parts by just dragging them with the cursor. To move the parts, you must move the sketch and rebuild. The part does not move until the sketch is updated. If you need to combine layout functionality with dynamic assembly motion, you can add more instances of the in-context parts that are mated in the traditional way. However, when using this method, be very careful about which instance you make your edits to, because in-context relations are driven by the original instance.
Another drawback of the assembly-level sketch in general is that you cannot use a sketch picture inside the sketch. Sketch pictures can contain important reference information for building a model. The lack of this capability is certainly noticeable. You can put your sketch picture in a part or even a virtual component.
The master model technique is covered in depth in Chapter 33, “Employing Master Model Techniques,” but it is mentioned here because it works as an alternative method with the layout idea. The term master model can mean a couple of different things: It could be a single part where multiple bodies are created and then later split into multiple parts. Also, it is sometimes used as the name for inserting a single part with sketches and reference geometry into one or more other parts to have a single reference without creating that reference in the assembly.
This still creates an external reference, but it creates only a single external reference instead of possibly dozens, and updates of the inserted part can be locked. Performance problems with this technique are less serious. Also, if the file management fails and SolidWorks cannot find the inserted part, you can still keep working. SolidWorks keeps enough data in the child part that it does not need to constantly access the parent part.
The master model technique seems to have more advantages and fewer disadvantages than the methods that use assemblies. The dynamic assembly motion problem doesn't exist in a master model arrangement, nor does the lack of sketch picture functionality.
An example of this kind of work is shown in the derailleur assembly in Figure 16.6.
FIGURE 16.6 Using a master model to drive the individual parts of an assembly
The part shown on the left is the master model. Notice that it contains sketch, plane, and surface data. The image on the right shows some parts superimposed on the master model part.
Due to some quirky behavior, the Layout feature is not generally employed by users. Most people who have been using the layout techniques described earlier in this chapter haven't switched to that method, even though it has replaced older methods in the official SolidWorks assemblies training manuals.
The Layout feature is a 3D sketch that is given special treatment within an assembly. It works best with sketch blocks. These are the special properties of the Layout feature when compared to a 2D assembly sketch:
To initiate a Layout, click the Layout button on the Layout tab of the assembly CommandManager or activate it from the Insert menu. After you are in a Layout, SolidWorks puts you into a 3D sketch with the Front (XY) plane activated, so it displays a small grid.
For now, you should treat the 3D sketch as much like a set of 2D sketches as possible. The main difference is that you can double-click a different plane to start sketching on the new plane, and you always see this small grid when a plane is active.
You may find that 3D sketches have some limitations when you are working with Layouts. For example, they lack the capabilities to use sketch patterns and sketch pictures.
With most functions in software of any type, you tend to get better results when you can use the software in the way it was intended. Generally, developers have a workflow in mind when they design the function itself and the interface. Working with the software is usually easier than working against the software.
Here is the general workflow for using the Layout feature:
Virtual components always exist with in-context workflows and frequently with the Layout workflow. Virtual components are parts or subassemblies that are created within the assembly. You can save a virtual component externally, and you can make an externally saved part into a virtual component. The advantages of virtual components are that you don't have to worry about saving out additional files and that the assembly will never lose track of any virtual component.
Some SolidWorks users use virtual components to represent non-geometric parts such as glue or paint. Anytime you choose Insert ➢ Component ➢ New Part from the menus and select a template and a plane to put the part on, the part is placed immediately into the assembly, and you can start working without worrying about having to save the assembly and the part. This saves lots of time initially. Later, when you save the assembly, SolidWorks will prompt you to save the parts externally and name them as well, or you may choose to leave the parts internal to the assembly.
Virtual components are named Part1 Assem1
, where Part1
and Assem1
are default names. You can easily rename the part by clicking the RMB menu and selecting Rename Part. You cannot do this for external parts (unless this option is enabled). If you make an external part virtual, the name in the assembly becomes Copy of
filename
Assem1
, where filename
is the name of the external file. The name of the assembly is always included (and cannot be removed) to ensure that if you have subassemblies that also have virtual components, you always have unique filenames for all the parts.
Virtual components can also be accessed in their own window, which makes them easier to edit for some purposes. Bills of Materials (BOMs) and numbered balloons work correctly with virtual components, but they cannot have their own drawings.
In theory, the Layout feature has several advantages:
In practice, this feature needs some enhancements before it is ready for use on real assemblies. Using 2D sketches as assembly layout sketches may still be a better idea than trying to avoid the following limitations of the formal Layout feature:
Although the formal Layout feature has serious advantages over regular layout sketches, at this time, the limitations outweigh the advantages. The rest of the discussion on layouts addresses the generic layout technique rather than the formal feature.
In this tutorial, you will use regular assembly sketches to lay out and build a tooling die.
Chapter 16 tutorial layout start.sldasm
assembly from the download material. Notice that three layout sketches and some of the parts have been added already. The existing parts are virtual components, saved inside the assembly, so there are no referenced part files.FIGURE 16.7 Creating a new plate in the context of an assembly with layout sketches
FIGURE 16.8 All the plates controlled by the layout sketches
Make sure the holes are Counterbored, ANSI Metric, Socket Head Cap Screw, M10, with a head clearance of 0.10 inch. All other conditions should follow Figure 16.9.
FIGURE 16.9 Placing screw holes through multiple parts in the die
FIGURE 16.10 Creating a plane in the assembly driven by the layout sketch
FIGURE 16.11 Saving the internal virtual components to external parts
FIGURE 16.12 Editing layout sketch dimensions to drive the size of the individual parts
Laying out an assembly with reference sketches is a more disciplined way of working that can help you avoid some of the complications of external references and in-context design work. It is up to you to decide whether the informal 2D layout sketches are preferable to the formal 3D sketch-based Layout feature. Both offer tools to control positions of parts and even features of parts within an assembly.
Traditional assembly-modeling methods where each part is located by mates from another part do not stand up well against changes in the parts themselves. The main goals of the layout methods are centralization of control and stability of changes. I invite you to explore some of these methods using the tools you have learned in this chapter.
4-bar Link Layout solution.sldasm
) to first rename and then save out the internal virtual parts so they are external, stand-alone parts.