MoI discussion forum
MoI discussion forum

Full Version: Is there a plugin script to...

Show messages: All  1-2  3-9

From: mkdm
16 Feb 2018   [#3] In reply to [#1]
Hi Ralf!

Here I'm.

Video tut : http://take.ms/9Wj2V

Custom commands : http://take.ms/BbUct
Unzip the four files and put them into the "commands" folder.


I recovered an old custom command written by ...(I don't remember ) : _PolyCurveToCurveBeta
I've done another modified version : _PolyCurveToInterpCurveBeta

1) _PolyCurveToCurveBeta : given one PolyLine in input, generates a Control Point Curve that passes through the points of the segments of the source PolyLine

2) _PolyCurveToInterpCurveBeta : given one PolyLine in input, generates a Interpolated Control Point Curve that passes through the points of the segments of the source PolyLine

Keep in mind that these commands are very simple and I didn't make any debug or check.

If you need the original source PolyLine to be untouched remember to copy it before run the commands because these commands breaks the polyline into segments.

Ciao!
From: r2d3
16 Feb 2018   [#4] In reply to [#3]
PERFEKT!

Does exactly what i need!
Thanks a lot!

Can i use the code for my "STLimport&clean" script i'm working on?
From: mkdm
16 Feb 2018   [#5] In reply to [#4]
You can use everything !

:)

I think that here the unique true "owner" of any code is Michael :) ...the "hidden hand" behind all our scripts and plugins :)

Ciao!
From: r2d3
16 Feb 2018   [#6] In reply to [#5]
42 Karma points to you and all our Gurus (incl. Max)
;-)
From: Michael Gibson
16 Feb 2018   [#7] In reply to [#1]
Hi Ralf,

re:
> Let's say i have a 10 sided polygon and i like to get a curve through all the points.

You can also use the existing Rebuild command for this task, there's an "Endpoints" mode that will build the new curve by interpolating through the endpoints of segments. There's also a "Break angle" parameter where it will keep sharp corners at lines greater than the specified angle, if you want no sharp corners preserved at all put in a high angle like 180 for that value.

- Michael
From: mkdm
16 Feb 2018   [#8] In reply to [#7]
Hi Michael.

Thanks a lot for the reminder :)
From: r2d3
17 Feb 2018   [#9] In reply to [#7]
Wow this is even better..

Never used Rebuild before....

Thank you Michael to let some more light into the endless box... :-)

Show messages: All  1-2  3-9