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

position expression

Engaged ,
Nov 20, 2022 Nov 20, 2022

Copy link to clipboard

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 expressionPiston's position occupied by angle expressionmanually put keyframesmanually put keyframes

 

TOPICS
Expressions

Views

373

Translate

Translate

Report

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

correct answers 1 Correct answer

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

...

Votes

Translate

Translate
LEGEND ,
Nov 20, 2022 Nov 20, 2022

Copy link to clipboard

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

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.

Votes

Translate

Translate

Report

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