for various reasons I’m trying to learn to work with xml files in python. So I got an idea: a repository of objects you’ve made on your computer in a custom xml format that could be added to any scene. The advantage is sharing objects in dif. blendfiles/scenes without all the hassle of appending.
so heres my idea (working on proof of concept right now):
scene xml:
lists objects, etc in the repos. w/ offset and rotation values
object xml:
lists components to an object; for instance, a mesh xml and a material xml
group xml:
lists others, could be used for lighting setups (i.e. insta-3pt etc…)
mesh xml:
<verts>
<vert x= etc…>colors and stuff</vert>
<vert…></vert>
<vert…></vert>
</verts>
<faces>
<face verts=1,2,3>uvs n stuff?</face>
</faces>
the idea is to have small lightweight xmls hanging around instead of a huge blendfile w/ scene data etc, for just a mesh. Only saving what you want to save.
do you think this has merit?
any suggestions while I’m still in the planning phase?