Site Tools


GumballDemo

Summary: Plugins to demonstrate the Gumball transformation control.

Notes

This plug-in is included in the Rhino 5.0 WIP. Use the following to activate Gumball editing:

  • Click “Gumball” in the “Info or Status Bar”. Select an object or sub-object (Shift+Ctrl) to edit.
  • Use GumballGripOn command.

Description

There are three Rhino 4 plugins, “GumballGripOn”, “GumballEdge”, and “GumballTransform”, that demontstrate possible uses of the gumball transformation control.


Click here to download the Gumball plugins.


Installation instructions

  1. Unzip the downloaded file and copy the three .rhp files to your ”RhinoCeros 4.0\Plug-ins” directory.
  2. Start Rhino.
  3. Go to the Tools - Options - Plug-ins page.
  4. Click the Install button.
  5. Browse to the folder where you copied the three .rhp files in step 1 above.
  6. Select GumballGripOn.rhp and click the Open button.
  7. Click the Install button.
  8. Select GumballEdge.rhp and click the Open button.
  9. Click the Install button.
  10. Select GumballTransform.rhp and click the Open button.
  11. Click the OK button to close the Rhino Options page.

Gumball Commands

  • GumballGripOn
    • This command makes a gumball that acts like a control point.
    • Example
      1. Make a box, select it, and run “GumballGripOn”.

2. Use the gumball to move the object.

      3. Press the Escape key or run "PointsOff"
         to turn off the gumball grip.
  * If you want to use one gumball to move more than one object, then use the GumballTransform command.
* **GumballTransform**
  * This command is similar other Rhino Transform commands, like Move or Rotate.  It uses a gumball interface to perform the transformation.
  * Example 1
     - Make three spheres, select all of them and
         run "GumTransform".
      2. Use the gumball to move the spheres.
      3. Press Enter to turn off the gumball.
  * Example 2
     - Make a curve, turn on its control points, select
         several control points, and run "GumTransform".
      2. Use the gumball to move the control points.
      3. Press Enter to turn off the gumball.
  • GumballEdge
    • This command is like gumball transform but it lets you move an edge that joins rectangular faces in a polysurface.
    • Example
      1. Make a box, run “GumballEdge” and pick an edge

of the box.

      2. Use the gumball to move the edge.
      3. Press Enter to turn off the gumball.

Moving the Gumball

The gumball has three types of transformation controls. To move the gumball, click, drag and release the controls. If you need to reposition the gumball without moving the objects it transforms, tap the CONTROL key while dragging a transformation control.

1. Translation controls:

  • Click and drag on one of the arrows. The translation will move back and forth along the line the arrow lies on.

2. Rotation controls:

  • Click and drag on one of the arcs.

3. Scaling controls:

  • Click and drag on one of the small boxes.
  • If you want uniform scaling, tap the SHIFT key while dragging a scaling control.




If you have questions, please contact Scott Davidson .


Click here to download the Gumball plugins


labs/gumballdemo.txt · Last modified: 2011/04/06 by rajaa