COMPUTER AIDED ARCHITECTURAL DESIGN
Workshop 4 Notes, Week of September 22, 2014 (preview week of September 15)

INTRO TO SURFACES IN RHINO, CONTRUCTION PLANES IN RHINO REVISITED

1. SURFACES

Copy the file Classes\Arch3410-6410-Mark-FAL14\Examples\surfaces\surfs.3dm onto your computer desktop. In the Main tool box, click and hold the surface icon to open up the Surface modeling tool box then click and hold the solids icon to open up the Solid modeling tool box, and use the tool specified in each case of a surface type entity as indicated below.

  1. Surface and Solid of Extrustion

    Select Extrude Straight from the Surface toolbox (top right icon below).


    Select the rectangle in the upper left hand corner, then press enter to interactively extrude it along the Z axis.




    Select Extrude closed planar curve from the Solid tool box (bottom right icon below)



    Select the rectangle in the upper left hand corner, then press enter to ineractively extrude it along the Z axis.



    Note the solid by extrusion is filled in, wheras the surface by extrusion is an open container.



  2. Select the Surface from 2, 3 or 4 Edge Curves icon from the Surface tool box.



    Press enter and then select in clockwise or counter-clockwise order the four edges assocaited with the figure below, once the 4th edge is selected the surface will automatically be generated.

    select edges generated edge defined surface

    The same tool applies to two parallel edges. Two initial cuved bspline established the edges used to generate the figure below. Each one of the initial bspline edges was selected to the same side of their respective mid-points, then enter was pressed to generate the surface below.



  3. Surface and Solid of Revolution.

    The Revolve Surface icon is selected from the Surface tool box as shown below. The profile curve is selected by clicking on the curve and pressing enter, followed by end snaps onto the vertical axis line and finally pressing enter to set the start angle. The curve can then be interactively swept about the axis or swept a full 360 degrees by pressing enter a final time.

    Selecting Revolve from the Surface tool box. Selecting the profile curve and then the bottom and top of the sweeping axis followed by enter to set the start angle.
    Interactively sweeping the profile 180 degrees by moving the cursor (clicking now will create half the surface). Pressing enter will automatically sweep the profile the full 360 degrees and complete the tool.



    The same technique also applies to a an open profile curve.

    Selecting the profile curve and the upper and lower portion of the vertical then enter to create interactive sweep. Pressing enter again sweeps out the full 360 degrees.

  4. Tubular Surface

    A tubular surface is obtained by the use of the Sweep 1 rail tool.



    The first option for this tool is used in the case of simple line along the ground and a 3D profile curve. Select the profile curve, the horizontal line along the ground, and then enter to bring up the Sweep rail 1 options dialog box.

    Selecting the path curve first. Selecting the profile curve on the ground second.
    Pressing enter will bring up an options dialog box. Keep the original settings and press OK to generate the surface.

  5. Skin Surface

    The same tool from before can be used to sweep two curves along one profile curve.


    The cases below involve the use of similar techniques of sweeping two curves along a profile curve.

    The Sweep 1 rail icon is selected followed by the path curve select the two profile curves
    enter brings up the tool for adjusting the curve directions, make sure both arrows face the same direction. enter again brings up the options dialog, press ok to complete the surface.
    The Sweep 1 rail is selected for the example above. Select the two profile curves and enter to bring up the options dialog, enter again to complete the surface.

    A variation on this type surface involves sweeping two curves along two curves.

    Select the Sweep 2 Rails icon select the profile curves
    select the end curves Press enter to bring up the options dialog then OK to genterate the surface.

  6. The above operations produce the following result:

    surfaces in wireframe surfaces rendered in Rhino renderer

2. Coordinate Systems in Rhino

When drawing in Rhino, objects are snapped into a 2D invisible plane called a Construction Plane or CPlane. In perspective view if you are near the origin of the model space and grid is turned on (default) you can see the CPlane as the grid with the X and Y coordinates represented as red and green lines on this grid respectively. In the bottom left of this image is also an icon that shows the Global Coordinate System relative to the view window.

CPlane = Construction Plane, the invisible 2D plane which data points are snapped to. Changes relative to the different views.
Global Coordinate System = Represents the XYZ orientation of the model. Does not change relative to the different views or CPlanes. By default, it is co-planar with the CPlanes.

5. Manipulating CPlanes and coordinate systems.

1. CPlanes in Rhino can be moved or rotated to any orientation to allow for better control of drawing in the model space

Setting CPlanes in Rhino

- Click and hold on the icon in the Main button bar called Set CPlane : origin to open up the Coordinate System bar as its own window. Then Click and hold the first icon in that bar to open up the Set CPlane bar as another independent window.

In perspective view draw a simple box, notice how the data points defining its length and width default to the Grid of the CPlane. Now draw another box starting in the side view away from the origin, notice its position once extuded in the Perspective view off of the Perspective CPlane.

Box drawn on CPlane in Perspetive view. Box drawn on CPlane in Right view, is not snapped to perspective grid plane.

 

1.1 Translating the CPlane

Click on the first icon in the Set CPlane menu box labeled Set CPlane Origin.

Then move the Origin of the CPlane in the perspective view anywhere in the model, even snapping to objects or other points. Now drawing in Perspective view will snap all data points to this new construction plane.


Moving origin to a snap point on another object.

At anytime click the icon labeled Previous CPlane to navigate changes made in the CPlane.


Returns to last Construction Plane used.

Use the Second icon labeled Set CPlane Elevation to just move the CPlane in its relative Z axis, and click to accept.

1.2 Rotating the CPlane

Use Set CPlane: Rotate to rotate the Perspective CPlane 90 degress about the Y axis.

Choose Set CPlane: Rotate with the Perspective view selected. Hit enter to set the rotation axis at the origin.
With ortho on choose a point in Top view above the origin to set the axis. In Front view click to the right with ortho to set the start rotation.
Then click above to rotate the CPlane 90 degrees. Now in the Perspective view you can see the grid is oriented in the ZY plane.

Return to the original CPlane by clicking on the Previous CPlane icon.

Next use the Set CPlane by 3 points icon to create an orientation relative to a diagonal on the box.

With Perspective view selected click Set CPlane by 3 Points With snaps on click on one corner of the box to set the origin
Click on another corner to set the X axis Then click on a third corner diagonal from the others to set the Y axis
This sets the CPlane through the box diagonally. Drawing another box in Perspective view.

Other methods of manipulating CPlanes.

Set CPlane to Object

Sets the CPlane in-line with a part of an object, with the origin at the object's center.

Set CPlane to Surface

Sets the CPlane tangent to a point on an object's surface.

Set CPlane Perpendicular to Curve

Sets the CPlane's X and Y axes perpendicular to a point on a curve.

Set CPlane to View

Creates a CPlane relative to the camera's viewing angle

2.1 Organizing created Coordinate Planes.

To save and load CPlanes.

Select the view and click Named CPlanes... this brings up the Named CPlanes dialog box
Click Save and type in a name for the CPlane then hit OK now the CPlane "Diagonal_1" can be referred back to later on.
 
Alternately you can click the Save CPlane by Name icon, type a name and press enter to save the selected view's CPlane.  

The Named CPlanes dialog box can be used to restore saved CPlanes to the selected view by choosing the view and clicking Restore.

the highlighted CPlane is displayed in the view window as colored arrows.

Clicking Restore applies the selected CPlane to the Viewport.

An alternate method to this is to right click the Save CPlane by name icon and type the saved CPlane's name then press enter.

2.2 Preset CPlanes.


These six icons in the bottom right of the button bar will apply a CPlane to the selected view that is relative to
the Global Coordinates :Top, Bottom, Front, Back, Right, Left orientation respectively. This is an effective way
to pull up normally used construction planes quickly and easily in the model space.

2.3 Mobile Construction Planes

A last method of manipulating the Construction Planes is to attach it to an object and have it always update relative to that object.

In Perspective View use the Previous CPlane icon to return to the default. In the Construction Plane tool box click Set Mobile Construction Plane
Select the diagonal box and press "A" enter to attach select one corner on the box to set the origin
Select the other two corners to set the X and Y axes Press enter for automatic updates to the CPlane.
Rotating the object rotates the attached CPlane as well Translating the object will translate the CPlane

3. Exploring Surfaces through Alegraic Expressions.

Copy the file Classes\Arch2710-6710-Mark-F14\Examples\surfaces\hyperbolicP.gh onto your desktop.

Open a new Rhino file. Enter Grasshopper by typing in "Grasshopper" at the command prompt.

Within/Grasshopper File/Open the file hyperbolicP.gh.

Place a point at the location -5,-5,0 and one at 5, 5, 0.

corner pts

 

Within Grasshopper, right-mouse click the "Upper Right PT XY Plane" symbol and use the "set one point" option to set the point to the one 5, 5, 0 in Rhino.

Within Grasshopper, select the "Lower Left PT XY Plane" symbol use the "set one point" option to set the point to the one at -5, -5, 0 in Rhino.

The algebraic expression creates the following surface:

 

Adjust parameters to control the representation of the hyperbolic parabolic surface that is generated.

Take the output of the "Simple Saddle Surface" expression and subsitute it for the output of the Hyperbolic Parabolic Surface" expression as the value of "Z" input into far right "Pt" component inside Grasshopper.

saddle surf

The algebraic expression creates the following surface:

Try some alternative algebraic expressions, such as coefA*(sin(x) + sin(y)), or coefA*(sin(x)), and alternative values for the number slider for coeficient A.

For example, if the two corner points inside Rhino are placed at -35, -35, 0 and 35, 35, 0, and number slider value is set to 1.0, and and algebraic expression is coefA*(sin(x) + sin(y)),

sin expression

then the resulting surface would appear as follows: