README.txt 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. """
  2. Copyright (c) Contributors to the Open 3D Engine Project.
  3. For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. SPDX-License-Identifier: Apache-2.0 OR MIT
  5. """
  6. # -------------------------------------------------------------------------
  7. This folder contains the DccScriptingInterface (DCCsi) for O3DE
  8. Notice: The old \\SDK folder is being replaced with \\Tools
  9. The scripts in \\SDK may be out of data (and not run)
  10. When scripts are finished being updated and refactored into \\Tools the \\SDK will be removed
  11. What is the DCCsi?
  12. - A shared development environment for technical art oriented to working with Python across a number of DCC tools.
  13. - Leverage the existing python ecosystem for technical art.
  14. - Integrate a DCC app like Substance (or Substance SAT api) from the Python driven VFX and Games ecosystem.
  15. - Extend O3DE and unlock its potential for content creators, and the Technical Artists that service them.
  16. Tenets:
  17. (1) Interoperability: Design DCC-agnostic modules and DCC-bespoke modules
  18. to work together efficiently and intuitively.
  19. (2) Encapsulation: Define a module in terms of its essential features and interface to other components,
  20. to facilitate logical layered design and easy maintenance.
  21. (3) Extensibility: Design the tool set to be easily extensible with new functionality and new tools.
  22. Individual pieces should have a generic communication mechanism to allow newly written tools to slot cleanly and transparently into the tool chain.
  23. What is provided (High Level):
  24. - DCC-Agnostic Python Framework (as a modular Gem) related to multiple integrations for:
  25. O3DE Editor (python scripting, utils and PySide2 tools)
  26. DCC applications and their Python APIs/SDKs
  27. Custom standalone tools and utils (python based)
  28. external from cmd line
  29. external standalone
  30. integrated to run within O3DE Editor
  31. What is provided (by folder):
  32. \3rdParty: Allows third party libs/packages to be integrated outside of O3DE
  33. Example: O3DE is py3, Maya 2020 (and earlier) is py27
  34. O3DE provides a patterns for Gems to provide a requirements.txt
  35. See:
  36. DccScriptingInterface\reqiurements.txt
  37. ^ These packages will be fetched and installed into O3DE python at build time
  38. This means for some applications like Maya we need another way to add the same packages
  39. See:
  40. DccScriptingInterface\SDK\Maya\readme.txt
  41. DccScriptingInterface\SDK\Maya\requirements.txt
  42. DccScriptingInterface\3rdParty\Python\Lib\2.x\2.7.x\site-packages\*
  43. Packages that reside in 3rdParty are never commited to the repo (only fetched+installed)
  44. \Assets: All O3DE Gems can maintain an asset folder
  45. If a Gem contains an \Asset folder, these assets are folded into the projects asset data
  46. These assets are processed by the Asset Processor for use in the Editor and Runtime
  47. In the DCCsi the \Assets folder primarily contains TestData
  48. \azpy Core (shared) API, A pure python Package and Modules
  49. \Code Contains the bare bones C++ scaffold to build and integrate the Gem with O3DE
  50. Notes: portions of the DCCsi can be utilized outside of O3DE
  51. thus this Gem doens't have to be enabled and built for some use cases
  52. \Editor This folder provides an entry point pattern for extending O3DE Editor with python
  53. When a Gem is enabled ...
  54. If the following if found, it will be executed when the Editor boots:
  55. "Editor\Scripts\bootstrap.py"
  56. This can be used to initialize code access, extend the editor (PySide2), etc.
  57. \Tools This is where the following is maintained:
  58. \Tools\DCC Integration for DCC tools:
  59. configuration of tool (managed env, etc.)
  60. bootstrapping, such as providing the tool access to azpy api code
  61. extensibility, such as adding new functionality or tool to the app
  62. \Tools\DCC\Maya An example of adding a integration for Autodesk Maya
  63. \Tools\Env\Windows This provides a .bat file managed env to configure and bootsrap windows apps
  64. \Tools\Launchers\windows Provides .bat files based tool launchers for windows (accesses env)