SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / deform along path
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 20-12-2006, 06:47 AM   #1
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default duplicate along curve

is it possible to deform an object along a path? I mean like with the bend deformer, but I would need to use a drawen curve.

thx
__________________
everything starts and ends in the right place at the right time.

Last edited by Falott : 21-12-2006 at 10:00 AM.
Falott is offline   Reply With Quote
Old 20-12-2006, 04:05 PM   #2
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

how do you mean? an object is moving along a motion path and deforms more as it goes?

something deforms following the curve?

you can extrude along a curve, but i don't think it can be animated... there was a thread about that and i don't think anyone was able to find a solution...
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 20-12-2006, 04:10 PM   #3
Azman
Registered User
 
Join Date: Jan 2006
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can deform an object that is attatched to a motion path by using a flow path object.

It makes a lattice that is linked to the curve and uses it to deform your object around corners.
Azman is offline   Reply With Quote
Old 20-12-2006, 04:14 PM   #4
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

oh is that what he was asking about? lol
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 21-12-2006, 09:59 AM   #5
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

actually I mean ->


I have a window (pCube). and I have a curve. now i have to duplicate this window about a 100 times along this curve. the windows should be located right next to another and be orientated tangentially to the curve. I found scripts like duplicateAlongCurve or deformAlongPath (or something like that). Problem is ->

each script uses either the CVs from a curve to place the duped objects or you can place random object but they dont fit the curve´s tangent. So I wrote some lines of code to do that automatically, but for some reason it doesn´t work like I want. (MEL noob I am)

I ended by duplicating the objects in a straight line, created a straight Joint chain in the ecaxt length of my curve, applied an IK spline handle to the chain, then used the original curve as blendshape for the spline curve. and voilá - after smooth skinning the wondows to the joints I shaped it into the right form.

but

this is a bit of a drastic workflow. so I wondered if there isn´t any easier way to duplicate objects along a curve (unrespecting the curve´s CVs but using the curve´s tangent for object orientation)


thx for replies mates!



edit:
modified the title cause it was confusing as I didn´t mean deforming but duplicating along a curve.
__________________
everything starts and ends in the right place at the right time.

Last edited by Falott : 21-12-2006 at 10:01 AM.
Falott is offline   Reply With Quote
Old 21-12-2006, 10:29 AM   #6
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

well couldn't you create the curve how you want it, then rebuild it with the amount of cvs as you need windows?
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
Old 22-12-2006, 02:12 AM   #7
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

I did try. but matter of fact is that a curve´s CVs are not placed in regular intervals but closer to each other at the end of the curve than in the middle of it. this is why I have all over the curve different intervals between CVs - even when the difference might be very small - it has to be very precise and I cannot use this method.
__________________
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote
Old 25-12-2006, 09:39 PM   #8
NeoStrider
Registered User
 
NeoStrider's Avatar
 
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
Thanks: 0
Thanked 2 Times in 2 Posts
Default

if i remember correctly, there should be something in the help files about creating instances along a motion path... try looking that up.
__________________
Accept no substitutions.
NeoStrider is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.