The SrfPtGrid command draws a surface from a grid of points that lie on the surface.
Steps
1. | Type the number of points in each row. |
2. | Type the number of points in each column. |
3. | Type the point coordinates. |
Note: You must type the grid control points one at a time and in order. This command is most useful when you have an ordered grid of control points in a text file and use it in conjunction with the ReadCommandFile command.
Command-line options
Closed
Closes the surface in one or both directions. The created surface closes in the direction whose point count is being requested.
Degree
Specifies the degree of the curve (or surface).
When drawing a high-degree curve, the output curve will not be the degree you request unless there is at least one more control point than the degree.
KeepPoints
Retains the point objects.
Example
The example is a command file to create an approximate cylinder. To see this example perform, select the following text, copy it, and run the Paste command.
! _SrfPtGrid
_KeepPoints
3
_Closed
6
0,-5,0
4.33,-2.5,0
4.33,2.5,0
0,5,0
-4.33,2.5,0
-4.33,-2.5,0
0,-5,5
4.33,-2.5,5
4.33,2.5,5
0,5,5
-4.33,2.5,5
-4.33,-2.5,5
0,-5,10
4.33,-2.5,10
4.33,2.5,10
0,5,10
-4.33,2.5,10
-4.33,-2.5,10
See also
Rhinoceros 5 © 2010-2015 Robert McNeel & Associates. 17-Sep-2015