NurbsSweepSurface

From K-3D

Jump to: navigation, search

Description

Create a Surface by traversing one curve along another and orienting it tangential to the traverse curve
Plugin Status:Experimental
Categories:All Plugins, Experimental Plugins, NURBS Plugins

Metadata

Name Value

Properties

Label Description Type Script Name
Input Mesh Input mesh k3d::mesh* input_mesh
Output Mesh Output mesh k3d::mesh* output_mesh
Mesh Selection Input Mesh Selection k3d::selection::set mesh_selection
Delete the Curve Delete the original curves k3d::bool_t delete_original
Samples The number of samples per span k3d::int32_t samples
Align Normal Align the curve normal, insted of preserving the start alignment k3d::bool_t align_normal


Description

Sweep curve takes one curve, moves it along another and adjusts it tangentially to the curve it is moved along. The decision which curve plays which role is made basing on the order of the curves in the mesh. But to exchange the 2 just enable "Swap?".

As an image says more than 1000 words, here's how a successfully swept surface looks like.
results in

But be prepared, this does not always work as good as in this example because, depending on the knot vector, or at the ends of closed curves the tangent just gets interpolated because the function can not be derived (we're only working here with the difference quotient here, thats what the interpolation comes from). This might produce weird results like in this example:
produces .

The only workaround for this is using more segments.

CreateCaps does nothing atm..

Personal tools