Returns or sets the render mesh density property of the active document.
For more information on render meshes, see the Document Properties: Mesh topic in the Rhino help file.
Rhino.RenderMeshDensity ([dblDensity])
dblDensity |
Optional. Number. The render mesh density, which is a number between 0.0 and 1.0. |
Number |
If dblDensity is not specified, the current render mesh density if successful. |
Number |
If dblDensity is specified, the previous render mesh density if successful. |
Null |
If not successful, or on error. |
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