Lesson 8: Designing a Shower Gel Bottle
You are now familiar with basic surface construction.
This lesson combines modeling techniques such as Revolve,
Boundary and Skin to create the pieces of a
shower gel bottle. Then, by using the Attach function, you
can join separate surface components into a single surface.
To build the bottle, you begin with one quarter
of the final shape, and then mirror it twice. In addition, several trimming
techniques are used to create a hook for the base of the bottle.

Initial Setup
Throughout this lesson, you use pre-made curves to
create surfaces. The different sets of curves that you need are located
on different layers within the one file. When the file opens, the profile
curve that you use to shape the bottle's neck is visible, and the other
curves are in Reference mode.
Retrieve an existing wire file
- From the File menu, select Open.
- In the File lister, double click on the file named L08_ShowerGel.
If prompted, click Yes to delete all existing objects,
views, shaders and actions.
- From the Layouts menu, select Perspective to expand the
Perspective window to the full screen.
- Click on the Bottle neck Layer button to highlight it as the
construction layer.
Note: Although the curve to be revolved
is on the Bottle neck Layer, the revolved surface will be placed
on the construction surface.

Revolve
This curve is revolved around the Z-axis to construct
the bottle neck surface. Once the surface is updated, you delete the original
profile curve to remove history and clean up the model.
Revolve the Profile curve
Select Surfaces
Revolve-
to display the
Revolve Options box. Make sure that the Z-axis is selected.

- Click on Go. Click on the profile curve to revolve it into a
surface.

Notice how the Revolve displays the
axis line and revolve arrows that indicate its construction history. Since
this shape has the proper revolve angle (360 degrees) and the proper radius,
you can delete the original construction curve and history.
Delete original construction curve and History
Select Pick
Object. Click-drag a pick box around the whole revolve surface.
The active surface is de-activated and the original construction curve
becomes active (picked).
- From the Delete menu, select
Del active. Click Yes to remove history and delete the construction
curve.
Save your file
- From the File menu, select Save as. Enter the name, Bottle_01
and click on Save wire.
Note: The opened file would have been overwritten.
Using Save as to re-save files lets you keep the original files.
This enables you to work progressively, without losing earlier work if
you need to back up a few steps.
Boundary
Next, you create a boundary surface that connects
the neck with the rest of the bottle. You start by changing the layer options
to display the four curves that will be used to generate the body of the
bottle.
Change Construction Layer
Click on the Bottle body Layer button to highlight it as the
Construction Layer. The four curves that will be used
to construct the boundary surface become pickable. Curves that will be
used in the construction of the rest of the body are located below the
view.
From the Bottle neck Layer pop-up menu, select Set state
Reference.
Tip: Objects on referenced layers can't
be picked or edited accidentally. They remain visible for reference, and
can be snapped to.

Create a boundary surface
Select Surfaces
Boundary surfaces
Boundary-
to display
the Boundary Options box. Click Create History to turn it
off. Make sure that the Boundary Curves option is set to Four.

Click Go. At the system prompts, click to select each of the
four boundary curves.
Once you select the fourth curve, the surface is constructed. This
surface forms the top collar of the bottle, just below the neck.

Delete the construction curves
Select Pick
Object and click-drag a pick box around the boundary surface and
its curves. Don't worry about dragging over the bottle neck, because it
is referenced. The construction curves, however, are left active.
From the Delete menu, select Del Active
to delete the construction curves.
Skin
Using Surfaces
Skin, you can create a ruled surface by skinning over two or more cross-sectional
profile curves in much the same way a boat hull is constructed over its
ribs. With the Skin tool, you can pre-determine the number
of flow line subdivisions on the resulting surface. This way, you can determine
the number of times that the surface is subdivided or ruled in the direction
of the original construction curves. This is useful for accurate and predictable
surface modification at a later date.
Note: The ability to determine the number
of spans (previously available in the Patch tool) has been incorporated
into the Skin tool.
Change the Perspective view to see the curves
- Use the dolly, track and tumble icons in the title bar of the Perspective
window to see the series of four curves as well as the new boundary surface.

Create a skinned surface
Select Surfaces
Skin-
to display the
Skin Options box. Click on the Number of Spans field and
change it to 4. This creates a ruled surface with 4 isoparm spans
in the direction of the construction curves. Make sure that the Topology
is set to Open, the Knot Spacing is set to Chord Length,
and the Surface Degree is set to 3.
Note: You need to keep Create History
turned on if you plan to edit the curves later, and if you want the surfaces
to automatically update.

Click Go. Select the outside edge isoparm of the boundary surface
as the first curve.
Click on the top curve in the series of four curves. After
you pick the second curve, the skin surface is constructed. This surface
forms the top part of the bottle body.
Note: Any isoparm of a surface can be
used as a cross sectional profile for a skin surface.
Select Pick
Object to stop the construction of the skin surface.
Note: Although the Skin tool will
be used to construct one surface from the series of four curves, constructing
two surfaces creates a cusp along the bottom edge of this first surface.

Change the Perspective view to see the curves
Use the Dolly and Track tools to change the view in the Perspective
window so that you can clearly see the series of four curves.

Create a skinned surface
Select Surfaces
Skin-
to open the Skin
Options box. Set the Number of Spans to 1. Because
the curves are so closely spaced, a higher number of subdivisions is not
needed.

Click Go. In response to the system prompts, click on the bottom
edge isoparm of the skin surface, then click consecutively on the three
remaining construction curves.

Select Pick
Object after the four curves have been selected and the surface
has been properly built. The surface is constructed
by skinning over the curves in their selected order. This surface component
forms the mid-section of the bottle.

Save the file
From the File menu, select Save as to save the wire file.
Enter the name as Bottle_02 and click Save Wire.
Another Boundary Surface
The lower body is constructed from four boundary curves.
Change the Perspective view to see the curves
- Click-drag on the dolly and track icons in the Perspective window title
bar to make the new skin surface and the three boundary curves visible
in the window.

Create a Boundary surface
Select Surfaces
Boundary Surfaces
Boundary. In response to the system prompts, pick the lower edge
isoparm of the skin surface and each boundary curve. Once
you select the fourth boundary curve, the surface is constructed. This
surface component represents the lower surface component of the bottle
body.

- Click-drag on the dolly and track icons in the Perspective window title
bar to view the entire body of the bottle.

Delete the construction curves
Now that the surfaces have been built, the construction
curves and history can be removed.
With Nothing picked,
select Pick
Component-
.
Turn all the options to Off, then click on the Curves
option. Click Go.
Click-drag a pick box around the entire bottle to select all the curves.
From the Delete menu, select Del All. Click Yes
to delete construction history.
Save the file
From the File menu, select Save to save the wire file.
Attaching Surfaces
Next, you attach the lower and middle body surfaces
using Object Edit
Attach
Attach.
The Attach function lets you turn two surface components
into a single surface.
Tip: When attaching surfaces, you must
make mental notes where each surface boundary being attached is, because
it can be difficult to distinguish one surface boundary from another if
they share the same boundary curve.
Sometimes Object Edit
Attach
Attach
will radically change the surface's shape, because the Blend mode
deletes the two surface edges when the single surface is created. At other
times, it is simply because you have chosen the wrong surface boundaries
to attach.
In either case, if the result is undesirable,
select Edit
Undo immediately to undo the attach and then try the attach again.
Select Object Edit
Attach
Attach-
and set the Knot Insertion option to ON in the Attach
Options box. This adds extra constraints to the boundary areas, and
reduces the amount of change to the shape of the surface boundaries.
Set the Attach options
Select Object Edit
Attach
Attach-
to display the Attach Options box. Make sure that Knot Insertion
is set to OFF and the Type is set to Blend. When this
is set, the two surface edges are blended together to create one single
surface. Click Save instead of Go.

Note: By saving the option settings, the
default parameters are reset for the rest of your working session without
executing the action. In this way, the Attach function can be used
later in your working session by selecting Object Tools
Attach. You don't have to access the option menu again unless you want
to change the option settings.
Attach the two surfaces
- Dolly and track into the view to display a closeup of the bottle's
middle.
Select Pick
Object. Click on the middle body surface to show its extent.
Select Object Edit
Attach
Attach.
All active surfaces are automatically de-selected.
- Alias prompts you to Select first object to attach near attach location.
Click on the horizontal isoparm that lies one in from the edge of the middle
skinned surface (as indicated below).

- The selected isoparm is highlighted. If you have selected the wrong
isoparm, cancel the function in progress by re-selecting Object Edit
Attach
Attach, then re-pick the correct isoparm. This can be done as many
times as necessary until you have selected the correct isoparm.
- The system prompts you to: Select second object to attach near attach
location. Click on the horizontal isoparm of the lower boundary surface
as indicated above. The two surface components are now
attached and blended together. Notice that the horizontal isoparms near
the blend have shifted location slightly, to reflect the altered shape
of the new surface.
Note: If you make a mistake in picking the
second surface isoparm and the surface appears to wrap around, or the result
seems incorrect, select
Edit
Undo immediately.
The attach is then reversed so you can try it again.
Tip: To undo an attach you must select
Undo before making any other button selections.
Attach the upper body surfaces
The procedure to attach the upper patched surface
to the new lower body surface is the same, but this time, you use different
isoparms. Follow the instructions carefully, and don't hesitate to undo
the attach if something goes wrong.
Attach the surfaces
Select Object Edit
Attach
Attach.

- In response to the system prompt, click on the horizontal isoparm of
the middle body surface shown above. Remember that if the wrong isoparm
is highlighted, you can select Object Edit
Attach
Attach
again, and re-select the correct isoparm.
- In response to the next prompt, click on the horizontal isoparm of
the upper patched surface (shown above). Remember that if the wrong isoparm
highlights, you can select Edit
Undo again and start the entire attach procedure over again. The
two surface components are attached and blended together into one surface.
Tumble the Perspective view
- Using the Tumble icon, tumble your view until it looks like the following
illustration. You should be able to clearly see the top and lower body
surfaces.
Attach the two surfaces
Select Object Edit
Attach
Attach.
In response to the system prompt, click on the horizontal isoparm of the
lower body surface shown above.
In response to the next system prompt, click on the horizontal isoparm
of the top boundary surface.
Select Pick
Nothing, then
Pick
Object.
Click on the surface to select it. All of the surface components are attached
and blended together. Dolly out to see the whole bottle.

Save the file
From the File menu, select Save.
Completing The Main Bottle
So far, you have created one-quarter of the final
bottle shape. Since the bottle is symmetrical in two directions, this partial
shape is all that is needed to define the whole. To turn the surfaces into
a complete bottle, you mirror it once to create half the bottle, and then
mirror the half-bottle into a whole surface.
Copy the bottle surface
- With the surface selected, from the Edit menu, select Duplicate
object-
to display the Duplicate
Objects Options box. Click on Reset then set the X value
for Scaling to -1.
- Click Go to copy the surface.

Attach the two quarter-bottle surfaces
- Before you continue, tumble and dolly the Perspective view so that
it resembles the view shown in the following.

Select Object Edit
Attach
Attach. Click on the isoparms shown above to attach and blend these
two surface components into one complete half of the bottle body.
Mirror the half-bottle
From the Edit menu, select Duplicate
object-
to open the Copy
Options. Click Reset to set all parameters back to their defaults.
Next, change the Scaling factor on the Y-axis to a value of -1.

Click Go to mirror the surface. The half-bottle surface is now
copied and mirrored across the Y-axis to create the complete bottle surface.
Attach the two halves of the bottle
Tumble the Perspective view again so you can see the side of the bottle
(as shown below). Because there are so many isoparms, this attach is tricky.
If you click on a point where several isoparms appear to meet, Alias tries
to pick them all. You need to choose the required isoparms carefully.
Tip: Before performing the attach, memorize
the location of the isoparms to be picked. You may want to maneuver the
model over the gridlines, so you can use the grid to identify the required
isoparms.
Select Object Edit
Attach
Attach.
Click on the isoparms (shown above) to attach the front and back surface
halves together.
Tumble your view so that you
can see the opposite side of the bottle body. Select Object Edit
Attach
Attach. Click on those isoparms shown below.

Save the file
From the File menu, select Save to save the model.
Creating the hook
Next, create a hook for the base of the bottle. Start
by using the Skin function to create this piece. Later, you
intersect and trim the surfaces to complete it.
Change Construction layer
With Nothing picked,
select
Pick
Object.
Click on the Hook Layer button to highlight it as the construction
layer. The Bottle body Layer reverts to a Reference state.
Set your perspective view
- Use the dolly, track and tumble icons to set the Perspective view so
that all the curves are shown. Note that some of the curves are templated.

Skin two of the curves into a surface
Select Surfaces
Skin-
. If the Number
of Spans is not 4, set it to 4. Click Go. Click
on the lower rectangular curve, then click on the upper rectangular curve.
A patch surface is created between the two curves.

Create inner and outer curves
You can use the templated curves to create surfaces
that intersect the first skin surface. In the next section, you'll trim
these intersecting surfaces.
Untemplate the four templated curves
Select Pick
Template. With the skin surface still selected, use the right mouse
button to click-drag a pick box around all four of the templated curves.
- From the Object Display menu, select Tgl template to
toggle the templates back to regular geometry, and the patched surface
into a template.
Skin the top part of the hook
Select Surfaces
Skin. Click on one of the upper curved lines, then click on the
matching curved line. A second surface is constructed.

Patch the bottom part of the hook
Re-select Surfaces
Skin to start the construction of another skin surface, and click
the two remaining curves to skin them.

Untemplate the first surface and delete curves
Select Pick
Nothing, then Pick
Template. Click on the first templated surface to make it active.
From the Object Display menu, select Tgl template to
untemplate this surface.
Select Pick
Nothing, then Pick
Component-
. Make sure
that only the Curves option is selected. Click Go.
Click-drag a pick box around the three surfaces and their construction
curves. Only the construction curves should be active.
From the Delete menu, select Del active to delete
history and the construction curves.
Save your file
From the File menu, select Save as. Enter the name Bottle_03
and click Save wire.
Trimming the bottle hook
With three surfaces completed, you can use the trimming
operation to create the shape of the hook. To perform the trim, you must
use the Intersect function to add curves on surface.
These curves can then be used to execute the trims.
Pick the first surface
Select Pick
Object and pick the main surface component, ensuring that it is
the only active piece of geometry. This is the target surface to be trimmed.

Intersect the surfaces
Select Surface Edit
Create CurvesOnSurface
Intersect-
to open the Intersect Options box. Make sure that Create Curves
on Surface is set to BOTH. Click Create History to turn
the checkmark off.

- Click Go. The surface now changes color, to indicate that it
has been selected as a target surface for a Trim operation.
Alias prompts you to: Select intersecting curves
or surfaces.
Click on any isoparm of the larger curved surface
component.
- When the first intersection is complete, Alias again prompts you to:
Select intersecting curves or surfaces.
Click on any isoparm of the smaller curved surface
component.

Two sets of trim curves have been constructed on
the main surface component. These trim curves plot the points of intersection
between the surfaces.
Trim the main surface
Select Surface Edit
Trim
Trim. Click directly on the main surface component. The surface
changes color again and the system prompts you to: Select the Regions
of the surface TO KEEP, the DISCARD button to switch.
Click on the lower front face of the main surface between the inner
and outer surfaces that intersect it. The region locators are displayed,
intersecting at the point you defined with the mouse click.

To perform the trim, click the Go icon in the lower right hand
corner of the current view window. The inner surface is now trimmed away.

Trim the other surfaces
Select Surface Edit
Trim
Trim. Alias prompts you to select the target surface to trim. Click
on any surface isoparm of the lower curved surface.
Click on the inner surface at about the same point between the walls
of the main surface to set the region locators.

Click Go to perform the trim. The inner curved surface is now
trimmed back to the edges of the main surface component to form the inner
surface.

Since Trim is a continuous function, Alias prompts you
to select another target surface to trim. Click on any isoparm of the upper
curved surface. Click on the surface at around the same point.

Click Go to perform the trim. The lower curved surface is now
trimmed back to the edges of the main surface to close the bottom of the
hook.

Tip: To see the original surfaces,
you can untrim a surface by selecting Surface Edit
Trim
Untrim.
QuickRender the whole model
Tumble and dolly the Perspective view until you see the whole bottle.
From the Bottle body Layer popup menu, select Set state
Pickable.
Note: The surfaces need to be Pickable
in order to render.
From the Display menu, select Tgl model to hide the wire
model.
Note: The model is still there; it just
can't be seen.
From the Render menu, select Quick Render--
.
Set the Quality to High and the shading Frequency
to 10. Click Go.

Save the file
From the File menu, select Save to save the model.
For Studio Users
If you have Alias Studio or AutoStudio, you can use
this model to learn the Mass properties capabilities in your
Advanced Evaluation tools. These functions will give you information about
the bottle's volume that can be used in designing the bottle.
Open the Mass Properties options
- From the Display menu, select Tgl model to show the wire
model.
Select Pick
Object. Click on the bottle to pick it.
Now select Evaluate
Mass properties -
.
In the option box, set the Bounded option to Off, and the
Volume type to Solid. Click Go.

The system calculates the volume, and then the Mass
Properties stats window displays the bottle's volume.
Note: For complex calculations such as
this one, the amount of time required is based on the speed of the hardware
Alias is running on and the amount of available memory.

Conclusion
You have now completed the Shower gel bottle. This
lesson has shown you several surface construction tools. You have also
learned about the Attach function and how it lets you put
together the various surface components to create a single surface.
aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company.
All rights reserved.