SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / EASY SPRING CREATION IN MAYA?!?!
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 23-07-2003, 07:33 PM   #1
TheGreenGiant
Subscriber
 
TheGreenGiant's Avatar
 
Join Date: Jul 2003
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default EASY SPRING CREATION IN MAYA?!?!

Hello,

I was wondering what's the easiest way to do a spring and gain control on it in maya is - Studio max has a default spring creator which is very well implemented and I don't understand why Maya doesn't have this as a primitive.

At the moment, what I am doing is Rotating and Translating a circle and then lofting that to get the spring. However doing it this way makes it unscalable. If I want to flatten the spring (not for animation) but just to shorten the distance between coils, it deforms the circle into oval which is not what happens in reality or what I want.

I could adjust the circles translation to get what I want but its so incredibly hassly and stupd for something so simple.

Anyone?

Thanks
TheGreenGiant is offline   Reply With Quote
Old 23-07-2003, 08:40 PM   #2
dragonfx
Registered User
 
dragonfx's Avatar
 
Join Date: Jul 2003
Posts: 1,257
Thanks: 0
Thanked 0 Times in 0 Posts
Default

step 1
create a cylinder whith as many isoparms as control you want. dont forget to MAKE IT LIVE because youre going to
step2
Create a CV curve in spiral along the surface of the cylinder using snap to curve or to point.
Step3
Delete the cylinder
step 4
Create a circle
step 5
Extrude the circle along the spiral.

To compress the spring just scale the spiral and the extruded spring will follow whitout deforming into a ellipse

you can copy the curve and circle creation and the extrusion to a mel script and put an icon in a shelve so that when you want a spring you have it with one click as in Max

(hey i just made my frist tutorial... wasnt that hard) :headbang:

------------------------------------------------------------------------------
Maya is the best software but it hasnt much presets so you have to know what you want and how to get it...
They could make an addon of presets like the shader library...

-----------------------------------------------------------------------------
HISTORY, dont delete it until youre sure you wont need it on animation...
also, "iŽd kill to work with a good rigger..."

Last edited by dragonfx : 23-07-2003 at 08:51 PM.
dragonfx is offline   Reply With Quote
Old 23-07-2003, 08:45 PM   #3
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

If you take a look at the Tornado FX text tutorial at my site, the first few steps are creating a spiral curve to use for the tornado. That should get the curve fairly easily. Then you can extrude a small circle along the spiral as dragonfx says.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 23-07-2003, 09:41 PM   #4
TheGreenGiant
Subscriber
 
TheGreenGiant's Avatar
 
Join Date: Jul 2003
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default Yipeee

sweeto - thanks for the quick response - Top notch. Still reckon it should be a primitive.

I'm going to try making it now

I keep forgetting about the script thing.. That is wonderful.

THANKS!!!! x abazillion
TheGreenGiant is offline   Reply With Quote
Old 24-07-2003, 02:19 AM   #5
TheGreenGiant
Subscriber
 
TheGreenGiant's Avatar
 
Join Date: Jul 2003
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default okaaay

Okay,

the technique worked a treat although while the mel script allows me to replicate what I've done again, there is still no control over the number of coils/loops. If you made 8 by using the isoparm technique, you end up with 8 because that's how you made it. This is linked to the cv that is used for extrusion. I'll look into the script a bit and see what I can come up with although I'm not a mel person.
TheGreenGiant is offline   Reply With Quote
Old 24-07-2003, 03:35 AM   #6
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

There are LOTS of "coil/spring/spiral" melscripts freely available at Highend that allow full history, and controll over dynamic "turn" controls.

i.e, you can ad as many turns as you want by MM-click-n-draging an attribute in the channelbox.

...however, a primitive would be nice too, but to each his own I guess
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maya Hair/Polygon Error ingram_no.7 Members Lounge 13 10-12-2010 10:27 AM
Simply Maya Resources Online Miss_Nova Site News & Announcements 1 08-12-2010 08:36 PM
LayoutTools for Maya 2011 is here... ctbram Members Lounge 1 06-12-2010 10:32 PM
Open a Lightwave file in Maya 2011 radiant777 Maya Basics & Newbie Lounge 2 04-12-2010 02:45 AM

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.