ScriptSpot

Forum topic · Scripts Wanted

enhanced Outline tool for Edit/Editable Spline

By harumscarum · 2012-06-04

Description

same as Outline tool, but with four more actions
hope it could be useful for many

Comments (5)

harumscarum · 2012-06-07

many many thanks!
)))

harumscarum · 2012-06-07

thanks Lord!
works great - exactly what i needed.
the only request, if it possible, display outline in viewport when entering value

Ok, thanks for testing

LittleLordPotala · 2012-06-07

About your new request, do you mean :
1- entering an offset value with the "Enter" keyboard applies the offset like a mouse click on the button (using an event "on spn1 entered do()")

or

2- changing the offset value would show a preview of the result

The request number #1 is possible and not difficult but the number #2 would require a real-time calculation that is only possible if the script is converted in C++ with the SDK.

------
edit1:

The request #1 is already made. See the new attached file.
I will soon post the un-encrypted file on the general forum,
after I make more testing and cleaning...

Attachments

Hi harumscarum,

LittleLordPotala · 2012-06-07

Some months ago, I made an "Outline_extended" script for my own needs.
Now, I just read your request and maybe my script is near of what you wanted.

You can test it. Then if everything works and you find it really usefull,
I will post it on the general forum.

How to use it :
-The spline has to be in segment sub-object.
-Then, in the script rollout, you have the choice between segment and spline mode.
-Select some segments (in spline mode, just select any segment of the spline).
-Enter the offset value (it can be positive or negative).
-Choose if you want to copy and/or center the resulted spline.
-Then click on "Apply Outline".
-To cancel, the crtl-z doesn't work, so you have to click on "Undo Outline".

I hope it helps,

Best regards

Attachments

JokerMartini · 2012-06-05

I'm not sure if I'm entirely clear on what your after here?
There is an offset and outline in the spline tool already...