Components are entities that can hold other entities. Components are similar to Group entities, but they are commonly used to combine several entities as a single entity for the purposes of reuse in multiple models. Use the Make Component menu item from the Edit menu to create a component from the currently selected entities.
Components are useful for creating reusable models to be placed within other models. The most important issue to consider when creating components is how you want them to be placed when inserted into the model from the Component Browser. The component axes will dictate both component orientation on insert and cutting plane (for components that are to automatically cut holes in faces, such as windows). To create a component:
Note - The Make Component operation disconnects any geometry that was connected to selected geometry prior to placing the selected geometry in the component. The disconnected geometry is maintained outside of the component's context.
Note - You can make component hierarchies by grouping other Component entities within a component. Additionally, you can mix your hierarchies by including components and groups within other components and groups.
Tip - Create components that can be attached or glued to a surface in context (on a surface) to ensure that the cutting plane is established correctly.
The Create Component dialog box is displayed when you attempt to create a component using the Make Component menu item.
Name: The Name field can contain the name of the component definition. All component definitions must have a name.
Description: The Description field can contain a description of the component.
Glue to: The Glue to drop-down list is used to identify the faces where your component can be placed when initially placed from the Component Browser. For example, a standard door might only be glued to faces in the horizontal (blue) plane. A grey gluing plane guide will appear when a specific gluing plane is selected. This plane represents exactly where the component will orient to a face and cut into a face. The following image shows a window component during component creation. Notice that the gluing plane (the grey plane) is parallel to the red/green plane and bottom of the window). This window component was also set to glue to vertical surfaces.
The following image shows what occurs when the previously mentioned window component is placed, from the Component Browser, against a vertical surface. Notice that the window meets the vertical face at the window's bottom because it was created with a gluing plane that is parallel to the bottom of the window.
Usually you want windows and doors to have a gluing plane that is parallel to the front or back of the window or door (not the bottom). You might need to reorient the component's axes at creation, using the Set Plane button, to properly set the gluing or cutting plane.
Set Gluing Plane: The component axis defines how the component inserts and aligns to other geometry or to the camera. The component axis also defines the cutting plane by the orientation of the red/green plane. The Set Plane option is used to specify a different origin for the Component and to modify the orientation of the component when it is placed. To set the origin and plane of a component:
Note - When you change the axes you change the orientation of the component when dragged from the Component Browser and the cutting plane. By default, the component's axes are placed as though the component will be inserted from the Component Browser in the exact orientation as the component is in while you create the component. Generally, you will not want to change this orientation unless, for example, you are creating a window component independent of other geometry and in the vertical plane (blue). In this case, the bottom of the window will be on the red/green plane. The red/green plane is the gluing and cutting plane. As such, this window's bottom will therefore want to align and cut into a face when placed in the model from the Component browser. As mentioned previously, however, it is best to create window and door components within the context of a surface type where they will ultimately be placed, such as a wall, so you do not have to reorient the axes. Follow the last two steps in this list if you need to reoriented the component axes.
Cut Opening: The Cut Opening option allows the Component to create openings in the face onto which it is placed. For example, a door or window component might be set to cut an opening in any wall where instances of the component are placed.
Note - There must be edges along the cutting plane of the component to cut a hole in a face.
Always face camera: The Always face camera option allows the component to take on billboard behavior by drawing the component as a 2D form. This option increases performance by eliminating the need to render the component as a 3D model.
Note - Components with the Always face camera option enabled cannot have gluing behavior.
Shadows face sun: This option is only available when the Always face camera option is enabled. The shadows face sun option causes the shadow to be cast from the component's current position as though the component were facing the sun. The shadow shape does not change as the component rotates to face the camera. This option works best with components that have short bases (such as trees). This option does not work well with components that have wide bases (such as people in mid stride).
Note - Ensure the component's axis is positioned at the bottom center of the component for best results.
Uncheck this option to cause the shadow to be cast from the component's current position. The size of the shadow changes based on view point.
Replace selection with component: The Replace selection with component option causes the currently selected entities to be turned into a Component instance. Uncheck this option to create a component definition in the Component Browser without creating a component instance from selection set.
A Component Definition and a Component Instance are created when a component is created using the Create Component dialog box. Components Definitions define or provide a blueprint for how all components of a specific type, called instances, appear and behave within the drawing area (whether they can be glued to faces, where insertion points appear, and so on). Component Definitions are represented by thumbnail images in the Component Browser.
Component Instances are components definitions that have been inserted in the drawing area (called instancing). Component Instances all look like and have the same default behavior as the Component Definition, but, once brought into the drawing area, can be rotated, scaled, and painted independently of other instances.
There are a variety of different ways to insert component instances in SketchUp.
Pre-defined Components are most often inserted from the Components Browser into a model. See the Component Browser for further information.
You can also insert a component from an external SketchUp file. To insert a component from an external SketchUp file:
Tip - The component axes origin is the default insertion point for a Component. Change the location of the component's axes before you insert the component to change the default insertion point.
Finally, you can also insert a component from the File Explorer. To insert a component from the File Explorer:
Tip - The component axes origin is the default insertion point for a Component. Change the location of the component's axes before you insert the component to change the default insertion point.
You can edit the component as a whole or edit individual entities within a component. Editing or modifying the component instance as a whole affects only the component instance, not the component definition or other instances.
Scaling a component as a whole scales the individual component instance, not the component definition, allowing you to have many differently scaled instances of the same component in your model.
A component can become skewed when you scale the component in multiple directions. You can reset both a components scale and skew using the Reset Scale and Reset Skew context menu items.
You can flip (or mirror) a component along its axes using the Flip Along component context menu item. Choose Component's Red, Component's Blue, or Component's Green depending on the direction to flip the component.
Components can be rotated using either using the Move Tool or Rotate Tool. The first rotation method rotates the component about its center of mass and in the planes of the component bounding box. The second rotation method allows you to specify precise rotate planes and center of rotation. See the Rotate Tool for further information on this second rotation method. To rotate a component using the Move Tool:
Editing the entities within a component requires you to enter the component's context. Editing or modifying the entities within a component instance affects the component definition and other instances of the component. To edit the entities within a component:
Tip - Double-click on the component to edit the component.
Tip - Click outside of the component to close the component.
Video - A video tutorial on this topic is available at
http://www.sketchup.com/training/tutorials.php
You can explode a Component entity to break it back into its original entities. To explode a component:
Elements within components that were placed adjacent to other geometry might become joined to elements exterior to the component when the component is exploded.
Any geometry inside a component that is painted with the default material will be painted when you paint the instance as a whole. Therefore, you can have entities within a component painted individually while other elements painted using the material assigned to the entire component. The following image contains four cars all enclosed in components. The tires, bumper, and windshield have been painted black when editing the component.
Each entire component instance was then painted after being edited, turning each of the faces with the default material to the color applied on the group (green, blue, red, and yellow from left to right):
The Component Browser switches the insertion point from the origin of the component's axes to another point on the component when you use the Move Tool to select a component, that is already in your model, using a different (non-origin) point. For example, if you have a 3d rectangle component, the origin and insertion point will be the lower left-hand corner. However, if you insert this component and then move it by a midpoint, the insertion point changes to the mid point (while the origin remains at the lower left hand corner).
This feature is useful when aligning components, such as cabinet components in a kitchen. Consider the following:
Context-click on the component in the component browser and select Reset Insert Point if you want to reset the insertion point to the origin of the component's axes.
|
SketchUp User Guide (Microsoft Windows): Component |
© Google Inc. 2007 sketchup.google.com |