<div dir="ltr"><div dir="ltr">This has been "simplified" by moving two functions to the other file, and calling the right code for the job (HAnim/non-HAnim).<div><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/blend/localtest/localfinal.py">X3DJSONLD/blend/localtest/localfinal.py at master · coderextreme/X3DJSONLD (github.com)</a><br><div><br></div><div>So now I'll probably let LLMs chew on this for a while.</div><div><br></div><div>Note that this probably *won't* be the code that makes it to the importer, this was for exploratory purposes.  I think it's a good idea to separate the HAnim code from the non-Anim code.</div><div><br></div><div>John</div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 3, 2024 at 12:23 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I would like to present what I have for testing transform animation and HAnim EMPTY loading.<div><br></div><div>I have essentially two Python files now for loading (not importing) examples:</div><div><div><br></div><div>This loads simple box animations, with transforms.</div></div><div><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/blend/localtest/localfinal.py.HAnimNotOK" target="_blank">X3DJSONLD/blend/localtest/localfinal.py.HAnimNotOK at master · coderextreme/X3DJSONLD (github.com)</a><br></div><div><br></div><div>This loads HAnim with correct joint centers(simple figures, LOA1, not LOA4 and sites due to current memory constraints, which might have workarounds). No animation is currently loaded because I don't have LOA1 animations.<br></div><div><br></div><div><a href="https://github.com/coderextreme/X3DJSONLD/blob/master/blend/localtest/localfinal.py.HAnimOK" target="_blank">X3DJSONLD/blend/localtest/localfinal.py.HAnimOK at master · coderextreme/X3DJSONLD (github.com)</a><br></div><div><br></div><div>I haven't been able to wrap my brain around combining both examples yet, despite there being probably minimal differences between two functions.  I am primarily using ChatGPT and Claude.ai as a one/two punch.   Unfortunately, these tools tend to trim functionality when new requirements and examples are added, so it's up to the human (probably me) at this point.  Also, the LLMs don't particularly like combining source code from different forks either.</div><div><br></div><div>When I get a little more motivation, I will work towards putting more human effort towards combining create_empty() and process_node().</div><div><br></div><div>You can test these files by editing them to replace the .x3d file, then loading them into blender.  I normally use bat or shell scripts to launch Blender with the appropriate python file.</div><div><br></div><div>John</div></div></div></div></div></div></div>
</blockquote></div>