A Direct-Manipulation Tool for JavaScripting Animated Exploded …
Short Description
To customize this animation using the modifiers as shown on the first page, refer. to the function calls appearing in the document-side JavaScript, …
Website: www.acrobatusers.com | Filesize: 2565kb
Content
Direct Manipulation for JavaScripting 3D
Version 0.5 6/29/2005
- 1 -
A Direct-Manipulation Tool for JavaScripting Animated
Exploded Views Using Acrobat 7.0 Professional
JJ Ventrella 6/29/2005
start stop
SPEED.
slow fast
RATE.
linear ease-in/out
ease-in ease-out
springy
CYCLE.
once repeating
Example of the Final Result
1. Introduction
The 3D Annotation above is animated by a JavaScript which interpolates the
positions of CAD model parts (meshes) over time. A JavaScript tool was used to
arrange these parts visually for establishing the relative positions of the exploded
view. The translations of the meshes, once arranged, can then be printed as lines of
code in the console, then copied and pasted into the document-side JavaScript,
where it becomes a permanent part of the PDF document.
The 3D Annotation JavaScript is called “ExplodedDemo.js”, and it provides a
handful of functions that can be called from the document-side JavaScript,
enabling authors of 3D annotations to develop demos of exploded views of their
CAD models.
Do It YourselfDirect Manipulation for JavaScripting 3D
Version 0.5 6/29/2005
- 2 -
2. Drag A Few Parts Around To Specify An Exploded View
1 Arrange the parts of the model by clicking and dragging
(you can still rotate the view by clicking on the background and dragging)
2 Select. SAVE .to specify this as your desired configuration
3 Select . START .to go to the start of the animation
4 Select . ANIMATE .to run the animation
5 Select . PRINT .to print these transformations to the console
Note: You are moving these meshes in “Camera-Space” (i.e., relative to your
viewpoint). Later, we’ll see how to move them along their local X, Y, and Z axes,
for hierarchical CAD models.
Now Save Your Configuration As Part of This Document…
Get the file Download here
Related Books:Related Searches: document side, manipulation tool, cad models, javascript tool, javascript website
Comments
Leave a Reply