Multiple Curves ... Multiple Extrusion Generators?

Discussions regarding modelling with SOFTIMAGE©
chepmedia
Posts: 36
Joined: 27 Jun 2013, 20:19

Multiple Curves ... Multiple Extrusion Generators?

Post by chepmedia » 21 Aug 2014, 03:31

I have 118 curves. Each needs to have it's own Extrusion generator - other than picking a curve, extruding ... picking a curve, extruding ...how can I do this? Of course if I select all of the curves they all extrude, but under one generator. And by extrude I mean the Curves to Mesh generator.

I can't believe I've never run into this before. Hmf.

Thanks,

Marc

User avatar
gaboraa
Posts: 317
Joined: 16 Apr 2010, 21:14

Re: Multiple Curves ... Multiple Extrusion Generators?

Post by gaboraa » 21 Aug 2014, 07:45

I believe, power extrude is able to do extrusion on sub curves. I recall doing such menial task with success. Have you tried it?

http://dl.dropbox.com/u/17263464/ICE/Po ... 0.xsiaddon

User avatar
myara
Posts: 406
Joined: 28 Sep 2011, 08:33

Re: Multiple Curves ... Multiple Extrusion Generators?

Post by myara » 21 Aug 2014, 07:48

I don't think you can, not without scripting.

I was doing something similar extruding curves to make cords and pipes. The idea is the same so you could use the same procedure. Select your curves and run this script:

Code: Select all

// JScript
var sel = GetValue("selectionlist")
var ops = XSIFactory.CreateObject( "XSI.Collection" );
for ( var i=0; i < sel.Count; i++ ) {
	op = ApplyGenOp("CurveListToMesh", "", sel(i), 3, siPersistentOperation, siKeepGenOpInputs);
	ops.Add(op(0))
}
InspectObj(ops)
The operators will be opened (multi-object).

You can replace the operator with whatever you want, and/or specify the operators parameters to automatize it even more. My original code was using extrude along curve, using my last selected object as the base for the diameter of my pipes:

Code: Select all

op = ApplyGenOp("Extrusion", "MeshSurface", sel(sel.count-1)+";"+sel(i), 3, siPersistentOperation, siKeepGenOpInputs, null);
M.Yara
Character Modeler | Softimage Generalist (sort of)

chepmedia
Posts: 36
Joined: 27 Jun 2013, 20:19

Re: Multiple Curves ... Multiple Extrusion Generators?

Post by chepmedia » 21 Aug 2014, 14:35

Gonna give these a shot once I'm back in front of my computer - thank you so much. I'll let you know how it goes.

Marc

chepmedia
Posts: 36
Joined: 27 Jun 2013, 20:19

Re: Multiple Curves ... Multiple Extrusion Generators?

Post by chepmedia » 27 Oct 2014, 14:49

I never followed up - I ended up using the script which worked perfectly. Multiple curves, multiple polygon objects, each with its own operator. Great.

I also looked at PowerExtrude and it has a lot of bells and whistles, but I couldn't get it to do what the script did, so I skipped it.

Thanks again,

Marc

User avatar
FXDude
Posts: 1145
Joined: 19 Jun 2012, 19:59

Re: Multiple Curves ... Multiple Extrusion Generators?

Post by FXDude » 27 Oct 2014, 23:52

Cool! B-)