« Return to Thread: NURBS curve connecting

Re: NURBS curve connecting

by hoako :: Rate this Message:

Reply to Author | View in Thread

Bart Janssens wrote:

> On 4/22/08, Carsten Haubold <CarstenHaubold@...> wrote:
>>     * select two curves and the end points you want to connect -> only
>>       connects 2 curves and needs lot of input
>>     * select a bunch of curves, I'll loop through all ending control
>>       points and choose the nearest other ending CP and connect these
>>       both -> this way the resulting curve will be closed and will
>>       (hopefully) have the shape the user expected
>
> I agree with Joaquín that both would be ideal. Perhaps they can be
> combined into the same plugin, however:
> - Connect all selected points
> - Connect the ends of all selected curves
> Maybe the second mode can be complemented with a threshold distance,
> so end points are only connected if they are closer than that
> distance.
I guess this is what you have in mind, although i'll write it down.
There should be a boolean option to activate the threshold option

if( there are selected points)
        if ( threshold enabled )
                connect points with selected threshold
        else
                connect closer points
else
        if ( threshold enabled )
                connect all curves with selected threshold
        else
                connect all curves by closer endings

Cheers!
Joaquín


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

 « Return to Thread: NURBS curve connecting

LightInTheBox - Buy quality products at wholesale price