Surface from Curves¶
Dependencies¶
This node can optionally use Geomdl and / or SciPy libraries.
Functionality¶
This node generates a Surface object by interpolating several Curves. This operation is also known as “Loft”. Several interpolation modes are supported.
Scene-> Bezier Input
Surfaces-> Evaluate Surface
Viz-> Viewer Draw
See also “NURBS Loft” node.
Surface domain: from 0 to 1 in both directions.
Surfaces-> Surface Domain
List->List Main-> List Join
Text-> Stethoscope
Inputs¶
This node has the following inputs:
Curves. The list of curves to interpolate between. For Linear interpolation, at least two curves are required; for Cubic interpolation, at least three curves are required.
Parameters¶
This node has the following parameters:
Interpolation mode. The available values are:
Linear
Cubic
BSpline. Use B-Spline (NURBS) interpolation.
RBF. Use Radial Basis Functions (RBF) interpolation. This mode is available only when SciPy library is available.
The default mode is Linear.
Implementation. This parameter is available only if Interpolation mode parameter is set to BSpline. This defines the implementation of NURBS mathematics to be used. The available options are:
Geomdl. Use Geomdl library. This option is available only when Geomdl package is installed.
Sverchok. Use built-in Sverchok implementation.
In general, built-in implementation should be faster; but Geomdl implementation is better tested. The default option is Geomdl, when it is available; otherwise, built-in implementation is used.
Function. This parameter is available only when Interpolation mode parameter is set to RBF. The specific function used by the node. The available values are:
Multi Quadric
Inverse
Gaussian
Cubic
Quintic
Thin Plate
The default function is Multi Quadric.
Cyclic. This parameter is available only when Interpolation mode parameter is set to Linear or Cubic. This defines whether the surface should be cyclic (closed) in the U direction - i.e., should the node create an interpolation between the last curve and the first one. Unchecked by default.
Outputs¶
This node has the following output:
Surface. The generated surface.
Examples of usage¶
Linear interpolation between several polylines:
Generator-> NGon
Generator-> Segment
Curves->Curve Primitives-> Polyline
Transform-> Matrix Apply (verts)
Number-> Random Num Gen
Viz-> Viewer Draw
Surfaces-> Evaluate Surface
The same but with Cubic interpolation:
Generator-> NGon
Generator-> Segment
Curves->Curve Primitives-> Polyline
Transform-> Matrix Apply (verts)
Number-> Random Num Gen
Viz-> Viewer Draw
Surfaces-> Evaluate Surface
Cubic interpolation between several curves (generated by trigonometric formula):
Number-> Number Range
Number-> Random Num Gen
Curves-> Curve Formula
Surfaces-> Evaluate Surface
Viz-> Viewer Draw