FREDO6 Animator - data extraction
-
Hi from La Réunion,
I’m a amateur coder.
Regarding Sketchup, I already coded converter like :Today i’m developing an online 3d viewer, the goal is to share my drawings or my 3d captures or both mixed :
- https://3d.tarn.us/?=africa.glb
(chatgpt threejs mentor help a lot for this one)
As a Sketchup user, sometimes I bring my drawings to life thank to Fredo6 and his wonderfull plugin Animator.
Animator allows you to move the parts inside Sketchup and export to a set of images or/and a video.
It saves an ascii file beside your animated Sketchup file.
This ascii file (extension .animator) contains all the data in relation with the animation.
My goal in this topic is to find helps to turn Fredo6 animator file syntax into a simplest as possible ascii describing trajectories and keyframes, then import them as meta in 3d or as an ascii file beside the 3d model just like FREDO6 does.
Then code some line to animate model on online viewer.This one deserve an animation : https://3d.tarn.us/?=Malaxeur_C1_etude_manutention.glb
Any help to map Fredo6 animator data ?
(witch move is enabled or disabled, witch is in clip, I noticed length is not display as it is in the plugin …)Thank you for readîng
- https://3d.tarn.us/?=africa.glb
-
I would sat asking @fredo6 about this would be your best option.
I've tagged him so if he is interested or can provide some insights.
-
Animation data are stored in the model. All data related to movements, cameras and visual effects refer to objects of the model via a unique ID.
The .animator file is simply a backup file, in case something is corrupted in the model. The fromat is a serialization of the working data structures in the plugin. So, not really designed for a clean export.
Exporting the animation would first require that you are able to export the container objects (Groups, ComponentInstance), with their transformations.
Advertisement