4,400
edits
m (→Required tools: Absolute value since negative numbers created by 1-x*x will cause an error when being rooted) |
m (Robot: Cosmetic changes) |
||
Line 29: | Line 29: | ||
== Let's go == | == Let's go == | ||
[[ | [[File:Howto- animate gear scissors scissor dist.jpg|thumb|250px|The scissor distance]] | ||
First open the 3D model in AC3D and look for the gear to animate. The two scissor elements need to be named as individual objects. Let's call them '''A''' and '''B''' as an example. It is not within the scope of this document to describe how to create or name objects in the 3D model. | First open the 3D model in AC3D and look for the gear to animate. The two scissor elements need to be named as individual objects. Let's call them '''A''' and '''B''' as an example. It is not within the scope of this document to describe how to create or name objects in the 3D model. | ||
Our first step is to create the interpolation table to be included in the animation xml file. | Our first step is to create the interpolation table to be included in the animation xml file. | ||
Line 36: | Line 36: | ||
Measure the distance between the two vertices marking the two rotation axes of the two scissor elements. Check the image on the right, the two vertices are marked as green dots. Replace the text PUT SCISSOR_DIST HERE with this value. | Measure the distance between the two vertices marking the two rotation axes of the two scissor elements. Check the image on the right, the two vertices are marked as green dots. Replace the text PUT SCISSOR_DIST HERE with this value. | ||
[[ | [[File:Howto- animate gear scissors scissor.jpg|thumb|250px|The scissor length]] | ||
Next, measure the distance between the two rotation axes of one scissor arm. Check the image on the right as a visual reference. Put the value into the line | Next, measure the distance between the two rotation axes of one scissor arm. Check the image on the right as a visual reference. Put the value into the line | ||
var scissor = PUT SCISSOR HERE | var scissor = PUT SCISSOR HERE | ||
and replace the text PUT SCISSOR HERE with this value. | and replace the text PUT SCISSOR HERE with this value. | ||
[[ | [[File:Howto- animate gear scissors oleo.jpg|thumb|250px|The oleo strut]] | ||
Finally you need the length of the oleo strut, the maximum compression length of the oleo strut. Measure the distance like in the examle image and place the value into the line | Finally you need the length of the oleo strut, the maximum compression length of the oleo strut. Measure the distance like in the examle image and place the value into the line | ||
var oleo = PUT OLEO HERE; | var oleo = PUT OLEO HERE; |