ordito 0.1.0__tar.gz
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.
- ordito-0.1.0/LICENSE-APACHE +201 -0
- ordito-0.1.0/LICENSE-MIT +21 -0
- ordito-0.1.0/PKG-INFO +295 -0
- ordito-0.1.0/README.md +259 -0
- ordito-0.1.0/ordito/__init__.py +221 -0
- ordito-0.1.0/ordito/_device.py +498 -0
- ordito-0.1.0/ordito/_launch.py +1738 -0
- ordito-0.1.0/ordito/adjacency.py +1195 -0
- ordito-0.1.0/ordito/array.py +3358 -0
- ordito-0.1.0/ordito/boundary.py +1480 -0
- ordito-0.1.0/ordito/bounds.py +1090 -0
- ordito-0.1.0/ordito/cholesky.py +2241 -0
- ordito-0.1.0/ordito/combine.py +328 -0
- ordito-0.1.0/ordito/config.py +219 -0
- ordito-0.1.0/ordito/constants.py +116 -0
- ordito-0.1.0/ordito/creation.py +3514 -0
- ordito-0.1.0/ordito/curvature.py +424 -0
- ordito-0.1.0/ordito/edges.py +984 -0
- ordito-0.1.0/ordito/energies.py +1476 -0
- ordito-0.1.0/ordito/geodesic_walk.py +1265 -0
- ordito-0.1.0/ordito/graph.py +1289 -0
- ordito-0.1.0/ordito/grouping.py +1446 -0
- ordito-0.1.0/ordito/halfedge.py +910 -0
- ordito-0.1.0/ordito/heat.py +2827 -0
- ordito-0.1.0/ordito/holes.py +4511 -0
- ordito-0.1.0/ordito/homology.py +516 -0
- ordito-0.1.0/ordito/interpolation.py +679 -0
- ordito-0.1.0/ordito/intersection.py +2526 -0
- ordito-0.1.0/ordito/io.py +363 -0
- ordito-0.1.0/ordito/kernels/__init__.py +0 -0
- ordito-0.1.0/ordito/kernels/adjacency.py +556 -0
- ordito-0.1.0/ordito/kernels/algorithms/__init__.py +0 -0
- ordito-0.1.0/ordito/kernels/algorithms/ball_pivoting.py +1307 -0
- ordito-0.1.0/ordito/kernels/algorithms/bfs.py +254 -0
- ordito-0.1.0/ordito/kernels/algorithms/blue_noise.py +401 -0
- ordito-0.1.0/ordito/kernels/algorithms/conjugate_gradient.py +1115 -0
- ordito-0.1.0/ordito/kernels/algorithms/connected_components.py +348 -0
- ordito-0.1.0/ordito/kernels/algorithms/convex_hull.py +989 -0
- ordito-0.1.0/ordito/kernels/algorithms/mesh_builder.py +539 -0
- ordito-0.1.0/ordito/kernels/algorithms/multigrid.py +945 -0
- ordito-0.1.0/ordito/kernels/algorithms/poisson_band.py +1388 -0
- ordito-0.1.0/ordito/kernels/algorithms/poisson_octree.py +2194 -0
- ordito-0.1.0/ordito/kernels/array.py +2217 -0
- ordito-0.1.0/ordito/kernels/boundary.py +568 -0
- ordito-0.1.0/ordito/kernels/bounds.py +572 -0
- ordito-0.1.0/ordito/kernels/cholesky.py +2798 -0
- ordito-0.1.0/ordito/kernels/combine.py +49 -0
- ordito-0.1.0/ordito/kernels/creation.py +2161 -0
- ordito-0.1.0/ordito/kernels/curvature.py +479 -0
- ordito-0.1.0/ordito/kernels/edges.py +295 -0
- ordito-0.1.0/ordito/kernels/energies.py +1343 -0
- ordito-0.1.0/ordito/kernels/geodesic_walk.py +1479 -0
- ordito-0.1.0/ordito/kernels/graph.py +445 -0
- ordito-0.1.0/ordito/kernels/grouping.py +681 -0
- ordito-0.1.0/ordito/kernels/halfedge.py +638 -0
- ordito-0.1.0/ordito/kernels/heat.py +764 -0
- ordito-0.1.0/ordito/kernels/holes.py +2261 -0
- ordito-0.1.0/ordito/kernels/homology.py +648 -0
- ordito-0.1.0/ordito/kernels/interpolation.py +341 -0
- ordito-0.1.0/ordito/kernels/intersection.py +2155 -0
- ordito-0.1.0/ordito/kernels/laplacian.py +1149 -0
- ordito-0.1.0/ordito/kernels/levelset.py +1080 -0
- ordito-0.1.0/ordito/kernels/linalg.py +877 -0
- ordito-0.1.0/ordito/kernels/measures.py +326 -0
- ordito-0.1.0/ordito/kernels/mesh.py +61 -0
- ordito-0.1.0/ordito/kernels/metrics.py +541 -0
- ordito-0.1.0/ordito/kernels/neighbors.py +1531 -0
- ordito-0.1.0/ordito/kernels/parametrization.py +470 -0
- ordito-0.1.0/ordito/kernels/points.py +1183 -0
- ordito-0.1.0/ordito/kernels/polyline.py +2897 -0
- ordito-0.1.0/ordito/kernels/predicates.py +1290 -0
- ordito-0.1.0/ordito/kernels/proximity.py +2103 -0
- ordito-0.1.0/ordito/kernels/ray.py +144 -0
- ordito-0.1.0/ordito/kernels/reconstruction.py +1997 -0
- ordito-0.1.0/ordito/kernels/reduce.py +2139 -0
- ordito-0.1.0/ordito/kernels/registration.py +1072 -0
- ordito-0.1.0/ordito/kernels/remesh.py +5195 -0
- ordito-0.1.0/ordito/kernels/repair.py +1648 -0
- ordito-0.1.0/ordito/kernels/sample.py +394 -0
- ordito-0.1.0/ordito/kernels/scatter.py +1032 -0
- ordito-0.1.0/ordito/kernels/seams.py +442 -0
- ordito-0.1.0/ordito/kernels/selection.py +678 -0
- ordito-0.1.0/ordito/kernels/smoothing.py +2615 -0
- ordito-0.1.0/ordito/kernels/tangent_space.py +261 -0
- ordito-0.1.0/ordito/kernels/texture.py +307 -0
- ordito-0.1.0/ordito/kernels/transform.py +99 -0
- ordito-0.1.0/ordito/kernels/triangles.py +914 -0
- ordito-0.1.0/ordito/kernels/validation.py +920 -0
- ordito-0.1.0/ordito/kernels/vertices.py +313 -0
- ordito-0.1.0/ordito/kernels/visibility.py +786 -0
- ordito-0.1.0/ordito/kernels/voxels.py +1159 -0
- ordito-0.1.0/ordito/laplacian.py +1896 -0
- ordito-0.1.0/ordito/levelset.py +1033 -0
- ordito-0.1.0/ordito/linalg.py +6146 -0
- ordito-0.1.0/ordito/measures.py +413 -0
- ordito-0.1.0/ordito/mesh.py +2906 -0
- ordito-0.1.0/ordito/metrics.py +1726 -0
- ordito-0.1.0/ordito/neighbors.py +2409 -0
- ordito-0.1.0/ordito/parametrization.py +1795 -0
- ordito-0.1.0/ordito/points.py +2534 -0
- ordito-0.1.0/ordito/polyline.py +2094 -0
- ordito-0.1.0/ordito/proximity.py +1717 -0
- ordito-0.1.0/ordito/py.typed +0 -0
- ordito-0.1.0/ordito/ray.py +529 -0
- ordito-0.1.0/ordito/reconstruction.py +4115 -0
- ordito-0.1.0/ordito/reduce.py +1338 -0
- ordito-0.1.0/ordito/registration.py +1123 -0
- ordito-0.1.0/ordito/remesh.py +5627 -0
- ordito-0.1.0/ordito/repair.py +3919 -0
- ordito-0.1.0/ordito/sample.py +1220 -0
- ordito-0.1.0/ordito/seams.py +738 -0
- ordito-0.1.0/ordito/selection.py +1638 -0
- ordito-0.1.0/ordito/smoothing.py +4288 -0
- ordito-0.1.0/ordito/tangent_space.py +437 -0
- ordito-0.1.0/ordito/texture.py +458 -0
- ordito-0.1.0/ordito/transform.py +1105 -0
- ordito-0.1.0/ordito/triangles.py +813 -0
- ordito-0.1.0/ordito/typing.py +966 -0
- ordito-0.1.0/ordito/validation.py +1979 -0
- ordito-0.1.0/ordito/vertices.py +542 -0
- ordito-0.1.0/ordito/visibility.py +885 -0
- ordito-0.1.0/ordito/voxels.py +3229 -0
- ordito-0.1.0/ordito.egg-info/PKG-INFO +295 -0
- ordito-0.1.0/ordito.egg-info/SOURCES.txt +186 -0
- ordito-0.1.0/ordito.egg-info/dependency_links.txt +1 -0
- ordito-0.1.0/ordito.egg-info/requires.txt +5 -0
- ordito-0.1.0/ordito.egg-info/top_level.txt +1 -0
- ordito-0.1.0/pyproject.toml +358 -0
- ordito-0.1.0/setup.cfg +4 -0
- ordito-0.1.0/tests/test_adjacency.py +1124 -0
- ordito-0.1.0/tests/test_aggregate.py +166 -0
- ordito-0.1.0/tests/test_api_conventions.py +1006 -0
- ordito-0.1.0/tests/test_array.py +2154 -0
- ordito-0.1.0/tests/test_array_indexing_probe.py +115 -0
- ordito-0.1.0/tests/test_boundary.py +1162 -0
- ordito-0.1.0/tests/test_bounds.py +1048 -0
- ordito-0.1.0/tests/test_cholesky.py +808 -0
- ordito-0.1.0/tests/test_combine.py +409 -0
- ordito-0.1.0/tests/test_config.py +149 -0
- ordito-0.1.0/tests/test_creation.py +2096 -0
- ordito-0.1.0/tests/test_curvature.py +691 -0
- ordito-0.1.0/tests/test_docs_examples.py +56 -0
- ordito-0.1.0/tests/test_edges.py +835 -0
- ordito-0.1.0/tests/test_energies.py +655 -0
- ordito-0.1.0/tests/test_examples.py +76 -0
- ordito-0.1.0/tests/test_geodesic_walk.py +1381 -0
- ordito-0.1.0/tests/test_graph.py +999 -0
- ordito-0.1.0/tests/test_grouping.py +763 -0
- ordito-0.1.0/tests/test_halfedge.py +811 -0
- ordito-0.1.0/tests/test_heat.py +2620 -0
- ordito-0.1.0/tests/test_holes.py +3803 -0
- ordito-0.1.0/tests/test_homology.py +453 -0
- ordito-0.1.0/tests/test_interpolation.py +654 -0
- ordito-0.1.0/tests/test_intersection.py +2483 -0
- ordito-0.1.0/tests/test_io.py +195 -0
- ordito-0.1.0/tests/test_laplacian.py +1564 -0
- ordito-0.1.0/tests/test_launch.py +454 -0
- ordito-0.1.0/tests/test_levelset.py +1374 -0
- ordito-0.1.0/tests/test_linalg.py +2232 -0
- ordito-0.1.0/tests/test_map_uniform_probe.py +102 -0
- ordito-0.1.0/tests/test_measures.py +299 -0
- ordito-0.1.0/tests/test_mesh.py +1475 -0
- ordito-0.1.0/tests/test_metrics.py +1594 -0
- ordito-0.1.0/tests/test_neighbors.py +2305 -0
- ordito-0.1.0/tests/test_parametrization.py +1151 -0
- ordito-0.1.0/tests/test_parity.py +233 -0
- ordito-0.1.0/tests/test_points.py +2199 -0
- ordito-0.1.0/tests/test_polyline.py +2408 -0
- ordito-0.1.0/tests/test_proximity.py +2114 -0
- ordito-0.1.0/tests/test_ray.py +421 -0
- ordito-0.1.0/tests/test_reconstruction.py +2598 -0
- ordito-0.1.0/tests/test_reduce.py +1233 -0
- ordito-0.1.0/tests/test_registration.py +1773 -0
- ordito-0.1.0/tests/test_remesh.py +4734 -0
- ordito-0.1.0/tests/test_repair.py +4317 -0
- ordito-0.1.0/tests/test_sample.py +1042 -0
- ordito-0.1.0/tests/test_seams.py +1155 -0
- ordito-0.1.0/tests/test_selection.py +1541 -0
- ordito-0.1.0/tests/test_smoothing.py +3231 -0
- ordito-0.1.0/tests/test_tangent_space.py +473 -0
- ordito-0.1.0/tests/test_texture.py +667 -0
- ordito-0.1.0/tests/test_transform.py +861 -0
- ordito-0.1.0/tests/test_triangles.py +1052 -0
- ordito-0.1.0/tests/test_typing.py +187 -0
- ordito-0.1.0/tests/test_validation.py +2009 -0
- ordito-0.1.0/tests/test_vertices.py +561 -0
- ordito-0.1.0/tests/test_visibility.py +1049 -0
- ordito-0.1.0/tests/test_voxels.py +2108 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Luca Grementieri
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
ordito-0.1.0/LICENSE-MIT
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Luca Grementieri
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
ordito-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ordito
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Triangular mesh library based on NVIDIA Warp
|
|
5
|
+
Author-email: Luca Grementieri <luca.grementieri@ens-paris-saclay.fr>
|
|
6
|
+
License-Expression: MIT OR Apache-2.0
|
|
7
|
+
Project-URL: Documentation, https://lucagrementieri.github.io/ordito/
|
|
8
|
+
Project-URL: Homepage, https://lucagrementieri.github.io/ordito/
|
|
9
|
+
Project-URL: Issues, https://github.com/lucagrementieri/ordito/issues
|
|
10
|
+
Project-URL: Repository, https://github.com/lucagrementieri/ordito
|
|
11
|
+
Keywords: 3d,computational-geometry,cuda,geometry-processing,gpu,mesh,triangle-mesh,warp
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Environment :: GPU :: NVIDIA CUDA
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: Science/Research
|
|
16
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
17
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
|
+
Classifier: Topic :: Multimedia :: Graphics :: 3D Modeling
|
|
24
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
25
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
26
|
+
Classifier: Typing :: Typed
|
|
27
|
+
Requires-Python: >=3.11
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
License-File: LICENSE-APACHE
|
|
30
|
+
License-File: LICENSE-MIT
|
|
31
|
+
Requires-Dist: numpy>=1.20
|
|
32
|
+
Requires-Dist: warp-lang>=1.18
|
|
33
|
+
Provides-Extra: io
|
|
34
|
+
Requires-Dist: meshio>=5.0; extra == "io"
|
|
35
|
+
Dynamic: license-file
|
|
36
|
+
|
|
37
|
+
<picture>
|
|
38
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lucagrementieri/ordito/main/docs/assets/wordmark-dark.svg">
|
|
39
|
+
<img src="https://raw.githubusercontent.com/lucagrementieri/ordito/main/docs/assets/wordmark.svg" alt="ordito" height="96">
|
|
40
|
+
</picture>
|
|
41
|
+
|
|
42
|
+
[](https://pypi.org/project/ordito/)
|
|
43
|
+
[](https://pypi.org/project/ordito/)
|
|
44
|
+
[](https://lucagrementieri.github.io/ordito/)
|
|
45
|
+
[](#development)
|
|
46
|
+
[](#license)
|
|
47
|
+
[](#status)
|
|
48
|
+
|
|
49
|
+
**ordito puts mesh processing on the GPU.** Geometry, topology, repair, remeshing, spatial
|
|
50
|
+
queries, discrete differential operators, geodesics, point-cloud reconstruction, and
|
|
51
|
+
registration — as plain array-in / array-out functions backed by
|
|
52
|
+
[NVIDIA Warp](https://github.com/NVIDIA/warp) kernels, with a
|
|
53
|
+
[trimesh](https://trimesh.org)-inspired API. Every function runs on CUDA when a GPU is available
|
|
54
|
+
and falls back to CPU otherwise, with the same code.
|
|
55
|
+
|
|
56
|
+
*Ordito* (or-DEE-toh) is Italian for the **warp** of a fabric, and an anagram of
|
|
57
|
+
**toroid**: a fitting name for a mesh library built on Warp.
|
|
58
|
+
|
|
59
|
+
## Highlights
|
|
60
|
+
|
|
61
|
+
- **One dependency.** The runtime depends on `warp-lang` alone; NumPy comes with Warp; nothing else
|
|
62
|
+
(no SciPy, PyTorch or trimesh) is needed at runtime.
|
|
63
|
+
- **Broad coverage.** Hundreds of functions across dozens of public modules, spanning primitives, topology,
|
|
64
|
+
repair, remeshing, spatial queries, discrete differential operators, geodesics, sampling,
|
|
65
|
+
surface reconstruction, and registration.
|
|
66
|
+
- **Stays on the device.** Functions take Warp arrays and return Warp arrays, so pipelines
|
|
67
|
+
compose without host round-trips; device placement follows the inputs.
|
|
68
|
+
- **Optional `Trimesh` object.** A frozen mesh class with lazily cached derived quantities
|
|
69
|
+
(normals, adjacency, boundary loops, manifoldness and watertightness predicates, BVH) for
|
|
70
|
+
when an object API is more convenient than free functions.
|
|
71
|
+
- **Fully typed** (`py.typed`), documented per module at
|
|
72
|
+
<https://lucagrementieri.github.io/ordito/>, and validated function-by-function against eleven
|
|
73
|
+
reference implementations — nine established geometry-processing libraries plus SciPy and
|
|
74
|
+
NumPy (see below).
|
|
75
|
+
|
|
76
|
+
## Learn more
|
|
77
|
+
|
|
78
|
+
- **[Getting started](https://lucagrementieri.github.io/ordito/getting-started/)** — install, the
|
|
79
|
+
mental model, and a first repair-then-remesh pipeline.
|
|
80
|
+
- **[Examples](https://lucagrementieri.github.io/ordito/examples/)** — a gallery of runnable
|
|
81
|
+
examples with the images they produce: cleaning a scan, point clouds to watertight surfaces,
|
|
82
|
+
geodesic distance fields, aligning two scans, and many more.
|
|
83
|
+
- **[Migrating from another library](https://lucagrementieri.github.io/ordito/migrating-from/)**
|
|
84
|
+
— already know trimesh, libigl, Open3D, MeshLab, potpourri3d, or PyTorch3D? Start here for a
|
|
85
|
+
function-by-function map.
|
|
86
|
+
- **[Performance](https://lucagrementieri.github.io/ordito/performance/)** — why the GPU path is
|
|
87
|
+
fast, and how to check any speed claim yourself.
|
|
88
|
+
|
|
89
|
+
## One GPU library instead of nine
|
|
90
|
+
|
|
91
|
+
Mesh processing in Python has long meant stitching together several excellent — but mostly
|
|
92
|
+
CPU-bound and stylistically different — libraries. ordito consolidates the functionality it needs
|
|
93
|
+
from each of them behind a single GPU-accelerated API:
|
|
94
|
+
|
|
95
|
+
| Replaces | For | In ordito |
|
|
96
|
+
|---|---|---|
|
|
97
|
+
| [trimesh](https://github.com/mikedh/trimesh) | Mesh bookkeeping: edges, adjacency, boundary, validation, primitives, sampling, proximity | `edges`, `adjacency`, `boundary`, `validation`, `creation`, `sample`, `proximity`, the `Trimesh` class |
|
|
98
|
+
| [libigl](https://libigl.github.io/) ([Python bindings](https://github.com/libigl/libigl-python-bindings)) | Discrete differential geometry: cotangent Laplacians, mass matrices, curvature, parametrization, heat-method geodesics | `laplacian`, `energies`, `curvature`, `parametrization`, `heat` |
|
|
99
|
+
| [Open3D](https://www.open3d.org/) | Point clouds, registration, and surface reconstruction: ICP, screened Poisson, ball pivoting | `points`, `registration`, `reconstruction` |
|
|
100
|
+
| [MeshLab](https://www.meshlab.net/) ([PyMeshLab](https://github.com/cnr-isti-vislab/PyMeshLab)) | Mesh editing filters: isotropic remeshing, decimation, smoothing, hole filling, uniform resampling | `remesh`, `smoothing`, `holes`, `repair` |
|
|
101
|
+
| [PyVista](https://pyvista.org/) (VTK) | The VTK toolkit: feature edges, cell-quality metrics, contouring and clipping, point location, arc-length and polyline measures, voxelization | `edges`, `triangles`, `intersection`, `levelset`, `proximity`, `polyline`, `voxels` |
|
|
102
|
+
| [MeshLib](https://meshlib.io/) | Minimum-weight hole filling and stitching, self-intersection repair, voxel offsets and booleans, projection queries, spike and outlier detection | `holes`, `repair`, `levelset`, `voxels`, `proximity`, `points` |
|
|
103
|
+
| [PyMeshFix](https://github.com/pyvista/pymeshfix) (MeshFix / TMesh) | The repair pipeline end to end: a broken digitised surface in, one watertight solid out | `repair`, `holes`, `validation` |
|
|
104
|
+
| [potpourri3d](https://github.com/nmwsharp/potpourri3d) (geometry-central) | The heat-method family: vector heat, parallel transport, log maps, signed distance, tangent frames | `heat`, `tangent_space` |
|
|
105
|
+
| [PyTorch3D](https://pytorch3d.org/) | Batched neighbour and Chamfer primitives, the mesh regularization losses, cubify and marching cubes | `metrics`, `neighbors`, `energies`, `registration`, `levelset`, `voxels` |
|
|
106
|
+
|
|
107
|
+
[SciPy](https://scipy.org/)'s `spatial.KDTree` and `sparse.csgraph` (covered by `neighbors`,
|
|
108
|
+
`graph` and `proximity`) and NumPy's array primitives (`array`, `reduce`, `grouping`, `linalg`)
|
|
109
|
+
round the set out to the eleven reference implementations the suite measures against.
|
|
110
|
+
|
|
111
|
+
These libraries are not runtime dependencies; they are **test oracles**. Wherever one of them
|
|
112
|
+
computes the same quantity as an ordito function, a regression test compares the two outputs
|
|
113
|
+
value by value. A parity gate in the test suite fails the build if any library the benchmarks
|
|
114
|
+
time against ordito is neither compared in a test nor exempted with a written reason. Every
|
|
115
|
+
`(group, library)` pair in the benchmark suite is either covered by a value test or carries a
|
|
116
|
+
written exemption (typically a different algorithm answering a related question); none are
|
|
117
|
+
uncovered, and `python -m tests.parity` prints the current matrix. Where ordito and a reference disagree by definition rather than by rounding
|
|
118
|
+
(a sign convention, a squared distance), the docstring says so and the test pins the difference.
|
|
119
|
+
|
|
120
|
+
## Install
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
uv add ordito
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
or with `pip`:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
pip install ordito
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Requires Python ≥ 3.11 and `warp-lang` ≥ 1.18. A CUDA-capable GPU is recommended but not
|
|
133
|
+
required — every function also runs on Warp's CPU backend. Mesh file I/O via
|
|
134
|
+
[meshio](https://github.com/nschloe/meshio) is an optional extra: `pip install "ordito[io]"`.
|
|
135
|
+
|
|
136
|
+
Tested on **Linux**, with and without CUDA, and on **macOS** (Apple Silicon, CPU backend). The
|
|
137
|
+
wheel is pure Python and `warp-lang` supports Windows, so ordito is expected to work there, but it
|
|
138
|
+
is not verified — see
|
|
139
|
+
[Platform support](https://lucagrementieri.github.io/ordito/getting-started/#platform-support).
|
|
140
|
+
|
|
141
|
+
## Quickstart
|
|
142
|
+
|
|
143
|
+
```python
|
|
144
|
+
import ordito as od
|
|
145
|
+
|
|
146
|
+
# Parametric primitives allocate directly on the default device (CUDA if available).
|
|
147
|
+
vertices, faces = od.creation.icosphere(subdivisions=4)
|
|
148
|
+
|
|
149
|
+
# Optional object API: derived quantities are computed on first access and cached.
|
|
150
|
+
mesh = od.Trimesh(vertices, faces)
|
|
151
|
+
print(f"{mesh.area:.4f}") # 12.5514
|
|
152
|
+
print(mesh.is_watertight) # True
|
|
153
|
+
print(mesh.euler_characteristic) # 2
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Everything the `Trimesh` class offers is also available as free functions over raw Warp
|
|
157
|
+
arrays, so pipelines stay on the device end to end:
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
import numpy as np
|
|
161
|
+
import warp as wp
|
|
162
|
+
|
|
163
|
+
import ordito as od
|
|
164
|
+
|
|
165
|
+
vertices, faces = od.creation.icosphere(subdivisions=4)
|
|
166
|
+
|
|
167
|
+
# Geodesic distance from vertex 0 via the heat method (two sparse solves, on the device).
|
|
168
|
+
sources = wp.array([0], dtype=wp.int32, device=vertices.device)
|
|
169
|
+
distance = od.heat.heat_geodesic(vertices, faces, sources)
|
|
170
|
+
|
|
171
|
+
# Uniform, area-weighted surface sampling.
|
|
172
|
+
points, face_ids = od.sample.sample_surface(vertices, faces, 10_000, seed=0)
|
|
173
|
+
|
|
174
|
+
# Feature-preserving isotropic remeshing (split / collapse / flip / smooth / reproject).
|
|
175
|
+
remeshed_vertices, remeshed_faces = od.remesh.isotropic_remesh(vertices, faces, target_length=0.05)
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Interop with NumPy is a `wp.array(...)` / `.numpy()` pair away, and
|
|
179
|
+
`od.mesh.Trimesh.from_warp_mesh` / `mesh.warp_mesh` bridge to Warp's own `wp.Mesh` BVH for ray
|
|
180
|
+
and proximity queries. For a pipeline that starts from a realistically messy input — a hole to
|
|
181
|
+
close, stray debris to drop — see the
|
|
182
|
+
[one-call watertight solid example](https://lucagrementieri.github.io/ordito/examples/repair/#h10).
|
|
183
|
+
|
|
184
|
+
## What's inside
|
|
185
|
+
|
|
186
|
+
| Area | Modules | Highlights |
|
|
187
|
+
|---|---|---|
|
|
188
|
+
| **Primitives** | `creation` | Boxes, spheres, platonic solids, capsules, tori; extrusion, revolution, sweeps, 2D polygon triangulation |
|
|
189
|
+
| **Structure & topology** | `mesh`, `vertices`, `edges`, `triangles`, `halfedge`, `adjacency`, `boundary`, `selection`, `validation`, `homology`, `tangent_space` | Edge/face adjacency, half-edge structure, boundary loops, manifold/watertight/orientability predicates, submesh selection, homology generators, tangent frames |
|
|
190
|
+
| **Measures & shape descriptors** | `measures`, `curvature`, `bounds`, `visibility` | Volume, centroid, and inertia integrals; discrete mean/Gaussian curvature and principal directions; axis-aligned and oriented bounding boxes; ambient occlusion, shape diameter, thickness |
|
|
191
|
+
| **Editing & repair** | `transform`, `repair`, `holes`, `combine`, `remesh`, `smoothing`, `seams`, `levelset` | Rigid transforms, hole filling, winding repair, isotropic remeshing, quadric and clustering decimation, Loop and midpoint subdivision, Laplacian/Taubin smoothing, seam cutting, level-set offsets and marching cubes |
|
|
192
|
+
| **Spatial queries** | `proximity`, `ray`, `neighbors`, `intersection`, `metrics` | Closest point, signed distance, winding number, ray casting, BVH and hash-grid neighbor queries, triangle-triangle intersection, chamfer and Hausdorff distance (differentiable via `wp.Tape`) |
|
|
193
|
+
| **Point clouds, voxels & reconstruction** | `points`, `sample`, `voxels`, `reconstruction`, `registration` | Poisson-disk and blue-noise sampling, farthest-point and voxel down-sampling, screened Poisson reconstruction, ball pivoting, marching cubes, Delaunay triangulation, Procrustes and ICP (point-to-point, point-to-plane) |
|
|
194
|
+
| **Operators & solvers** | `laplacian`, `energies`, `linalg`, `interpolation`, `parametrization` | Cotangent Laplacian, mass matrices, discrete energies, sparse conjugate-gradient solvers (Jacobi and multigrid-preconditioned), harmonic, LSCM, and ARAP parametrization |
|
|
195
|
+
| **Geodesics & heat methods** | `geodesic_walk`, `heat` | Straightest-geodesic walks (exponential map), heat-method geodesic distance, vector heat / parallel transport / log maps, signed heat method |
|
|
196
|
+
| **Curves** | `polyline` | Polyline resampling, simplification, and measures |
|
|
197
|
+
| **Attributes & I/O** | `texture`, `io` | Per-vertex/face attribute handling, meshio-backed mesh loading |
|
|
198
|
+
| **Arrays & infrastructure** | `array`, `reduce`, `grouping`, `graph`, `typing`, `constants` | GPU sort/scan/unique/group primitives, reductions, graph algorithms (connected components, shortest paths, cycles), typed array aliases |
|
|
199
|
+
|
|
200
|
+
50 public modules in total — the full API reference, generated per module, lives at
|
|
201
|
+
<https://lucagrementieri.github.io/ordito/>.
|
|
202
|
+
|
|
203
|
+
## Design
|
|
204
|
+
|
|
205
|
+
- **Arrays in, arrays out.** The core API is free functions over `wp.array` buffers — no
|
|
206
|
+
mandatory mesh object, no hidden state. Faces are a flat `int32` index buffer, vertices a
|
|
207
|
+
`wp.vec3` array, the same convention everywhere.
|
|
208
|
+
- **The device follows the data.** Every kernel launch and allocation inherits the device of
|
|
209
|
+
its inputs; there are no global device switches.
|
|
210
|
+
- **Host syncs are budgeted.** Wrappers avoid device-to-host readbacks, and where one is
|
|
211
|
+
unavoidable the reason is documented; bounds a caller already knows can be passed in to skip
|
|
212
|
+
the inference.
|
|
213
|
+
- **Measured, not assumed.** Every public module has both a test file and a benchmark file;
|
|
214
|
+
performance work lands only with a before/after measurement, and correctness is asserted on
|
|
215
|
+
values, never just shapes.
|
|
216
|
+
|
|
217
|
+
## Status
|
|
218
|
+
|
|
219
|
+
ordito is pre-1.0 (`0.x`): the test suite is extensive (thousands of tests per device, an
|
|
220
|
+
eleven-library parity gate with no uncovered pair) and the library is safe to build on, but a
|
|
221
|
+
public signature may still shift a positional argument to a keyword or gain a required parameter
|
|
222
|
+
between minor versions until 1.0. Released versions are recorded in
|
|
223
|
+
[CHANGELOG.md](CHANGELOG.md).
|
|
224
|
+
|
|
225
|
+
## Development
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
git clone https://github.com/lucagrementieri/ordito
|
|
229
|
+
cd ordito
|
|
230
|
+
uv sync --all-groups # runtime + dev + test + docs + bench dependencies
|
|
231
|
+
|
|
232
|
+
uv run pytest # regression tests against the reference libraries
|
|
233
|
+
uv run ruff format ordito tests && uv run ruff check ordito tests
|
|
234
|
+
uv run basedpyright # type checking (0 errors expected)
|
|
235
|
+
|
|
236
|
+
uv run zensical serve # preview the docs locally
|
|
237
|
+
|
|
238
|
+
uv run pytest --device=cpu -n 4 --cov=ordito # coverage, the way CI measures it
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
The coverage badge measures the Python wrapper layer on the CPU backend, which is what CI can
|
|
242
|
+
run, and is refreshed by the `main` build. It deliberately excludes `ordito/kernels/`: a
|
|
243
|
+
`@wp.kernel` body is compiled from its AST and executed on the device, never called as Python, so
|
|
244
|
+
coverage.py reports every line of a constantly-running kernel as unexecuted. Device-side behaviour
|
|
245
|
+
is covered instead by running the suite on both backends (`uv run python -m tests.devices`), which
|
|
246
|
+
is a two-process job and needs a GPU.
|
|
247
|
+
|
|
248
|
+
The test environment installs the reference stack (trimesh, libigl, Open3D, potpourri3d,
|
|
249
|
+
PyMeshLab, PyVista, MeshLib, PyMeshFix, PyTorch3D, SciPy, and more) so the comparison suite runs
|
|
250
|
+
in full.
|
|
251
|
+
Benchmarks live in `benchmarks/` and use `pytest-benchmark`; PyTorch3D is the one reference with
|
|
252
|
+
CUDA kernels of its own, so it is also the suite's only GPU-against-GPU comparison. To reproduce
|
|
253
|
+
them, follow [benchmarks/README.md § Reproduce](benchmarks/README.md#reproduce): a two-step install,
|
|
254
|
+
then `uv run pytest benchmarks/`. The scan meshes are downloaded on first use from the
|
|
255
|
+
[`meshes-v1`](https://github.com/lucagrementieri/ordito/releases/tag/meshes-v1) release and checked
|
|
256
|
+
against pinned SHA-256 hashes.
|
|
257
|
+
|
|
258
|
+
Bug reports, reproductions and pull requests are welcome — see
|
|
259
|
+
[CONTRIBUTING.md](CONTRIBUTING.md) for the development loop, the bar a pull request has to clear,
|
|
260
|
+
and where the internal engineering reference lives.
|
|
261
|
+
|
|
262
|
+
## Links
|
|
263
|
+
|
|
264
|
+
- **Documentation:** <https://lucagrementieri.github.io/ordito/>
|
|
265
|
+
- **Source:** <https://github.com/lucagrementieri/ordito>
|
|
266
|
+
- **Issues:** <https://github.com/lucagrementieri/ordito/issues>
|
|
267
|
+
- **NVIDIA Warp:** <https://nvidia.github.io/warp/>
|
|
268
|
+
|
|
269
|
+
## Citation
|
|
270
|
+
|
|
271
|
+
If ordito is useful in your research, please cite it:
|
|
272
|
+
|
|
273
|
+
```bibtex
|
|
274
|
+
@software{grementieri_ordito,
|
|
275
|
+
author = {Grementieri, Luca},
|
|
276
|
+
title = {{ordito}: GPU-accelerated triangular mesh processing on NVIDIA Warp},
|
|
277
|
+
year = {2026},
|
|
278
|
+
url = {https://github.com/lucagrementieri/ordito},
|
|
279
|
+
version = {0.1.0}
|
|
280
|
+
}
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
## License
|
|
284
|
+
|
|
285
|
+
Licensed under either of
|
|
286
|
+
|
|
287
|
+
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
|
|
288
|
+
<http://www.apache.org/licenses/LICENSE-2.0>)
|
|
289
|
+
- MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)
|
|
290
|
+
|
|
291
|
+
at your option.
|
|
292
|
+
|
|
293
|
+
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion
|
|
294
|
+
in ordito by you, as defined in the Apache-2.0 license, shall be dual licensed as above,
|
|
295
|
+
without any additional terms or conditions.
|