Update api spec (#127)
* YOYO NEW API SPEC! * bump version Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * some fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes #128 Signed-off-by: Jess Frazelle <github@jessfraz.com> * mypy fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -4,7 +4,21 @@ from enum import Enum
|
||||
class FileExportFormat(str, Enum):
|
||||
"""The valid types of output file formats.""" # noqa: E501
|
||||
|
||||
"""# glTF 2.0. We refer to this as glTF since that is how our customers refer to it, although by default it will be in binary format and thus technically (glb). """ # noqa: E501
|
||||
"""# Autodesk Filmbox (FBX) format. <https://en.wikipedia.org/wiki/FBX> """ # noqa: E501
|
||||
FBX = "fbx"
|
||||
"""# Binary glTF 2.0.
|
||||
|
||||
This is a single binary with .glb extension.
|
||||
|
||||
This is better if you want a compressed format as opposed to the human readable glTF that lacks compression. """ # noqa: E501
|
||||
GLB = "glb"
|
||||
"""# glTF 2.0. Embedded glTF 2.0 (pretty printed).
|
||||
|
||||
Single JSON file with .gltf extension binary data encoded as base64 data URIs.
|
||||
|
||||
The JSON contents are pretty printed.
|
||||
|
||||
It is human readable, single file, and you can view the diff easily in a git commit. """ # noqa: E501
|
||||
GLTF = "gltf"
|
||||
"""# The OBJ file format. <https://en.wikipedia.org/wiki/Wavefront_.obj_file> It may or may not have an an attached material (mtl // mtllib) within the file, but we interact with it as if it does not. """ # noqa: E501
|
||||
OBJ = "obj"
|
||||
|
Reference in New Issue
Block a user