ANY3dView 0.4.0__py3-none-any.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.
any3dview/__init__.py ADDED
@@ -0,0 +1,83 @@
1
+ """Backend-neutral geometry, camera, shading, clipping and selection core."""
2
+
3
+ from . import arrays, benchmarks, capabilities, clipping, core, ownership, retained, selection, shading, shapes
4
+ from .arrays import MeshArrays
5
+ from .capabilities import CORE_CAPABILITIES, ViewerCapabilities
6
+ from .clipping import SectionPlane
7
+ from .core import (
8
+ Camera3D,
9
+ DEFAULT_COLOR_STOPS,
10
+ Point3D,
11
+ get_color_stops,
12
+ reset_color_stops,
13
+ set_color_stops,
14
+ )
15
+ from .selection import (
16
+ PickBinding,
17
+ PickOwner,
18
+ ProjectedPrimitive,
19
+ ProjectedSelectionIndex,
20
+ SelectionConfig,
21
+ SelectionDepth,
22
+ SelectionEvent,
23
+ SelectionFilter,
24
+ SelectionGesture,
25
+ SelectionHit,
26
+ SelectionOperation,
27
+ SelectionTool,
28
+ )
29
+ from .ownership import ApplicationOwner, ModelOwner, PackedOwnerTable
30
+ from .retained import DirtyGenerations, MeshHandle, RetainedViewer
31
+ from .scheduler import ViewerScheduler
32
+ from .errors import GPUUnavailableError
33
+ from .factory import create_viewer
34
+ from .shading import Light
35
+ from .shapes import Mesh
36
+
37
+ __version__ = "0.4.0"
38
+
39
+ __all__ = [
40
+ "Camera3D",
41
+ "DEFAULT_COLOR_STOPS",
42
+ "Light",
43
+ "Mesh",
44
+ "MeshArrays",
45
+ "MeshHandle",
46
+ "DirtyGenerations",
47
+ "ViewerCapabilities",
48
+ "ViewerScheduler",
49
+ "CORE_CAPABILITIES",
50
+ "ApplicationOwner",
51
+ "ModelOwner",
52
+ "PackedOwnerTable",
53
+ "RetainedViewer",
54
+ "GPUUnavailableError",
55
+ "create_viewer",
56
+ "PickBinding",
57
+ "PickOwner",
58
+ "Point3D",
59
+ "ProjectedPrimitive",
60
+ "ProjectedSelectionIndex",
61
+ "SectionPlane",
62
+ "SelectionConfig",
63
+ "SelectionDepth",
64
+ "SelectionEvent",
65
+ "SelectionFilter",
66
+ "SelectionGesture",
67
+ "SelectionHit",
68
+ "SelectionOperation",
69
+ "SelectionTool",
70
+ "clipping",
71
+ "arrays",
72
+ "benchmarks",
73
+ "capabilities",
74
+ "core",
75
+ "get_color_stops",
76
+ "reset_color_stops",
77
+ "selection",
78
+ "ownership",
79
+ "retained",
80
+ "set_color_stops",
81
+ "shading",
82
+ "shapes",
83
+ ]
@@ -0,0 +1 @@
1
+ """Optional adapters for external model packages."""
@@ -0,0 +1,13 @@
1
+ """Optional ANYgeometry 0.2/schema-4 display adapter."""
2
+
3
+ from .layer import GeometryLayer
4
+ from .policy import DisplayMode, DisplayPolicy, TessellationPolicy
5
+ from .tessellation import UnsupportedDisplayGeometry
6
+
7
+ __all__ = [
8
+ "DisplayMode",
9
+ "DisplayPolicy",
10
+ "GeometryLayer",
11
+ "TessellationPolicy",
12
+ "UnsupportedDisplayGeometry",
13
+ ]