To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWPVFHJ-B1gGjv9-t2x0pc7OidZnESJKiMiTwn%2BZip%3Dimw%40mail.gmail.com.--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWOrcZW24osm2adfsjS%3D4aBnqWG0QSKQpcDBqRmusDQ1Rw%40mail.gmail.com.
If what you're looking for is customisability of folder structure on a per-project basis, then have you considered working with schemas?
If what you're looking for is customisability of folder structure on a per-project basis, then have you considered working with schemas?Yes, that's what I'm planning on doing - but I have not considered working with schemas. I'll take a look, thanks!I was planning on having a .json file in each project's root directory, which would define the structure within the project. This would simply get read/written by the production management tool (or rather, it's library/module) in a similar manner to how you would work with Qt's QTreeWidget.
Today I have a mySQL database, but I have come to realize a .json file would be much better for several reasons; limiting issues to individual projects, allowing for quick and easy manual editing if an issue arise.Regards,Fredrik
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWPQB7dohoUYAJ7upy94OTWesb%3DY_2sjLati9tXsNBzCVg%40mail.gmail.com.
Sounds like a schema to me! It concretely describes the projects layout and what it must conform to.
Your starting point of having a flat structure is because of your old implementations heavily non-flexible design, and your direction of adding an abstraction layer is not correct. You are trying to solve a problem by creating a bigger one, trust me.
Let me explain what I think is a better approach.
3 years ago I was doing it with XML files. Now switched to a SQL database and written a library called Stalker which is basically a Production Asset Management Library written completely in Python and it is OpenSource with LGPLv2 license.
I need to explain it over Stalker cause it is what I came along with while thinking about the same problem.
At this point I suggest reading the tutorial page of Stalker which explains all the idea behind Stalker in a smooth way, so please visit: http://pythonhosted.org//stalker/tutorial.html#part-vi-asset-management
So, in Stalker the base data is "Task" (actually everything starts from SimpleEntity). And all the Assets, Shots or Sequences are derived data types. Tasks can be hierarchically grouped with a parent/child relation.
You are not forced to have Shots stored under Sequences nor Assets under anything. You can freely create your own structure. And also the folder structure is not forced to be forced to reflect the parent/child relation of the Tasks/Assets/Sequences/Shots. You can freely define them by using per project and per data type Jinja2 templates.
In Stalker you can have an Asset under a Shot or a Shot under an Asset or let say a Shot under a Sequence or you can have a Task which is not an Asset or Shot but something that needs to be done and it is related with one or more files on disk.
Every project has its own structure or you can share ``Structure`` of one project with another. Also every project can be stored in a different placement which is called ``Repository`` in Stalker.
Back to your question, I don't think it is a good idea to use a completely irrelevant folder<->data structure, just to avoid having a constant/inflexible structure on all of the projects where things get unnecessary, the solution I think is just to make it flexible enough so you can have different project structures per project.
I hope my answer was helpful.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWN_Ty06fzm_jqpMaRdmA2CkVL06%3Due9QmNkHTdVDTrTNw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAGq9Q7G8H%2BbohSMwKDTX84wdMhQw5NsEEtg7tTbrqJMK%3DLTMYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I did a fuse filesystem when I was at my previous studio. It wasn't the primary system. Just a mount that offered specific functionality.
When you navigated it, it was aware of your user name and could show you a directory of just your assigned shots and then department specific areas under that shot. Then it also included general role ups of locations at the top level. You could go into a location a see just the published data because it referenced the production tracking and asset system.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCZx%3DUok5sw09OBCpYuOFqmh%3Dyjbu5OLb4bSGXUHjDJGw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0j9AsgP3sgi-aaqc3jfzn_Mnpa37cw43D6_UCeF%3D-PEQ%40mail.gmail.com.