Delete ?
Warning: Adult Content
The content you were about to view is not suitable for minors.
The page that you are trying to access contains adult content, which may not be suited for minors. Please verify that you are aware of this, and are within legal age limit to access this content. Note that we take no responsibility for any content if you decide to proceed to this page as a minor.
Leave this page
I am an adult, continue
Crank rotating a horizontal bean
Published 3 months ago
Drag & Drop

*.jpg or *.png
or browser file
Images posted in this section must comply with the Mecabricks rules. Please read carefully the rules before publishing.


No renderings uploaded yet
In the process of learning animation nodes I needed to attach a beam that would stay horizontal to a pin which rotates with a fixed radius (i.e. the pin is rotating within the beam hole). Getting the beam to stay horizontal required some trigonometry to track the circular path of the pin and use it for the beam object. While this works well if the beam is attached via the central hole the math needs modification if it is not central - that's my next task!

There are two animation trees - one for the simple crank rotation and one for the not so simple bean rotation which uses the formulas:

x position = cx (origin X position) + r (radius of rotation) * COS(a) where a is the angle in radians

y position = cy (origin Y position) + (radius of rotation) * SIN (a) where a is the angle in radians
Download model inventory: CSV | Bricklink XML
11 pieces
Name of the part
Direct Link
Embed Viewer
Post comment
Login to comment
19 models | 1.2k views
Suggested Models
Avengers Ironman piezas
by Profesor_Mario
by MassConstruction