pyobjc-framework-ModelIO 12.0__cp314-cp314-macosx_10_15_universal2.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.
Binary file
ModelIO/__init__.py ADDED
@@ -0,0 +1,47 @@
1
+ """
2
+ Python mapping for the ModelIO framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import AppKit
13
+ import Quartz
14
+ import objc
15
+ from . import _metadata, _ModelIO
16
+
17
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
18
+ name="ModelIO",
19
+ frameworkIdentifier="com.apple.ModelIO",
20
+ frameworkPath=objc.pathForFramework(
21
+ "/System/Library/Frameworks/ModelIO.framework"
22
+ ),
23
+ globals_dict=globals(),
24
+ inline_list=None,
25
+ parents=(
26
+ _ModelIO,
27
+ AppKit,
28
+ Quartz,
29
+ ),
30
+ metadict=_metadata.__dict__,
31
+ )
32
+
33
+ globals()["__dir__"] = dir_func
34
+ globals()["__getattr__"] = getattr_func
35
+
36
+ for cls, sel in (
37
+ ("MDLMaterialProperty", b"init"),
38
+ ("MDLMaterialPropertyConnection", b"init"),
39
+ ("MDLMaterialPropertyNode", b"init"),
40
+ ("MDLMaterialPropertyNode", b"init"),
41
+ ):
42
+ objc.registerUnavailableMethod(cls, sel)
43
+
44
+ del sys.modules["ModelIO._metadata"]
45
+
46
+
47
+ globals().pop("_setup")()