RenderMeshQuality

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

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

Syntax

Rhino.RenderMeshQuality ([intQuality])

Parameters

intQuality

Optional.  Number.  The render mesh quality, either:

Value

Description

0

Jagged and faster.  Objects may look jagged, but they should shade and render relatively quickly.

1

Smooth and slower.  Objects should look smooth, but they may take a very long time to shade and render.

2

Custom.

Returns

Number

If intQuality is not specified, the current render mesh quality if successful.

Number

If intQuality is specified, the previous render mesh quality 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

RenderMeshSettings