tinyobjloader 2.0.0__cp314-cp314t-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,99 @@
1
+ """Tiny but powerful Wavefront OBJ loader.
2
+
3
+ This package wraps the pure-C11 tinyobjloader core. Arrays are returned as
4
+ zero-copy read-only ``memoryview`` objects; when numpy is installed they are
5
+ wrapped in ``numpy.ndarray`` views instead. NumPy is never a hard dependency.
6
+
7
+ Quick start::
8
+
9
+ import tinyobjloader as tobj
10
+ scene = tobj.load("model.obj")
11
+ print(scene.attrib.vertices.shape)
12
+ for shape in scene.shapes:
13
+ print(shape.name, shape.mesh.indices.shape)
14
+ """
15
+
16
+ from ._api import (
17
+ Array,
18
+ Attrib,
19
+ FreeformInfo,
20
+ Limits,
21
+ Lines,
22
+ Material,
23
+ MergedMesh,
24
+ Mesh,
25
+ ObjChunk,
26
+ ObjScene,
27
+ Points,
28
+ Shape,
29
+ SkinWeights,
30
+ Tag,
31
+ TextureOption,
32
+ iter_load,
33
+ load,
34
+ load_obj,
35
+ load_obj_from_memory,
36
+ loads,
37
+ parse_mtl,
38
+ write_obj,
39
+ )
40
+ from ._core import LoadError, __version__
41
+ from ._ext import (
42
+ MtlxColorSpace,
43
+ MtlxConn,
44
+ MtlxDoc,
45
+ MtlxInput,
46
+ MtlxMaterial,
47
+ MtlxNode,
48
+ SkelInfo,
49
+ SkelJoint,
50
+ SubdInfo,
51
+ TessResult,
52
+ mtlx_render,
53
+ parse_mtlx,
54
+ parse_skel,
55
+ parse_subd,
56
+ tessellate,
57
+ )
58
+
59
+ __all__ = [
60
+ "Array",
61
+ "Attrib",
62
+ "FreeformInfo",
63
+ "Limits",
64
+ "Lines",
65
+ "LoadError",
66
+ "Material",
67
+ "MergedMesh",
68
+ "Mesh",
69
+ "MtlxColorSpace",
70
+ "MtlxConn",
71
+ "MtlxDoc",
72
+ "MtlxInput",
73
+ "MtlxMaterial",
74
+ "MtlxNode",
75
+ "ObjChunk",
76
+ "ObjScene",
77
+ "Points",
78
+ "Shape",
79
+ "SkelInfo",
80
+ "SkelJoint",
81
+ "SkinWeights",
82
+ "SubdInfo",
83
+ "Tag",
84
+ "TessResult",
85
+ "TextureOption",
86
+ "__version__",
87
+ "iter_load",
88
+ "load",
89
+ "load_obj",
90
+ "load_obj_from_memory",
91
+ "loads",
92
+ "mtlx_render",
93
+ "parse_mtl",
94
+ "parse_mtlx",
95
+ "parse_skel",
96
+ "parse_subd",
97
+ "tessellate",
98
+ "write_obj",
99
+ ]