Dynamic cog wheel
Posted: 30 July 2020 04:22 AM   [ Ignore ]  
Total Posts:  99
Joined  2019-09-02

Hi,

I tried all my possibilities… no idea where I am doing wrong….!

Anyone can update me where is wrong….?

Thanks,
Imran.

File Attachments
cog wheel.c4d.zip  (File Size: 94KB - Downloads: 3)
Profile
 
 
Posted: 30 July 2020 10:43 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
Total Posts:  8488
Joined  2011-03-03

Hi Imran,

There are a lot of settings that prevent the work of the cogwheels.
• The Motor needs to be set to Apply to A
• Friction should be lower.
• The number of Teeth does not match!
• The axis Needs to be aligned
• A target speed of 1000º seems high
• The Cogwheels have a huge segment count, it should work with a proxy
• The Motor was positioned to the wrong axis.

This is all I found after quite some exploring.

You can see it in the file …DYcw–01.c4d little dots jumping between the teeth. Then the Collision body turns green, which means it stops at all, no motion.
It is the conflicting data that is in the file.
If you can see that, go to Attribute Manager> Mode> Project> Dynamics>>Visualization, check it on.

In file …DYcw_02.c4d I demo that the Motor works, and that is the first step when setting things like that up, have the core element running. If this is not working, nothing else will.

In file …DYcw_03.c4d you can see (kind of) how it should work. I would suggest to create a proxy object for each (!) cogwheel and place it in the Dynamics Tag. Collision> Shape> Another Object.

However, I would never set anything like that up with Dynamics. It needs too much calculation power, It is fragile and easily affected by other Dynamic Objects. There is no way to make a whole clock-work running based on this in a reasonable time, if at all.

My suggestion, have a look at file …XPcw_01
It just takes the number of teeth, divides them to get a speed ration, and multiplies this to the R.B value. Every second cogwheel runs counter wise, so there is another value -1 included to reverse the rotation.
There is no need to put the radius of the cogwheel into account. The teeth must fit, Which can be adjusted in the Spline Cogwheel while leaving the Lock Radius off.
With this, it is possible to make a precise clockwork. Even going from one wheel to the next with this. I suggest it this way for over a decade, and I never got a problem report based on this suggestion.

Files
https://www.amazon.com/clouddrive/share/pJW4speE9SM8RVmZ3SvWGqYr6Ia5WOtOSKXgOzYUlXp

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004

Photography For C4D Artists: 200 Free Tutorials. Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
Posted: 30 July 2020 11:51 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  99
Joined  2019-09-02

wow… after a years I used that and saw also some youtube tutorials which was not much helpful.

Thanks for that detailed reply and it works also.

Thanks.
...

Profile
 
 
Posted: 31 July 2020 08:03 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
Total Posts:  8488
Joined  2011-03-03

Thanks again, Imran, thanks for the kind feedback.

I like to use things that might not work by themself, but where I have the most and fastest control. Hence the Xpresso suggestion.

I wish you a lot of fun with the project!

Cheers

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004

Photography For C4D Artists: 200 Free Tutorials. Texture, Panorama, HDRI, Camera Projection, etc.
https://www.youtube.com/user/DrSassiLA/playlists

Profile
 
 
   
 
 
‹‹ swarm help      Hair vertex maps ››