Toolbar button editor

Add a new toolbar button

Right-click the toolbar's title tab or click the option/gear icon, and on the menu, click New button.

A placeholder image displays on the button.

Edit a toolbar button

1. Move the cursor over the toolbar button.
2. Press and hold Shift.
3. Click the right mouse button.

Appearance

Inherit appearance from tab

When checked, the button style is inherited from the settings in the Toolbar Properties dialog box.

Image only

Displays the image only.

Text only

Displays the text only.

Both image and text

Displays both the image and the text.

Text

The text used on the button with the Text only and Both image and text options.

Image

Edit

Opens the Edit Bitmap dialog box.

Left mouse button / Right mouse button

Tooltip

The text that appears in the tooltip for the button.

Set renderer to Penguin
Render

Note: The mouse icon appears automatically if there is text in either box.

Command

The command macro for the left and right mouse buttons.

See: Rhino Scripting.

Linked toolbar

Name

(No link)

Unlinks the child toolbar.

<Toolbar name>

The name of the child toolbar.

Float to top

Makes the last used button in the child toolbar to appear as the link button in the parent toolbar. This is useful if you want to change the toolbar button that appears in the parent toolbar as the link button or if you want the last button you used to appear as the link button.

If you normally use one button in a linked toolbar and rarely use the others, you probably want the one you use most to always appear on the link button. In this case, clear Float to Top.

Edit Bitmap

You can clear the image, draw with the paint tools, capture a portion of the screen, or import a bitmap created with a paint program.

File menu

Import Bitmap

Import an image from a file.

Import Bitmap to Fit

Opens an image file and fits the contents to the button size.

Export Bitmap

Export the current image to a file.

Export All Sizes Bitmap

Exports all of the bitmap sizes created.

Import All Sizes Bitmap

Imports all three bitmap sizes from a file created with Export All Sizes Bitmap or a compatible file.

Edit menu

Undo

Undoes the last action.

Redo

Reverts the last undone action.

Copy

Copies the image to the Clipboard.

Paste

Pastes an image from the Clipboard.

Paste to fit

Pastes an image from the Clipboard to fit the current size.

This is useful for creating various bitmap sizes.

Clear

The button image fills with the default background color.

Grab

Copies a rectangle from the screen.

Grab steps

1. Move the cursor square over a portion of the screen.
2. Click the left mouse button.

Shift

Shifts the image in the drawing area.

Note: You can also use the keyboard arrow keys to shift the image.

Left

Shifts image left one pixel.

Right

Shifts image right one pixel.

Up

Shifts image up one pixel.

Down

Shifts image down one pixel.

Rotate

Rotates the image.

90° Clockwise

90° Counter-Clockwise

180°

Flip

Mirrors the image horizontally or vertically

Horizontal

Vertical

Antialiasing

Sets the Line and Ellipse tools anti-aliasing. When checked anti-aliasing is used for these tools

Antialiasing off (left) and on (right).

Rectangle and Ellipse Fill Mode

Draw with the left or right mouse button.

Outline

When drawing with the left mouse button, the left mouse button color is used for the outline, when drawing with the right mouse button, the right mouse button color is used for the outline.

Filled

When drawing with the left mouse button, the right mouse button color is used for the fill, when drawing with the right mouse button, the left mouse button color is used for the fill.

Filled with Outline

When drawing with the left mouse button, the left mouse button color is used for the outline and the right mouse button color is used for the fill.

When drawing with the right mouse button, the right mouse button color is used for the outline and the left mouse button color is used for the fill.

Image to edit

Specifies the image size. Three sizes are available.

Note: To create three similar buttons, Copy the image from one button and use Paste to Fit to create the other sizes.

16x16

24x24

32x32

Bitmap Drawing Tools

Preview

Displays the button in actual size.

Color palette

Standard color palette.

Click colors with left or right mouse button to set the color for that button.

Custom Colors

Double-click to display the Select Color dialog box.

Click colors with left or right mouse button to set the color for that button.

Current colors

Current left and right mouse button colors.

Drawing area

Enlarged view of your bitmap. Use this area to edit your bitmap.

Drawing tools

Pencil

Fill

Rectangle

ellEllipse

Line

Color dropper

Select Color

From the Color List

In the Select Color dialog box, from the Named Colors list, select a color.

From the color selector

1. Drag the marker around the wheel to define the hue.
2. Drag the marker horizontally in the square to define the saturation level.
3. Drag the marker vertically in the square to define the brightness value.

To set transparency for the color

Drag the transparency slider at the right.

Or type a value in the Alpha channel (A) box.

See also

Using toolbars and buttons


Rhinoceros 5 © 2010-2015 Robert McNeel & Associates. 17-Sep-2015