RenderMeshSettings

Returns or sets the render mesh settings of the active document.

For more information on render meshes, see the Document Properties: Mesh topic in the Rhino help file.

Syntax

Rhino.RenderMeshSettings ([intSettings])

Parameters

intSettings

Optional.  Number.  The render mesh settings, which is a bit-coded number that allows or disallows certain features.  The bits can be added together in any combination to form a value between 0 and 7.  The bit values are as follows:

Value

Description

0

No settings enabled.

1

Refine mesh enabled.

2

Jagged seams enabled.

4

Simple planes enabled.

Returns

Number

If intSettings is not specified, the current render mesh settings if successful.

Number

If intSettings is specified, the previous render mesh settings if successful.

Null

If not successful, or on error.

Example

Rhino.Print "Quality: " & Rhino.RenderMeshQuality

Rhino.Print "Mesh density: " & Rhino.RenderMeshDensity

Rhino.Print "Maximum angle: " & Rhino.RenderMeshMaxAngle

Rhino.Print "Maximum aspect ratio: " & Rhino.RenderMeshMaxAspectRatio

Rhino.Print "Minimun edge length: " & Rhino.RenderMeshMinEdgeLength

Rhino.Print "Maximum edge length: " & Rhino.RenderMeshMaxEdgeLength

Rhino.Print "Maximum distance, edge to surface: " & Rhino.RenderMeshMaxDistEdgeToSrf

Rhino.Print "Minumum initial grid quads: " & Rhino.RenderMeshMinInitialGridQuads

Rhino.Print "Other settings: " & Rhino.RenderMeshSettings

Also See

RenderMeshDensity

RenderMeshMaxAngle

RenderMeshMaxAspectRatio

RenderMeshMaxDistEdgeToSrf

RenderMeshMaxEdgeLength

RenderMeshMinEdgeLength

RenderMeshMinInitialGridQuads

RenderMeshQuality