Line order and direction

 From:  Michael Gibson
9781.5 In reply to 9781.4 
Hi Franz,

re:
> It would be nice to have a function in which you could arrange the lines in the desired
> order by clicking on them in Moi and create a flow in the desired direction with a script
> that would mark every starting point of a line or spline (to rotate with flip-command
> if necessary).

Hi Franz, I realized that with the new annotation arrows it should now be possible make a script to do this. The arrows should do a good job for showing curve direction.

Please give the attached plug-in a try. Pick the curves by clicking on them in the order you want, then it will show the directions and allow you to click on curves to flip any that are needed.

When the command finishes it will set the curves in the geometry database in their selected order so they should be ready to export then. Looks like this:



Hope that helps! - Michael

EDIT: small update to select the curves when it finishes so they're all ready to export.

EDIT2: another update to make it work with MoI v3 also, but for v3 only the start point will be shown and not direction arrows.

EDITED: 16 Sep 2021 by MICHAEL GIBSON

Attachments: