Ruled Surface¶
Functionality¶
This node generates a Surface as a linear interpolation of two Curve objects. Such surface is widely known as a ruled surface, or a linear surface.
Along U parameter, such surface forms a curve calculated as a linear interpolation of two curves. Along V parameter, such surface is always a straight line.
Surface domain: In U direction - from 0 to 1. In V direction - defined by node inputs, by default from 0 to 1. V = 0 corresponds to the first curve; V = 1 corresponds to the second curve.
Inputs¶
This node has the following inputs:
Curve1. The first curve to interpolate. This input is mandatory.
Curve2. The second curve to interpolate. This input is mandatory.
VMin. The minimum value of curve V parameter. The default value is 0.
VMax. The maximum value of curve V parameter. The default value is 1.
Parameters¶
This node has the following parameter:
Native. This parameter is available in the N panel only. If checked, then the node will try to use specific implementation of the ruled surface for cases when it is available. For example, if two curves provided are NURBS curves of equal degree, then the node will produce a NURBS surface. When not checked, or there is no specific implementation for provided curves, a generic algorithm will be used In most cases, the only visible difference is that the resulting surface can have different parametrization depending on this parameter. Also this parameter can be important if you wish to save the resulting surface into some file format that understands NURBS, or for Python API usage. Checked by default.
Outputs¶
This node has the following output:
Surface. The generated surface.
Examples of usage¶
Generate a linear surface between a triangle and a hexagon:
Generator-> NGon
Curves->Curve Primitives-> Polyline
Transform-> Move
Viz-> Viewer Draw
Surfaces-> Evaluate Surface
Generate a linear surface between two cubic splines:
Curves-> Cubic Spline
Surfaces-> Evaluate Surface
Vector-> Vector sort
Viz-> Viewer Draw
Scene-> Objects In Lite