Wednesday, January 28, 2009

Tutorial 1

So following the steps below we will remake Shigeru Ban's Japan Pavilion.

To begin go to the status line and select the surface menu, go to CREATE_NURBS PRIMITIVES_INTERACTIVE CREATION. Make sure it is unchecked.

With interactive display unchecked any nurbs primitives that we create will automatically appear at the origin.

Next create a nurbs cylinder. (still in surface menu) CREATE_CYLINDER
With the cylinder selected:
using the channel box editor rotate the cylinder 90 degrees in the Rotate X direction.
Under inputs in the Channel Box editor put 180 for end sweep, and .5 for Height Ratio so that the cylinder now appears as an arch.


With the arch selecxted hold right click inside the viewport and select isoparm. Click on the edge of the arch and drag the mouse about 3/4 + across the arch like below.

Next go to EDIT NURBS_DETACH SURFACES. Using the Outliner rename the surfaces as "smArch" and "lrgArch".

Next select the both surfAaces and rebuild them by going to EDIT NURBS_REBUILD SURFACES. For the large arch, under INPUTS in the Channel Box editor select REBUILD SAURFACE and enter 1 for the U value,12 for V, and change DEGREE U to LINEAR. Repaet for the small arch using 1 for U, 36 for V, and LINEAR in U DIRECTION. (Your UVs might be oriented different than mine so just give the values to make it look like the image below.)


Select both surfaces and duplicate by pressing shift d.

Hit the w key and drag the gizmo in the x direction. Without selecting your geometry go to the Channel Box and type in the value of .5 in the Translate X field. Then press shift d and the surfaces will duplicate by the same increment. Make 22 copies.


Go to the outliner, select all "lrgArch" nodes and group them by pressing control g.

Do the same fo rthe "smArchs". Name your groups.


Group all surfaces together, go to MODIFY_CENTER PIVOT. In plan view, and with grid snaps on move the geometry to the center of the screen. To switch to top view go to the outliner and using the middle mouse button, drag the top camera into the viewport.

Using the outliner select the lrgArch group and go to EDIT CURVES_DUPLICATE SURFACE CURVES and click on the box to the right. Inside the duplicate surface curves window click on U in "visible surface isoparms.



Hit apply and curves will be generated for the arches. Group the curves and name them "Arches". Next we will select the lrgArch (surfaces) group again and this time duplicate the curves in the V direction. This will give us the spans. Group and name "lrgSpans".

Select the smArch (surfaces) and generate the curves in the V direction. Group and name "smSpans".


Next we will deform the surfaces and curves to mimic the form of the pavilion. To do this we will have to use the animation menu instead of the surface menu that we have been working under.

Once in the animation menu, select both the smArch and lrgArch groups go to CREATE DEFORMOERS_LATTICE.


With the lattice selected go to the Channel Box Editor. Under SHAPES_ ffd1LatticeShape put in the vale 2 for T Divisions and 14 for U Divisions.




Press and hold the right mouse button over one of the edges of the lattice and select "Lattice Points"

Like the image below select every other 2 lattice points from the elevation view by holding down shift and cross selecting. Hold ctrl to deselect.


Hit the w key and move the points up. Go to the Channel Box editor under OUTPUTS_ffd1 and change the local influence values to 4. This will make the shape more smooth.


Now select the lattice points at the base like the image below. Once selected hit the r key to scale the points out so that the base bulges.



Alternatively you can use the move tool the same way. Hit the w hotkey and go to tool settings by the channel box editor icon. Toggle the reflection option on. This time we only have to select one side of the lattice to move both sides equally.



Next we will Extrude...

Begin by going to CREATE_NURBS PRIMITIVES_CIRCLE. It will be created at the origin so you may need to move it in order to see it. Go to the Channel Box and change the degree to linear and give 4 sections. Now it will appear as a diamond, name the curve profile1 in the script editor.

First we will extrude the profile along one arch, then we will use Chris's script to speed this process up. Open the SURFACES_EXTRUDE menu and input the settings below.



Select profile1 and one of the Curves that define the arch, hit apply. Your image should look like the one below. Scale and rotate the profile and the extruded arch will update.


In the Channel Box OUTPUTS_makeNurbCircle1 put .1 for the radius, linear for the degree and 4 for the span. Type 45 in the ROTATE Y field.

Create three more profiles by going to CREATE_NUURBS_CIRCLE.

profile2: .05 for the radius, linear for the degree and 4 for the span. Type 45 in the ROTATE Y field.

profile3: .02 for the radius, linear for the degree and 4 for the span. Type 45 in the ROTATE Y field.

profile4: .05 for the radius.


Now we will import Chris's script and make a button for it on the custom shelf so that we can just click the button to do many extrusions at once.Make sure that the custom shelf is on top.


First we will have to bring up the script editor. Go to WINDOWS_GENERAL EDITOR_SCRIPT EDITOR. This will bring up the script editor window. Go to FILE_LOAD SCRIPT and select the cw_ExtrudeMulti.mel file that was sent to by email.

The script will load in the lower window, select the text like below and go to FILE_SAVE SCRIPT TO SHELF.



From the Outliner select the profile group and the Arch(curves) group. Select DISPLAY_HIDE_HIDE UNSELECTED OBJECTS (alt h).
Select profile1 then cross select all of the arches in the viewport. Click our new icon from the custom shelf.




repeat the process for the lgSpan and smSpan groups using profile2 and profile3. Group all of the new geometry under extStrct.

Next we will go through a similar workflow to create the diagonal structural, interior grid.


Start by creating a new nurbs plane. CREATE_NURBS_PLANE. In the Channel Box Editor under INPUTS put 60 for both the U and V spans, and rotate the plane 45.



To bend the plane into a similar shape as the arch we will use the bend modifier. In the Animation menu go to CREATE DEFORMERS_NONLINEAR_BEND. With the bend node selected go to the Channel Box editor and put in 90 for ROTATE Z. Next go to the front view and and in the Channel Box editor under INPUTS_BEND1 type -1.7 for the curvature. Select both the surface and the bend node and move them up until the are just under the arch. With just the bend node selected go to the channel box editor and select the scale x, y and z so that they are highlighted by a black bar. Slide the middle mouse button left until the surface more or less fits the profile of the arch. I used the 16.6 as my value.


After you have the surface where you like it go to EDIT_DELETE BY TYPE_HISTORY.

To get the curves for the diagonal grid extract the curves using duplicate surface curves like before.

To trim the excess curves go to plan view and select CREATE_EP CURVE. While holding the c key click on the arch on either end, then hold shift and click of to the side to create a straight line. Scale the line so that it overlaps the surface. (you will have to center the pivot first)


To trim off the extra select the diagonal curves and then select the curve we just created and go to the EDIT CURVES_CUT CURVES menu by clicking the box to the right. Make sure the "using last curve" and "Active View" options are selected then press APPLY. Delete the excess geometry. Repeat for the other end and then repeat in the front view.

With the digonal curves trimmed and grouped, extrude profile4.

Again, make sure that you deleted the surface's history before doing the next step. EDIT_DELETE BY TYPE_DELETE HISTORY.

To fit the surface within the lattice, select the lattice, go to the ANIMATION menu and select EDIT DEFORMERS_EDIT MEMBERSHIP TOOL. Click on the surface and then cross select it holding shift.

For the last step select the lattice, go to the Attribute editor. Under the ffd1 tab go to the outside lattice pull down menu and choose "All".


Monday, January 26, 2009

Assignment 1

Make a model using the techniques learned in Workflows 1 and 2.

Workflow 1 & 2

WORKFLOW 1: Rectangular Structure
Surface
Detach at Isoparm
Change UV Count
Dulicate Isoparms
Rebuild center strip
Duplicate Isoparms
Make Circles
Extrude Tubes
Modify Circles

WORKFLOW 2: Diagonal Structure
Rotate
Duplicate Curves
Trim Curves
Extrude

General Skin
Cylinder - R:10, Ratio:0.4 -
Split it, then duplicate it 23 times.
Lattice (2,2,14)
Take it through Workflow#1

Tube Structure:
Rotated Plane
Freeze Transformations
bend deformer
delete history
add it to lattice
offset surface to make second one
Take it to Workflow#2 for one
Mel Script for multiple extrude