<div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12pt"><p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">> It looks like a potential way to animate bones.</span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">Hey, you don't care about the freakin bones.  </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">If that tool will do bones then it will do joints. </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">Bone orientation is same as joint rotation when rigged right. </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">Forget bones, the joints are what runs the model and </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">when bones are at highest level, then you have to compute joint centers anyway. </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">  So, forget bones and just think about joints and the bones will take care of themselves. </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">  </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">All it is is just sets of transforms.  </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; white-space: normal; float: none; display: inline;">Hierarchy is Joint, Segment, Site not Bone, whatever. </span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"><span style="font-family: Times New Roman; font-size: medium;">Joe</span></p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
</div>
<div class="elnk-inline-message-container" style="border-left: 1px solid #aaa; box-sizing: border-box; padding: 10px 0 10px 15px; margin: 0;">
<p>-----Original Message-----<br>From: John Carlson <yottzumm@gmail.com><br>Sent: Apr 29, 2024 10:11 PM<br>To: Joe D Williams <joedwil@earthlink.net><br>Cc: Don Brutzman <brutzman@nps.edu>, GPU Group <gpugroup@gmail.com>, Katy Schildmeyer KS APPAREL DESIGN <katy@ksappareldesign.com><br>Subject: Re: First light...ROUTEs (weights?) into Blender. Animated too! Had to use .wrl. XML does not provide.</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<div dir="auto">Using keyframe_insert on the bone seems to be key, and our import code doesn’t use it.  So…</div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Mon, Apr 29, 2024 at 11:05 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; padding-left: 1ex; border-left-color: #cccccc;">
<div dir="auto">Check last comment on this page:</div>
<div dir="auto"> </div>
<div dir="auto">
<div><a href="https://stackoverflow.com/questions/56482387/armature-python-animation" target="_blank" rel="noopener">https://stackoverflow.com/questions/56482387/armature-python-animation</a></div>
</div>
<div dir="auto">It looks like a potential way to animate bones.</div>
<div dir="auto"> </div>
<div dir="auto">John </div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Tue, Apr 23, 2024 at 10:27 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank" rel="noopener">yottzumm@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; padding-left: 1ex; border-left-color: #cccccc;">
<div dir="auto">Google “How do you animate armature in blender python?”</div>
<div dir="auto"> </div>
<div dir="auto">This looks good, but I will have to take the Interpolators apart from the export.</div>
<div dir="auto"> </div>
<div dir="auto">John</div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Tue, Apr 23, 2024 at 9:13 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank" rel="noopener">yottzumm@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; padding-left: 1ex; border-left-color: #cccccc;">
<div dir="auto">I have not added fields as an attribute to ROUTEs in the XML parser, rather, I deal with from and to fields in routes directly.</div>
<div dir="auto"> </div>
<div dir="auto">This code is not all updated (there’s an issue with AnimOb’s created for bones, and bones don’t have an animation_data attribute in python).  That is, I’m trying to import skeleton, and I don’t know how to import animations for skeleton, except through a proxy, creating another level in the animation.</div>
<div dir="auto"> </div>
<div dir="auto">
<div><a href="https://github.com/coderextreme/BlenderX3DSupport/blob/main/io_scene_x3d/import_x3d.py" target="_blank" rel="noopener">https://github.com/coderextreme/BlenderX3DSupport/blob/main/io_scene_x3d/import_x3d.py</a></div>
</div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Tue, Apr 23, 2024 at 8:49 PM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank" rel="noopener">yottzumm@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; padding-left: 1ex; border-left-color: #cccccc;">
<div dir="auto">There was different functionality between .wrl and .x3d imports, for example, ROUTEs do not have a “fields” python attribute in some cases with .x3d (look for hasattr…fields under importRoute).</div>
<div dir="auto"> </div>
<div dir="auto">I have remedied that.</div>
<div dir="auto"> </div>
<div dir="auto">My animations are not perfect yet, still dealing with the flare.</div>
<div dir="auto"> </div>
<div dir="auto">There was also something with Interpolators not being read in, but interpolators rely on ROUTEs to reference them, last I checked or remember.</div>
<div dir="auto"> </div>
<div dir="auto">I am working with .x3d now.</div>
<div dir="auto"> </div>
<div dir="auto">John</div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Tue, Apr 23, 2024 at 1:18 PM Joe D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank" rel="noopener">joedwil@earthlink.net</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; padding-left: 1ex; border-left-color: #cccccc;">
<div style="font-family: arial,sans-serif; font-size: 12pt; color: #000000;">
<p style="margin: 0.1rem 0px; line-height: 1; font-family: arial,sans-serif;"><span style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 12px; white-space: normal; float: none; display: inline; background-color: #e1e7f1; color: #000000;">> Had to use .wrl. XML does not provide. ... </span></p>
<p style="margin: 0.1rem 0px; line-height: 1; font-family: arial,sans-serif;"> </p>
<p style="margin: 0.1rem 0px; line-height: 1; font-family: arial,sans-serif;"><span style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 12px; white-space: normal; float: none; display: inline; background-color: #e1e7f1; color: #000000;">Hi John,</span></p>
<p style="margin: 0.1rem 0px; line-height: 1; font-family: arial,sans-serif;"><span style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 12px; white-space: normal; float: none; display: inline; background-color: #e1e7f1; color: #000000;">What does xml not provide?</span></p>
<p style="margin: 0.1rem 0px; line-height: 1; font-family: arial,sans-serif;"><span style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 12px; white-space: normal; float: none; display: inline; background-color: #e1e7f1; color: #000000;">Thanks,</span></p>
<p style="margin: 0.1rem 0px; line-height: 1; font-family: arial,sans-serif;"><span style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 12px; white-space: normal; float: none; display: inline; background-color: #e1e7f1; color: #000000;">Joe</span></p>
<p style="margin: 0.1rem 0px; line-height: 1; font-family: arial,sans-serif;"> </p>
</div>
<div style="border-left-width: 1px; border-left-style: solid; box-sizing: border-box; padding: 10px 0px 10px 15px; margin: 0px; border-left-color: #aaaaaa;">
<p>-----Original Message-----<br>From: John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank" rel="noopener">yottzumm@gmail.com</a>><br>Sent: Apr 20, 2024 10:01 PM<br>To: GPU Group <<a href="mailto:gpugroup@gmail.com" target="_blank" rel="noopener">gpugroup@gmail.com</a>>, Joe D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank" rel="noopener">joedwil@earthlink.net</a>>, Katy Schildmeyer KS APPAREL DESIGN <<a href="mailto:katy@ksappareldesign.com" target="_blank" rel="noopener">katy@ksappareldesign.com</a>>, Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank" rel="noopener">brutzman@nps.edu</a>><br>Subject: First light...ROUTEs (weights?) into Blender. Animated too! Had to use .wrl. XML does not provide.</p>
<p style="margin: 0.1rem 0px; line-height: 1;"> </p>
<p style="margin: 0.1rem 0px; line-height: 1;">Pic of something not included with reply.</p>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>

<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>