Surface from Curves

https://github.com/nortikin/sverchok/assets/14288520/58e5090a-77b1-46fc-b42d-4b86453f4dc1

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.

https://github.com/nortikin/sverchok/assets/14288520/fd83f175-9523-45ca-8bce-9678ef44cd35

See also “NURBS Loft” node.

Surface domain: from 0 to 1 in both directions.

https://github.com/nortikin/sverchok/assets/14288520/2591dc7c-6150-4451-b0a4-3e0742093894

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:

https://user-images.githubusercontent.com/284644/79368209-771df600-7f68-11ea-9d65-90257d257bd0.png

The same but with Cubic interpolation:

https://user-images.githubusercontent.com/284644/79368213-784f2300-7f68-11ea-80c0-059469ba14d9.png

Cubic interpolation between several curves (generated by trigonometric formula):

https://user-images.githubusercontent.com/284644/79369070-d0d2f000-7f69-11ea-97f6-b71d33f49b97.png