<div dir="auto">This looks useful!</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://stackoverflow.com/questions/6761337/inspect-getfile-vs-inspect-getsourcefile">https://stackoverflow.com/questions/6761337/inspect-getfile-vs-inspect-getsourcefile</a></div><br></div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Jan 20, 2025 at 3:10 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">I’m not really sure what you’re saying Michalis.  I’ve got working gramps export code, so it would seem the task is to do the opposite using similar API on  import.  I can stare at the API for ages.  I found PivotConstraint by looking at the API based on what Joe told me, not anything an AI told me,  the AI was wrong.  There was no PivotConstraint in export or import so we were on new ground.</div><div dir="auto"><br></div><div dir="auto">No, I can’t consume large amounts of documents on the web, I mostly rely on code snippets.  If I could read academic documents, I could probably have gotten a PhD or Masters.  Back when I could read better, my professors invited me to get a higher degree.</div><div dir="auto"><br></div><div dir="auto">Please be considerate and realize there’s neurodiversity in what people can accomplish.  Just because I can master the bash shell doesn’t mean I can use the Blender GUI or play a 3D game to my satisfaction.  I do win world records regularly on Solitaire4us on Roku. I don’t expect people to learn vim.  I recommend notepad or vs code.  I did find this thing called vim3d which is very intriguing.  I did try a “Blender” introductory game, but it was very short.</div><div dir="auto"><br></div><div dir="auto">Do I expect you to run a marathon or be a concert violinist?</div><div dir="auto"><br></div><div dir="auto">What I probably should do is grab the Blender source code so i can use bash tools to learn it.  Weird why we didn’t figure that out a long time ago.  That’s how I got as far as I did with CGE.  I did look at Blender RNA a bit.</div><div dir="auto"><br></div><div dir="auto">UTSL!</div><div dir="auto"><br></div><div dir="auto">Ps:</div><div dir="auto"><br></div><div dir="auto">I recently found “grep -L”, should be really useful!  I’ve been wanting that for quite a while!</div><div dir="auto"><br></div><div dir="auto">I have found AI useful for creating a prototype Python database filtering GUI, fun stuff and no coding needed except to load the database from X3D JSON.   AI whipped out most of a naylib to Three.JS conversion as well, and the result looks better than my hand-coded stuff, probably due to API limitations.</div><div dir="auto"><br></div><div dir="auto">Just because people are in 3D graphics work doesn’t mean they like to be immersed in virtual 3D.  My particular bent is mathematical visualization.  I’m not seeing my surfaces in Blender yet, I still want to my surfaces into Blender, but that may mean extending X3D or Blender.   I hired someone to get my surfaces into Blender, and they failed, despite having all my working X3D source code and shaders.</div><div dir="auto"><br></div><div dir="auto">John </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 20, 2025 at 3:51 AM Michalis Kamburelis <<a href="mailto:michalis.kambi@gmail.com" target="_blank">michalis.kambi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="auto">Please don't rely on AI like this. Analyzing why AI said this, not that, is often a waste of time, in my experience.<br></div><div><br></div><div>AI is guessing. But you should not be guessing. You should:<br></div><div><br></div><div>- Look at documentation, of everything related (Blender Python API in general). </div><div><br></div><div>- Walk step by step, testing snippets of code, from smaller (1-line) to larger, making sure your code does what you want in each iteration. <br></div><div><br></div><div>- Do the operations in Blender, looking in Blender's Python console what your interactive operations translate to in Python. This is a great way to learn Python API.<br></div><div><br></div><div>To be clear, AI can be a big help with coding. I'm using it too. But not like this. You will just waste time trying to analyze why AI is guessing wrong ("hallucinating"), trying to find some "nuggets of truth" in what AI tells you. Instead, rely on documentation and do own research. </div><div><br></div><div>Basically, use AI to help you with *your own* solution. But don't just "take a solution from AI" and don't waste time trying to analyze why AI said something wrong.</div><div><br></div><div>Regards,</div><div>Michalis<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">pt., 17 sty 2025 o 18:45 John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> napisał(a):<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="auto">Looking at the screen capture some more, there’s tons of evidence that the file got loaded, then the X3D got imported, with no cleanup in-between.</div><div dir="auto"><br></div><div dir="auto">Just confirming my intuition.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 17, 2025 at 11:13 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">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">It appears that import is messed up.  There are 2 armatures with gramps, when there's only one humanoid in  the file. Weird!  Looking at gramps in castle, everything looks good except for lighting.  I need to look at import code a bit more.<div><br></div><div><img src="cid:ii_m610ld0t0" alt="image.png" style="width:932px;max-width:100%"><br></div><div><br></div><div>I am unsure I am able to import more than one armature.  There are very strange errors happening, which I can't currently solve.</div></div><div dir="ltr"><div><br></div><div>John</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 17, 2025 at 9:44 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">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="auto">That’s what I’ve been doing with Joe Kick for nearly a year now.  I will try to import gramps and re-export to see what’s up, now that I am more confident with export.  There could be an issue with interpolators on import, converting to NLA Tracks.</div><div dir="auto"><br></div><div dir="auto">Also, some of Vince and Michalis’ .blend models can use the same treatment.</div><div dir="auto"><br></div><div dir="auto">I hear you Joe, but you’re just confirming that I am doing things correctly.  We just need to compare first export with second export.  I don’t quite know what a Switch will do on import currently, should be interesting.</div><div dir="auto"><br></div><div dir="auto">I guess there might be some interpolators which are not connected to TimeSensors which could be getting included in the imported animation, but importing an export should clear that up.</div><div dir="auto"><br></div><div dir="auto">Hmmm.  I wish my brain worked better.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 17, 2025 at 3:34 AM Joe D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</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 style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12pt"><p style="margin:0.1rem 0px;line-height:1">Why not show what this produces.</p>
<p style="margin:0.1rem 0px;line-height:1">Does not look complete but form for Joint node looks <span style="font-size:12pt">correct </span></p>
<p style="margin:0.1rem 0px;line-height:1"><span style="font-size:12pt">with center and </span>skinCoordIndex<span style="font-size:12pt"> and </span>skinCoordWeights<span style="font-size:12pt">. </span></p>
<p style="margin:0.1rem 0px;line-height:1"><span style="font-size:12pt">Thanks,</span></p>
<p style="margin:0.1rem 0px;line-height:1"><span style="font-size:12pt">Joe </span></p>
<p style="margin:0.1rem 0px;line-height:1" dir="auto"><br></p>
</div>
<div style="border-left:1px solid rgb(170,170,170);box-sizing:border-box;padding:10px 0px 10px 15px;margin:0px">
<p dir="auto">-----Original Message-----<br>From: John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>><br>Sent: Jan 16, 2025 10:42 PM<br>To: X3D Ecosystem public discussion <<a href="mailto:x3d-ecosystem@web3d.org" target="_blank">x3d-ecosystem@web3d.org</a>>, Katy Schildmeyer KS APPAREL DESIGN <<a href="mailto:katy@ksappareldesign.com" target="_blank">katy@ksappareldesign.com</a>>, Joe D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>>, Michalis Kamburelis <<a href="mailto:michalis.kambi@gmail.com" target="_blank">michalis.kambi@gmail.com</a>>, Vincent Marchetti <<a href="mailto:vmarchetti@kshell.com" target="_blank">vmarchetti@kshell.com</a>>, Carol McDonald <<a href="mailto:cemd2@comcast.net" target="_blank">cemd2@comcast.net</a>>, GPU Group <<a href="mailto:gpugroup@gmail.com" target="_blank">gpugroup@gmail.com</a>><br>Subject: Does this AI program generally look correct?</p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
<div dir="auto">If we can agree that this generally looks ok, I will try to implement this in the Blender importer:  <a href="https://claude.site/artifacts/7c4c15f2-1bde-4da5-9503-f4f25b09016a" target="_blank">https://claude.site/artifacts/7c4c15f2-1bde-4da5-9503-f4f25b09016a</a></div>
<div dir="auto"> </div>
<div dir="auto">I realize the bone.tail should probably be the child joint center.</div>
<div dir="auto"> </div>
<div dir="auto">I do not yet know what i am doing wrong, but my focus will be shifting to animation import after export is done to my satisfaction.</div>
</div>

<p style="margin:0.1rem 0px;line-height:1"> </p></blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div></div>