Page 1 of 1

Curve To Ribbon

Posted: 21 Jan 2014, 13:38
by julca
Hello,

I want share with you my last plugin.
It create ribbons from curves.

I use the offset command from the "keyvis Curve Tools" addon created by Eugen Sares.
It create a perfect base before the loft.
So, you need to have this addon already installed (but who did not ;) ?) if you want use mine.

"Curve To Ribbon" have a custom property witch drive all proxy parameters from the differents meshes/operators.

Quick video demo :


Cheers.
CurveRibbon.rar
(89.76 KiB) Downloaded 603 times

Re: Curve To Ribbon

Posted: 22 Jan 2014, 04:08
by Bullit
Thanks

Re: Curve To Ribbon

Posted: 22 Jan 2014, 09:30
by Rork
He,

That's a neat little tool!

Thanks for sharing, much appreciated! :-bd

rob

EDIT: Just tested it here, but getting python errors and an OLE message. It does create the curves, but no geometry.
SI 2013SP1, installed the .xsiaddon in a server workgroup.

Re: Curve To Ribbon

Posted: 22 Jan 2014, 11:44
by julca
Thank you guys !
Rork wrote:Just tested it here, but getting python errors and an OLE message. It does create the curves, but no geometry.
SI 2013SP1, installed the .xsiaddon in a server workgroup.
I just test it with 2013 SP1 (in a custom workgroup) and it work on my side.
Can you give me your model for a test ?

Re: Curve To Ribbon

Posted: 22 Jan 2014, 12:23
by Rork
Hi,

didn't do anything special. created a sphere and created the curves like in the video.
after that ran your tool.

retried with a couple of restarts of SI as well, same result. I do run the SI internal python thingy btw..

rob

Re: Curve To Ribbon

Posted: 22 Jan 2014, 12:27
by julca
I also run SI internal Python.
Can you send me your log ?

Re: Curve To Ribbon

Posted: 22 Jan 2014, 12:42
by Rork
This is what I get after selecting the extracted curve and running the tool:

Application.SelectObj("crvlist", "", "")
# ERROR : Traceback (most recent call last):
# File "<Script Block 2>", line 43, in curveRibbon_Execute
# firstCheck()
# File "<Script Block 2>", line 358, in firstCheck
# main(collOfCurveSelection)
# File "<Script Block 2>", line 82, in main
# customOffsetCurve(collOfCurveUniqueLeft, gRibbonWith * -0.5, collOfAllOffsetOpLeft)
# File "<Script Block 2>", line 322, in customOffsetCurve
# xsi.ApplyOffsetSubcurves(inCollOfCurveToOffset.GetAsText())
# File "C:\Program Files\Autodesk\Softimage 2013 SP1\Application\python\Lib\site-packages\win32comext\axscript\client\pyscript.py", line 142, in __getattr__
# return getattr(self._scriptItem_.dispatchContainer,attr)
# File "C:\Program Files\Autodesk\Softimage 2013 SP1\Application\python\Lib\site-packages\win32com\client\dynamic.py", line 500, in __getattr__
# raise AttributeError, "%s.%s" % (self._username_, attr)
# AttributeError: Application.ApplyOffsetSubcurves
# - [line 321 in \\SERVER\xsiwg\Tools\Addons\CurveRibbon\Application\Plugins\curveRibbon.py]
# ERROR : OLE error 0x80020101
Application.curveRibbon()


hope that helps,

rob

Re: Curve To Ribbon

Posted: 22 Jan 2014, 12:52
by julca
# AttributeError: Application.ApplyOffsetSubcurves
It's seems that you don't have the "keyvis Curve Tools" addon installed.
Can you check this ?

Re: Curve To Ribbon

Posted: 22 Jan 2014, 13:01
by Rork
Ah... that makes sense.

I misread your comment on the Keyvis Curve Tool. I was under the impression you used that part of the code.
But you use the plugin as well to get to this.

Problem solved! ;)

rob

Re: Curve To Ribbon

Posted: 22 Jan 2014, 13:11
by julca
Cool !

I use my own extract subcurves code but use the "ApplyOffsetSubcurves" command from the "keyvis Curve Tools" addon.

Re: Curve To Ribbon

Posted: 23 Jan 2014, 13:02
by leo3d
Excellent Julien :-bd :-bd

leo

Re: Curve To Ribbon

Posted: 23 Jan 2014, 17:12
by julca
thank you Leo !

Re: Curve To Ribbon

Posted: 20 May 2016, 12:43
by druitre
thanks Julca, this one saved my ass today

- Jasper

Re: Curve To Ribbon

Posted: 20 May 2016, 13:37
by julca
druitre wrote:thanks Julca, this one saved my ass today

- Jasper
Cool ! I am very pleased that this serve you well ! :)
And coincidence, I have used it again this morning.

Re: Curve To Ribbon

Posted: 27 Apr 2017, 13:47
by RoN43
Thanks!!

Re: Curve To Ribbon

Posted: 27 Apr 2017, 15:49
by julca
RoN43 wrote:Thanks!!
I am glad that this is useful :) .