kittycad.models.file_import_format

Classes

FileImportFormat(value)

The valid types of source file formats.

class kittycad.models.file_import_format.FileImportFormat(value)[source][source]

The valid types of source file formats.

DAE = 'dae'[source]

//en.wikipedia.org/wiki/AutoCAD_DXF>

Type

# The DXF file format. <https

DXF = 'dxf'[source]

//en.wikipedia.org/wiki/FBX>

Type

# The FBX file format. <https

FBX = 'fbx'[source]

//en.wikipedia.org/wiki/Wavefront_.obj_file>>

Type

# The OBJ file format. A zip file containing both the obj file itself and its associated mtl file for full processing. <https

OBJ = 'obj'[source]

//en.wikipedia.org/wiki/PLY_(file_format)>

Type

# The PLY file format. <https

OBJ_ZIP = 'obj_zip'[source]

//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.

Type

# The OBJ file format. <https

PLY = 'ply'[source]

//en.wikipedia.org/wiki/ISO_10303-21>

Type

# The STEP file format. <https

STEP = 'step'[source]

//en.wikipedia.org/wiki/STL_(file_format)>

Type

# The STL file format. <https

STL = 'stl'[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.file_import_format', '__doc__': 'The valid types of source file formats.', '__str__': <function FileImportFormat.__str__>, '__dict__': <attribute '__dict__' of 'FileImportFormat' objects>, '__weakref__': <attribute '__weakref__' of 'FileImportFormat' objects>, '_member_names_': ['DAE', 'DXF', 'FBX', 'OBJ_ZIP', 'OBJ', 'PLY', 'STEP', 'STL'], '_member_map_': {'DAE': <FileImportFormat.DAE: 'dae'>, 'DXF': <FileImportFormat.DXF: 'dxf'>, 'FBX': <FileImportFormat.FBX: 'fbx'>, 'OBJ_ZIP': <FileImportFormat.OBJ_ZIP: 'obj_zip'>, 'OBJ': <FileImportFormat.OBJ: 'obj'>, 'PLY': <FileImportFormat.PLY: 'ply'>, 'STEP': <FileImportFormat.STEP: 'step'>, 'STL': <FileImportFormat.STL: 'stl'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'dae': <FileImportFormat.DAE: 'dae'>, 'dxf': <FileImportFormat.DXF: 'dxf'>, 'fbx': <FileImportFormat.FBX: 'fbx'>, 'obj_zip': <FileImportFormat.OBJ_ZIP: 'obj_zip'>, 'obj': <FileImportFormat.OBJ: 'obj'>, 'ply': <FileImportFormat.PLY: 'ply'>, 'step': <FileImportFormat.STEP: 'step'>, 'stl': <FileImportFormat.STL: 'stl'>}, 'DAE': <FileImportFormat.DAE: 'dae'>, 'DXF': <FileImportFormat.DXF: 'dxf'>, 'FBX': <FileImportFormat.FBX: 'fbx'>, 'OBJ_ZIP': <FileImportFormat.OBJ_ZIP: 'obj_zip'>, 'OBJ': <FileImportFormat.OBJ: 'obj'>, 'PLY': <FileImportFormat.PLY: 'ply'>, 'STEP': <FileImportFormat.STEP: 'step'>, 'STL': <FileImportFormat.STL: 'stl'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.file_import_format'[source]
_generate_next_value_(start, count, last_values)[source]

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None

_member_map_ = {'DAE': FileImportFormat.DAE, 'DXF': FileImportFormat.DXF, 'FBX': FileImportFormat.FBX, 'OBJ': FileImportFormat.OBJ, 'OBJ_ZIP': FileImportFormat.OBJ_ZIP, 'PLY': FileImportFormat.PLY, 'STEP': FileImportFormat.STEP, 'STL': FileImportFormat.STL}[source]
_member_names_ = ['DAE', 'DXF', 'FBX', 'OBJ_ZIP', 'OBJ', 'PLY', 'STEP', 'STL'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'dae': FileImportFormat.DAE, 'dxf': FileImportFormat.DXF, 'fbx': FileImportFormat.FBX, 'obj': FileImportFormat.OBJ, 'obj_zip': FileImportFormat.OBJ_ZIP, 'ply': FileImportFormat.PLY, 'step': FileImportFormat.STEP, 'stl': FileImportFormat.STL}[source]