Click or drag to resize

GumballSettings Class

Contains static metthods and properties to modify Rhino gumball settings.
Inheritance Hierarchy
SystemObject
  Rhino.ApplicationSettingsGumballSettings

Namespace:  Rhino.ApplicationSettings
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static class GumballSettings

The GumballSettings type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberArcThickness
Specifies the thickness of the rotation arcs in pixels. Set arc thickness to zero to turn off rotation handles.
Public propertyStatic memberAutoGumballAlignment
Specifies the plane the gumball aligns itself to.
Public propertyStatic memberAxisThickness
Specifies the thickness of the axis arrows in pixels. Set axis thickness to zero to turn of move handles.
Public propertyStatic memberEnableGumball
Turns the gumball widget on any time objects are selected.
Public propertyStatic memberExtrudeBallSize
Specifies the size of the extrude dots in pixels.
Public propertyStatic memberGumballRadius
Specifies the radius of the gumball widget in pixels.
Public propertyStatic memberMenuBallColor
Specifies the gumball menu ball color.
Public propertyStatic memberMenuBallLocation
Specifies the distance of the menu ball from the gumball origin in pixels.
Public propertyStatic memberMenuBallSize
Specifies the size of the menu dots in pixels.
Public propertyStatic memberMergeFacesAfterExtrude
Merges faces after extruding.
Public propertyStatic memberPlaneLocation
Specifies the distance of the plane indicators from the gumball origin in pixels.
Public propertyStatic memberPlaneSize
Specifies the size of the plane indicators in pixels. Set plane size to zero to turn off the plane indicators.
Since: 9.0
Public propertyStatic memberPlaneVisibilityAngle
Sets the angle of view for the plane to be visible. The range is from 0 to 90 degrees. 0 degrees means the plane only shows if the gumball is perfectly aligned to the view, 90 means the plane always shows. The default is 50 degrees.
Public propertyStatic memberRotateViewAroundGumball
Sets the view rotation center to the gumball origin.
Public propertyStatic memberScaleHandleSize
Specifies the size of the scale handles in pixels. Set scale handle size to zero to turn off scale handles.
Public propertyStatic memberSnappyGumball
If true, snaps to object snap locations. if false, ignores object snap locations.
Public propertyStatic memberTipLength
Specifies the length of the direction arrows in pixels.
Public propertyStatic memberTipWidth
Specifies the width of the direction arrows in pixels.
Public propertyStatic memberXAxisColor
Specifies the gumball x axis color.
Public propertyStatic memberYAxisColor
Specifies the gumball y axis color.
Public propertyStatic memberZAxisColor
Specifies the gumball z axis color.
Top
Methods
  NameDescription
Public methodStatic memberGetCurrentState
Gets the current settings of the application.
Public methodStatic memberGetDefaultAlignment
Gets the factory default value of AutoGumballAlignment.
Public methodStatic memberGetDefaultState
Gets the factory settings of the application.
Public methodStatic memberRestoreDefaults
Commits the default settings as the current settings.
Public methodStatic memberUpdateFromState
Sets all settings to a particular defined joined state.
Top
See Also