PDA

View Full Version : Free Repeating Gears Xpresson setup


RandyLeeBlain
04-24-2008, 09:17 PM
Hi folks. have a free download of a repeating gears setiup.

http://www.libertyeditions.com/Downloads.html

Just drag and drop the gears one below each other, set the rpm's on the starter gear and press play to animate. Also the zip contains a few Rube Goldberg addons to show how one can set up machinery with it. I think this may be in 10.1 so if there are requests for an older version I will post that as well. Feel free to alter. I tried for an hour or so to get t to turn right angles by adding a screw gear or bevel gear but t kept messing up the expression and shooting gears to places they should not in reality go.. So if you get that rigged up, Xpresso guys, ( a few great ones here) then repost.

Have Fun and Create
Randy

ecore
04-25-2008, 06:14 AM
Genius setup! :thumbsup: Thanks for the sharing.

mustardseed
04-25-2008, 07:14 AM
Very cool, thanks!

It's gonna take me a while to put it back together again... :-P

RandyLeeBlain
04-25-2008, 03:46 PM
Very cool, thanks!

It's gonna take me a while to put it back together again... :-P

Just re-unzip the folder. It happens to me all the time. I don't like reading the manual till I definitely have to..

Best Regards
Randy

RandyLeeBlain
04-25-2008, 03:52 PM
Genius setup! :thumbsup: Thanks for the sharing.


I got a kick out of it. I had to devise a shot of gears to fit inside a block lettered logo and after twenty gears and one letter partially filled I decided there had to be a better way to do it. I set up about 700 gears n two days. Then hit animate instead of creating rotations for every gear in every chain. If you change the base shader to a regular metal shader, use ColorChanger and a gradient expressing various shades of metal or simply color them with bright happy colors, then they can all be different colors.

Best
Randy

Mike Abbott
04-25-2008, 04:45 PM
Brilliant :) Clever and useful - and great fun too.

Thanks for a very generous share.

Mike

Hilt
04-25-2008, 09:23 PM
r o c k s o l i d h u g e t h a n k y o u f o r t h e f i l e ! !

It's not even May yet but I guarantee this file is in me personal Top 3 "Most Valuable Learning Sources Of the Year 2008"

RandyLeeBlain
04-26-2008, 01:30 AM
r o c k s o l i d h u g e t h a n k y o u f o r t h e f i l e ! !

It's not even May yet but I guarantee this file is in me personal Top 3 "Most Valuable Learning Sources Of the Year 2008"

Well thanky very much Hilt.. I learned alot making it. I would like to get it to turn right angles. Maybe I will play with it again this weekend as I put it down after I finished the shot.

Brilliant Clever and useful - and great fun too.

Thanks for a very generous share.

The C4D community has given me folder full of goodies I haven't even gotten to yet. I will see what else I have this weekend. I have some rigs around with full sets of sliders for controlling them.

Best Regards
Randy

bunter
04-26-2008, 07:47 AM
thanks for sharing!

Darter
04-26-2008, 11:27 AM
Thanks for putting the time and effort into this setup and for sharing the result. This is impressive work and a great resource for the C4D community. I took up your invitation to make some adjustments and have hopefully improved things.

I wasn’t able to replicate the problem with right angle gears but I think it's related to coordinate space. If you put the gears under a master null, they fly apart. The whole outfit can now be put under a null and keep working correctly when the null is moved and rotated.

Global values were changed to local values for the Next Gear Z Offset. The Spline node is set to Global Matrix mode but was feeding into the local Position of the cog axis null. This has been changed to global.

When changing the number of teeth, clashing occurred for odd values so I added a formula to compensate for this. A formula was also added to mesh the teeth when the Rotational Placement value is changed. For even results, Use Natural Distribution was enabled on the Spline Node.

These changes hopefully mean that the gears will mesh automatically in all situations.

Another possible change would be to have the gear Z offset User Data affect the current gear rather than the next one. This seems more intuitive to me.

As I had to recreate the setup in 9.6, I just did the basic cogs. If you're happy with the changes you may want to incorporate them into the full setup.

Remember to remove Result nodes when finished as they slow the expression.

Please let me know if any issues arise with the changes I’ve made.

EDIT: File updated.

donelgreeko
04-26-2008, 11:31 AM
Hi! Very cool xpression. :applause: Perhaps you are interested in loading this setup up to xpresso24.com?

You can define your own license and add your banner for your page to your profile. Everytime someone opens the page with your xpression, a banner will be shown on the top instead of the google-ad.

Bye :)

Hilt
04-26-2008, 11:50 AM
Out of curiosity, how long did it take to make this one?
I remember doing my own cog wheels back in 2005 -after three days i had something working but i simply lacked the knowledge on xpresso. My result was working but definitely below your work. *continues slicing the file*

RandyLeeBlain
04-26-2008, 04:34 PM
Thanks for putting the time and effort into this setup and for sharing the result. This is impressive work and a great resource for the C4D community. I took up your invitation to make some adjustments and have hopefully improved things.

I wasn’t able to replicate the problem with right angle gears but I think it's related to coordinate space. If you put the gears under a master null, they fly apart. The whole outfit can now be put under a null and keep working correctly when the null is moved and rotated.

Global values were changed to local values for the Next Gear Z Offset. The Spline node is set to Global Matrix mode but was feeding into the local Position of the cog axis null. This has been changed to global.

When changing the number of teeth, clashing occurred for odd values so I added a formula to compensate for this. A formula was also added to mesh the teeth when the Rotational Placement value is changed. For even results, Use Natural Distribution was enabled on the Spline Node.

These changes hopefully mean that the gears will mesh automatically in all situations.

Another possible change would be to have the gear Z offset User Data affect the current gear rather than the next one. This seems more intuitive to me.

As I had to recreate the setup in 9.6, I just did the basic cogs. If you're happy with the changes you may want to incorporate them into the full setup.

Remember to remove Result nodes when finished as they slow the expression.

Please let me know if any issues arise with the changes I’ve made.

Thanks Darter. :buttrock: I knew you or one of the other Xpresso gurus could nail the adjustment. I wll play with it later after a street festival today.. I now have a good excuse to leave the terminal.

Best Regards
Randy

RandyLeeBlain
04-26-2008, 04:36 PM
Out of curiosity, how long did it take to make this one?
I remember doing my own cog wheels back in 2005 -after three days i had something working but i simply lacked the knowledge on xpresso. My result was working but definitely below your work. *continues slicing the file*


I got a brainstorm and t took about 45 minutes when the idea struck me out of the blue. I would never have had the shot done n time if I dd not come up with this.. Great worksaver and Darters additions were the icing on the cake. I have some other gears i make can add to the setup and a Rube Goldberg gadget or two as well.

Best Regards
Randy

RandyLeeBlain
04-26-2008, 04:40 PM
Hi! Very cool xpression. :applause: Perhaps you are interested in loading this setup up to xpresso24.com?

You can define your own license and add your banner for your page to your profile. Everytime someone opens the page with your xpression, a banner will be shown on the top instead of the google-ad.

Bye :)


Hi donelgreeko (ddn't know where to break the name up and capitalze..LOL). You may feel free to add the setup to your Xpresso archve. If you need my banner etc just tell me where I should contact you at..or you can email me. You have a great resource site BTW. I am hoping to get time soon to dg through the expressions I downloaded there..

edtt:To be fair Darter should be given props for tweaking the setup.

Best Regards
Randy

jimzepellin
04-26-2008, 06:38 PM
Thanks for a realy nice expression.

danb
04-26-2008, 07:09 PM
Nice!! This could not come at a better time.

Thank you very much!

Darter
04-27-2008, 01:16 AM
Thanks Darter. :buttrock: I knew you or one of the other Xpresso gurus could nail the adjustment. I wll play with it later after a street festival today.. I now have a good excuse to leave the terminal.
Glad to have helped. You've had the ideas and put in the hard yards, I'm just riding coat tails.

Something that I missed was that the Next Gear Z Offset can plug straight into the Circle Z position. There's now no need to add the Coarse Cog Axis positon value. With the value added, everything works fine until gears are rotated at the axis null level.

The file on my previous post has been updated to include this change.

Please let me know if I've missed anything else.

LemonNado
04-27-2008, 09:04 PM
Awesome! Thanks for sharing. Specially that intermittent 'sector gear' is great!
Rainer

CGTalk Moderation
04-27-2008, 09:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.