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.
Rhino.RenderMeshSettings ([intSettings])
intSettings |
可选参数。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:
|
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 |
如果执行不成功或出错,返回空值。 |
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