• Global community
• Language:
• Deutsch
• English
• Español
• Français
• Português
• 日本語コミュニティ
Dedicated community for Japanese speakers
• 한국 커뮤니티
Dedicated community for Korean speakers
Exit Search
• position expression

# position expression

Participant ,
Nov 20, 2022 Nov 20, 2022

Copied

Hello,

I want to animate the position of a  pistion by two ways-

1- the rotation value of other elements in the composition

2-I also want to make that move up and down.

I used one expression control(angle) for  rotation that controls the rotation value of all cogs in the animation.

I also pick whipped piston's position with that so can maintain the rythm with the rotations. But the probelm is I no way can make that pistion stop at certain point. because the position of the pistion is already taken/controlled by expression control angle.

Is there any way where I can maintain the speed of rotation in the position properties of the piston and also can stop in at certain level in Y axis?

(What I did found no way, I erased the angle expression from pistion's position properties and later place keyframed manually and loopout that. (attached)).

Thank you.

Piston's position occupied by angle expressionmanually put keyframes

TOPICS
Expressions

Views

237

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

LEGEND , Nov 20, 2022 Nov 20, 2022

It's certainly possible, but not as trivial as you may think. The T-bar would actually only stop the gear rack when it's in contact, so the width and inclination of the teeth matters just as much as their width. Your math for the position is wrong, anyway. The gear rack will move about 1/8th of the circumference of the gear because it's diameter * Pi, not a direct linear relationship. And here, too, the inclination, height and width of the gears matter to figure out the actual contact points and

...

2 Replies 2
LEGEND ,
Nov 20, 2022 Nov 20, 2022

Copied

It's certainly possible, but not as trivial as you may think. The T-bar would actually only stop the gear rack when it's in contact, so the width and inclination of the teeth matters just as much as their width. Your math for the position is wrong, anyway. The gear rack will move about 1/8th of the circumference of the gear because it's diameter * Pi, not a direct linear relationship. And here, too, the inclination, height and width of the gears matter to figure out the actual contact points and how far everything moves. Did I mention that of course your gears cannot rotatet in different directions? With so many factors at play indeed just anymating a cycle by hand and then looping it seems much more straightforward.

Mylenium

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Participant ,
Nov 20, 2022 Nov 20, 2022

Copied

LATEST

Wow! So many things to consider! Thank you so much for educating me about all these. I will learn evrything you just said. Thank you.