Thank you Michael. Another useful script.
It works nicely.
I studied your script. As a thought, what if we use the sketch tool as outline?
I think you can change this to add a pseudo lasso selection tool.
Or possibly circle and polygon selection tools?
something like this:
if ( outlines.length == 0 )
{
save current CPlane
getViewportUnderMouse
if(viewport == 3D) : Align CPlane with 3D view
start "sketch" factory.
Ask the user to draw a curve
when sketch finished : if (curve is open) : close it
use this curve as "Outline"
outlines = "sketch" factory result
}
continue ...
when finished or canceled : restore CPlane
|