RE: Extrude multiple curve

2015-10-01 Thread gareth bell
Juan's is probably better - but here's one I created a while back:

#extrudeMultiCurves_001

#To Use: 
# 1) Select the curves you want to extrude along.
# 2) Run script
# 3) Pick the profile curve


import win32com
xsi = Application

#collect all curves
extCurves = win32com.client.Dispatch( "XSI.Collection" )
extCurves.AddItems (xsi.Selection)

#pick profile curve
profileCurve = xsi.PickElement ("", "Pick Profile Curve")

#loop through all extCurves and extrude along profileCurve
for i in range (0, extCurves.count):
xsi.ApplyGenOp("Extrusion", "MeshSurface", str(profileCurve(2)) + ";" + 
str(extCurves(i)), 3, "siPersistentOperation", "siKeepGenOpInputs", "")

Date: Thu, 1 Oct 2015 13:48:50 +0200
Subject: Re: Extrude multiple curve
From: facialdel...@gmail.com
To: softimage@listproc.autodesk.com

Yup ! Thank's a lot ! Not yet tested but thank you :) I'll let you know :)
On Thu, Oct 1, 2015 at 12:41 PM, Juan Brockhaus  wrote:
btw, I had a .rar file with the scripts attached.
let me know if it didn't get through...

cheers,

Juan


On Thu, Oct 1, 2015 at 12:31 PM, Juan Brockhaus  wrote:
no...

but I have a script for that.
;-)

actually two scripts. one creates polymeshes, the other a nurbs surfaces.

- select all the curves you want to extrude on
- run script
- pick the curve you want to extrude

hope that helps.

cheers,

Juan




On Thu, Oct 1, 2015 at 12:15 PM, Olivier Jeannel  wrote:
Simple one : Do we have something to extrude a curve along multiple curves at 
once (a group of curves or multi selected)?






  

Re: Extrude multiple curve

2015-10-01 Thread Olivier Jeannel
Yup ! Thank's a lot ! Not yet tested but thank you :) I'll let you know :)

On Thu, Oct 1, 2015 at 12:41 PM, Juan Brockhaus 
wrote:

> btw, I had a .rar file with the scripts attached.
> let me know if it didn't get through...
>
> cheers,
>
> Juan
>
>
> On Thu, Oct 1, 2015 at 12:31 PM, Juan Brockhaus 
> wrote:
>
>> no...
>>
>> but I have a script for that.
>> ;-)
>>
>> actually two scripts. one creates polymeshes, the other a nurbs surfaces.
>>
>> - select all the curves you want to extrude on
>> - run script
>> - pick the curve you want to extrude
>>
>> hope that helps.
>>
>> cheers,
>>
>> Juan
>>
>>
>>
>>
>> On Thu, Oct 1, 2015 at 12:15 PM, Olivier Jeannel 
>> wrote:
>>
>>> Simple one :
>>> Do we have something to extrude a curve along multiple curves at once (a
>>> group of curves or multi selected)?
>>>
>>>
>>
>


Re: Extrude multiple curve

2015-10-01 Thread Juan Brockhaus
btw, I had a .rar file with the scripts attached.
let me know if it didn't get through...

cheers,

Juan


On Thu, Oct 1, 2015 at 12:31 PM, Juan Brockhaus 
wrote:

> no...
>
> but I have a script for that.
> ;-)
>
> actually two scripts. one creates polymeshes, the other a nurbs surfaces.
>
> - select all the curves you want to extrude on
> - run script
> - pick the curve you want to extrude
>
> hope that helps.
>
> cheers,
>
> Juan
>
>
>
>
> On Thu, Oct 1, 2015 at 12:15 PM, Olivier Jeannel 
> wrote:
>
>> Simple one :
>> Do we have something to extrude a curve along multiple curves at once (a
>> group of curves or multi selected)?
>>
>>
>


Re: Extrude multiple curve

2015-10-01 Thread Juan Brockhaus
no...

but I have a script for that.
;-)

actually two scripts. one creates polymeshes, the other a nurbs surfaces.

- select all the curves you want to extrude on
- run script
- pick the curve you want to extrude

hope that helps.

cheers,

Juan




On Thu, Oct 1, 2015 at 12:15 PM, Olivier Jeannel 
wrote:

> Simple one :
> Do we have something to extrude a curve along multiple curves at once (a
> group of curves or multi selected)?
>
>


jpb_multi_extrusion.rar
Description: application/rar