<div dir="auto">Does any one have experience with this python package and can recommend it? <div><a href="https://pypi.org/project/blender-file/">https://pypi.org/project/blender-file/</a></div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 12, 2021 at 9:54 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-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto">My first thought is reading .blend files in c/c++ using SDNA. </div><div dir="auto"><br></div><div dir="auto">I’ve heard that .blend files are TLV, which leaves me to believe STEP/EXPRESS might be useful if binary is encoded in hexadecimal.   I will make an informed choice on ARM vs Intel endianness.</div><div dir="auto"><br></div><div dir="auto">I have downloaded the latest blender source code.</div><div dir="auto"><br></div><div dir="auto">So I will begin by tracking down how open files, and see what Blender does.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 10, 2021 at 5:19 PM 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-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br><div dir="auto"><br></div><div dir="auto">I think Blender needs a JSON, XML, STEP/EXPRESS or python dict full export of .blend files.   I do not know if either Collada or glTF support that.  I will probably start working on a native UTF-8 export for Blender.   I believe that Blender will become more useful and open with a full, human readable export, similar to how NeXT’s .nib format got converted to .xib format.   I think there’s still plenty of room for things like typed arrays in webGL and webgpu.   I’m not opposed to dropping into JavaScript or shading language if they can be parsed with an import tool.</div><div dir="auto"><br></div><div dir="auto">So that’s what I’ll be pursuing.   I don’t think we’ll ever see a good X3D export from Blender unless the Blender team is convinced it’s useful, or if someone starts fresh with the newest Blender API.   I do see usefulness in “outing” the Blender format, and providing an upgrade path for Blender import/export tools.</div><div dir="auto"><br></div><div dir="auto">I’m guessing the final result will be something like STEP.   Alternatively, I may pursue a “class grammar” as popularized by Cameron Browne on the Ludii project.</div><div dir="auto"><br></div><div dir="auto">I hope to protect import/export tool writers from the versionitis of the Blender API.   If you’re a good designer or architect, I welcome your effort on my team.</div><div dir="auto"><br><div dir="auto"><br></div><div dir="auto">John</div></div>
</blockquote></div></div>
</blockquote></div></div>