GumballSettings
Since v9.0Contains static metthods and properties to modify Rhino gumball settings.
Properties
Specifies the thickness of the rotation arcs in pixels. Set arc thickness to zero to turn off rotation handles.
Specifies the plane the gumball aligns itself to.
Remarks: Setting this does not re-align a gumball that is already on screen; the new alignment is picked up the next time the gumball is built, for example when the selection changes. Run the GumballAlignment command instead if you need the visible gumball updated.
This setting is deliberately not part of GumballSettingsState, so it is left alone by RestoreDefaults(). This matches the RestoreDefaults behavior of the -GumballSettings command, which does not reset the alignment either.
Specifies the thickness of the axis arrows in pixels. Set axis thickness to zero to turn of move handles.
Turns the gumball widget on any time objects are selected.
Specifies the size of the extrude dots in pixels.
Specifies the radius of the gumball widget in pixels.
Merges faces after extruding.
Specifies the distance of the plane indicators from the gumball origin in pixels.
PlaneSize
#Specifies the size of the plane indicators in pixels. Set plane size to zero to turn off the plane indicators. 9.0
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.
Sets the view rotation center to the gumball origin.
Specifies the size of the scale handles in pixels. Set scale handle size to zero to turn off scale handles.
If true, snaps to object snap locations. if false, ignores object snap locations.
Specifies the length of the direction arrows in pixels.
Specifies the width of the direction arrows in pixels.
Specifies the gumball x axis color.
Specifies the gumball y axis color.
Methods
Gets the current settings of the application.
Gets the factory default value of AutoGumballAlignment.
Gets the factory settings of the application.
public static void RestoreDefaults()
Commits the default settings as the current settings.
Sets all settings to a particular defined joined state.
Parameters:
| state (GumballSettingsState) | The particular state. |