icadkit 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.
- icadkit-0.1.0/COMMERCIAL-LICENSE.md +66 -0
- icadkit-0.1.0/Cargo.lock +339 -0
- icadkit-0.1.0/Cargo.toml +24 -0
- icadkit-0.1.0/LICENSE +28 -0
- icadkit-0.1.0/LICENSES/Apache-2.0.txt +201 -0
- icadkit-0.1.0/LICENSES/PolyForm-Noncommercial-1.0.0.md +73 -0
- icadkit-0.1.0/LICENSES/parasolid-core-MIT.txt +21 -0
- icadkit-0.1.0/LICENSES/rust-dependencies.txt +1218 -0
- icadkit-0.1.0/PKG-INFO +116 -0
- icadkit-0.1.0/README.md +89 -0
- icadkit-0.1.0/THIRD_PARTY_NOTICES.md +31 -0
- icadkit-0.1.0/corpus/README.md +26 -0
- icadkit-0.1.0/corpus/generate.py +75 -0
- icadkit-0.1.0/corpus/public.jsonl +8 -0
- icadkit-0.1.0/crates/icad-core/Cargo.toml +19 -0
- icadkit-0.1.0/crates/icad-core/LICENSE +1661 -0
- icadkit-0.1.0/crates/icad-core/src/compression.rs +139 -0
- icadkit-0.1.0/crates/icad-core/src/document.rs +564 -0
- icadkit-0.1.0/crates/icad-core/src/error.rs +79 -0
- icadkit-0.1.0/crates/icad-core/src/header.rs +212 -0
- icadkit-0.1.0/crates/icad-core/src/lib.rs +79 -0
- icadkit-0.1.0/crates/icad-core/src/limits.rs +195 -0
- icadkit-0.1.0/crates/icad-core/src/parasolid.rs +409 -0
- icadkit-0.1.0/crates/icad-core/src/provenance.rs +25 -0
- icadkit-0.1.0/crates/icad-core/src/reader.rs +81 -0
- icadkit-0.1.0/crates/icad-core/src/record.rs +118 -0
- icadkit-0.1.0/crates/icad-core/src/resource.rs +33 -0
- icadkit-0.1.0/crates/icad-core/src/schema.rs +142 -0
- icadkit-0.1.0/crates/icad-core/tests/header.rs +225 -0
- icadkit-0.1.0/crates/icad-core/tests/resources.rs +173 -0
- icadkit-0.1.0/crates/icad-python/Cargo.toml +22 -0
- icadkit-0.1.0/crates/icad-python/LICENSE +1661 -0
- icadkit-0.1.0/crates/icad-python/src/brep.rs +504 -0
- icadkit-0.1.0/crates/icad-python/src/document.rs +187 -0
- icadkit-0.1.0/crates/icad-python/src/geometry.rs +265 -0
- icadkit-0.1.0/crates/icad-python/src/lib.rs +137 -0
- icadkit-0.1.0/crates/icad-python/src/schema.rs +71 -0
- icadkit-0.1.0/docs/api.md +373 -0
- icadkit-0.1.0/docs/license.md +40 -0
- icadkit-0.1.0/docs/support.md +62 -0
- icadkit-0.1.0/pyproject.toml +77 -0
- icadkit-0.1.0/scripts/check_license.py +122 -0
- icadkit-0.1.0/scripts/check_public_tree.py +110 -0
- icadkit-0.1.0/scripts/test_publication.py +119 -0
- icadkit-0.1.0/scripts/verify_artifacts.py +297 -0
- icadkit-0.1.0/scripts/verify_corpus.py +96 -0
- icadkit-0.1.0/scripts/verify_install.py +149 -0
- icadkit-0.1.0/src/icadkit/__init__.py +83 -0
- icadkit-0.1.0/src/icadkit/__main__.py +3 -0
- icadkit-0.1.0/src/icadkit/_core.pyi +130 -0
- icadkit-0.1.0/src/icadkit/api.py +126 -0
- icadkit-0.1.0/src/icadkit/cli.py +457 -0
- icadkit-0.1.0/src/icadkit/document.py +196 -0
- icadkit-0.1.0/src/icadkit/errors.py +25 -0
- icadkit-0.1.0/src/icadkit/geometry.py +369 -0
- icadkit-0.1.0/src/icadkit/models.py +173 -0
- icadkit-0.1.0/src/icadkit/py.typed +0 -0
- icadkit-0.1.0/src/icadkit/schema.py +114 -0
- icadkit-0.1.0/tests/conftest.py +10 -0
- icadkit-0.1.0/tests/fixture_builders.py +115 -0
- icadkit-0.1.0/tests/geometry_fixtures.py +86 -0
- icadkit-0.1.0/tests/test_api.py +19 -0
- icadkit-0.1.0/tests/test_cli.py +147 -0
- icadkit-0.1.0/tests/test_corpus.py +36 -0
- icadkit-0.1.0/tests/test_distribution.py +25 -0
- icadkit-0.1.0/tests/test_geometry.py +289 -0
- icadkit-0.1.0/tests/test_inspect.py +188 -0
- icadkit-0.1.0/tests/test_resource_cli.py +90 -0
- icadkit-0.1.0/tests/test_resources.py +314 -0
- icadkit-0.1.0/uv.lock +495 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Commercial licensing
|
|
2
|
+
|
|
3
|
+
This document describes available licensing arrangements. **It does not grant
|
|
4
|
+
any license.** Rights arise only under a written agreement accepted by
|
|
5
|
+
UnRobotics Inc. and the customer, subject to that agreement's payment terms.
|
|
6
|
+
|
|
7
|
+
The licensor and commercial contracting entity is **UnRobotics Inc.**
|
|
8
|
+
Use the [commercial contact form](https://www.un-robotics.com/#contact) to
|
|
9
|
+
describe your organization, application, target platforms and distribution needs.
|
|
10
|
+
|
|
11
|
+
## Plans
|
|
12
|
+
|
|
13
|
+
| Plan | Intended scope | Pricing basis |
|
|
14
|
+
| --- | --- | --- |
|
|
15
|
+
| Internal | A named legal entity's internal business use, applications, development, modification, testing, CI and backups | Annual fee per legal entity |
|
|
16
|
+
| OEM | Internal rights for that entity, plus integration into a named product, distribution of its runtime and end-user execution rights | Annual base fee per product and agreed distribution band |
|
|
17
|
+
|
|
18
|
+
Affiliates and additional products must be named in the agreement. Contractors
|
|
19
|
+
may act for the licensed entity under the agreed conditions. Internal includes
|
|
20
|
+
human-operated contract analysis that delivers outputs only; delivering
|
|
21
|
+
executable software requires OEM scope or an agreed redistribution addendum.
|
|
22
|
+
Customer-operated hosted services or APIs require a SaaS addendum.
|
|
23
|
+
|
|
24
|
+
An OEM runtime can include the native extension and required Python modules.
|
|
25
|
+
End users need not purchase individual licenses from us when their execution
|
|
26
|
+
rights are covered by the OEM agreement. Providing a development SDK for other
|
|
27
|
+
organizations to build and redistribute their own products requires an SDK
|
|
28
|
+
redistribution addendum. Ordinary OEM execution rights do not include that grant.
|
|
29
|
+
|
|
30
|
+
## Term, evaluation and support
|
|
31
|
+
|
|
32
|
+
The standard commercial term is 12 months; prices are quoted individually.
|
|
33
|
+
OEM includes Internal use for the same entity, without a second Internal fee.
|
|
34
|
+
An Internal-to-OEM upgrade credits the remaining Internal term as specified in
|
|
35
|
+
the quotation. We do not meter parsed files or require online activation.
|
|
36
|
+
|
|
37
|
+
Internal and SaaS commercial use ends at expiry unless renewed or separately
|
|
38
|
+
licensed. OEM end users may continue running products lawfully distributed
|
|
39
|
+
during the term. New shipments and update distribution end at expiry unless
|
|
40
|
+
the agreement grants surviving maintenance distribution rights. Fixed-version
|
|
41
|
+
perpetual use and long-term runtime distribution are separately quoted.
|
|
42
|
+
|
|
43
|
+
Companies can request a separate, normally free 30-day evaluation license
|
|
44
|
+
before evaluation begins. It covers internal feasibility testing, not production
|
|
45
|
+
or customer delivery. Downloading the public package does not create that
|
|
46
|
+
evaluation license or an automatic commercial trial.
|
|
47
|
+
|
|
48
|
+
Standard updates and ordinary technical inquiries are included as agreed.
|
|
49
|
+
Custom format support, customer-specific fixes, response-time commitments and
|
|
50
|
+
vendor-system validation require separate scope and fees. Validate representative
|
|
51
|
+
files against the [supported capabilities](docs/support.md) before contracting;
|
|
52
|
+
payment does not imply support for every ICD file or complete model reconstruction.
|
|
53
|
+
|
|
54
|
+
## Independent rights
|
|
55
|
+
|
|
56
|
+
The agreement covers only rights the licensor can grant. Third-party conditions
|
|
57
|
+
remain in effect, including after expiry of a
|
|
58
|
+
commercial agreement. Customers retain their rights in their data and outputs;
|
|
59
|
+
we claim no additional ownership or output-based royalties in extracted
|
|
60
|
+
geometry, images or properties. Rights in the input data and any third-party
|
|
61
|
+
material remain the customer's responsibility.
|
|
62
|
+
|
|
63
|
+
Use already permitted by the [PolyForm terms](LICENSES/PolyForm-Noncommercial-1.0.0.md)
|
|
64
|
+
does not require a commercial contract. This document does not narrow those
|
|
65
|
+
permissions. The signed agreement defines the precise scope, fees, warranties,
|
|
66
|
+
liability limits, termination provisions and governing law.
|
icadkit-0.1.0/Cargo.lock
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "adler2"
|
|
7
|
+
version = "2.0.1"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "block-buffer"
|
|
13
|
+
version = "0.10.4"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
|
16
|
+
dependencies = [
|
|
17
|
+
"generic-array",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "cfg-if"
|
|
22
|
+
version = "1.0.5"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "cpufeatures"
|
|
28
|
+
version = "0.2.17"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"libc",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "crc32fast"
|
|
37
|
+
version = "1.5.2"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"cfg-if",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "crypto-common"
|
|
46
|
+
version = "0.1.7"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"generic-array",
|
|
51
|
+
"typenum",
|
|
52
|
+
]
|
|
53
|
+
|
|
54
|
+
[[package]]
|
|
55
|
+
name = "digest"
|
|
56
|
+
version = "0.10.7"
|
|
57
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
58
|
+
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
|
59
|
+
dependencies = [
|
|
60
|
+
"block-buffer",
|
|
61
|
+
"crypto-common",
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
[[package]]
|
|
65
|
+
name = "flate2"
|
|
66
|
+
version = "1.1.10"
|
|
67
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
68
|
+
checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
|
|
69
|
+
dependencies = [
|
|
70
|
+
"crc32fast",
|
|
71
|
+
"miniz_oxide",
|
|
72
|
+
]
|
|
73
|
+
|
|
74
|
+
[[package]]
|
|
75
|
+
name = "generic-array"
|
|
76
|
+
version = "0.14.7"
|
|
77
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
78
|
+
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
|
79
|
+
dependencies = [
|
|
80
|
+
"typenum",
|
|
81
|
+
"version_check",
|
|
82
|
+
]
|
|
83
|
+
|
|
84
|
+
[[package]]
|
|
85
|
+
name = "heck"
|
|
86
|
+
version = "0.5.0"
|
|
87
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
88
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
89
|
+
|
|
90
|
+
[[package]]
|
|
91
|
+
name = "icad-core"
|
|
92
|
+
version = "0.1.0"
|
|
93
|
+
dependencies = [
|
|
94
|
+
"flate2",
|
|
95
|
+
"parasolid-core",
|
|
96
|
+
"serde_json",
|
|
97
|
+
"sha2",
|
|
98
|
+
]
|
|
99
|
+
|
|
100
|
+
[[package]]
|
|
101
|
+
name = "icad-python"
|
|
102
|
+
version = "0.1.0"
|
|
103
|
+
dependencies = [
|
|
104
|
+
"icad-core",
|
|
105
|
+
"parasolid-core",
|
|
106
|
+
"pyo3",
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
[[package]]
|
|
110
|
+
name = "itoa"
|
|
111
|
+
version = "1.0.18"
|
|
112
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
113
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
114
|
+
|
|
115
|
+
[[package]]
|
|
116
|
+
name = "libc"
|
|
117
|
+
version = "0.2.189"
|
|
118
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
119
|
+
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
120
|
+
|
|
121
|
+
[[package]]
|
|
122
|
+
name = "memchr"
|
|
123
|
+
version = "2.8.3"
|
|
124
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
125
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
126
|
+
|
|
127
|
+
[[package]]
|
|
128
|
+
name = "miniz_oxide"
|
|
129
|
+
version = "0.9.1"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c"
|
|
132
|
+
dependencies = [
|
|
133
|
+
"adler2",
|
|
134
|
+
"simd-adler32",
|
|
135
|
+
]
|
|
136
|
+
|
|
137
|
+
[[package]]
|
|
138
|
+
name = "once_cell"
|
|
139
|
+
version = "1.21.4"
|
|
140
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
142
|
+
|
|
143
|
+
[[package]]
|
|
144
|
+
name = "parasolid-core"
|
|
145
|
+
version = "0.2.0"
|
|
146
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
147
|
+
checksum = "24abe504c1f489a216355c371a3e51d6aa62fbb4f55fa797ceddfe89b8debfb8"
|
|
148
|
+
|
|
149
|
+
[[package]]
|
|
150
|
+
name = "portable-atomic"
|
|
151
|
+
version = "1.15.0"
|
|
152
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
153
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
154
|
+
|
|
155
|
+
[[package]]
|
|
156
|
+
name = "proc-macro2"
|
|
157
|
+
version = "1.0.107"
|
|
158
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
159
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
160
|
+
dependencies = [
|
|
161
|
+
"unicode-ident",
|
|
162
|
+
]
|
|
163
|
+
|
|
164
|
+
[[package]]
|
|
165
|
+
name = "pyo3"
|
|
166
|
+
version = "0.29.2"
|
|
167
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
168
|
+
checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
|
|
169
|
+
dependencies = [
|
|
170
|
+
"libc",
|
|
171
|
+
"once_cell",
|
|
172
|
+
"portable-atomic",
|
|
173
|
+
"pyo3-build-config",
|
|
174
|
+
"pyo3-ffi",
|
|
175
|
+
"pyo3-macros",
|
|
176
|
+
]
|
|
177
|
+
|
|
178
|
+
[[package]]
|
|
179
|
+
name = "pyo3-build-config"
|
|
180
|
+
version = "0.29.2"
|
|
181
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
182
|
+
checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
|
|
183
|
+
dependencies = [
|
|
184
|
+
"target-lexicon",
|
|
185
|
+
]
|
|
186
|
+
|
|
187
|
+
[[package]]
|
|
188
|
+
name = "pyo3-ffi"
|
|
189
|
+
version = "0.29.2"
|
|
190
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
191
|
+
checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
|
|
192
|
+
dependencies = [
|
|
193
|
+
"libc",
|
|
194
|
+
"pyo3-build-config",
|
|
195
|
+
]
|
|
196
|
+
|
|
197
|
+
[[package]]
|
|
198
|
+
name = "pyo3-macros"
|
|
199
|
+
version = "0.29.2"
|
|
200
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
201
|
+
checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
|
|
202
|
+
dependencies = [
|
|
203
|
+
"proc-macro2",
|
|
204
|
+
"pyo3-macros-backend",
|
|
205
|
+
"quote",
|
|
206
|
+
"syn 2.0.119",
|
|
207
|
+
]
|
|
208
|
+
|
|
209
|
+
[[package]]
|
|
210
|
+
name = "pyo3-macros-backend"
|
|
211
|
+
version = "0.29.2"
|
|
212
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
213
|
+
checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
|
|
214
|
+
dependencies = [
|
|
215
|
+
"heck",
|
|
216
|
+
"proc-macro2",
|
|
217
|
+
"quote",
|
|
218
|
+
"syn 2.0.119",
|
|
219
|
+
]
|
|
220
|
+
|
|
221
|
+
[[package]]
|
|
222
|
+
name = "quote"
|
|
223
|
+
version = "1.0.47"
|
|
224
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
225
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
226
|
+
dependencies = [
|
|
227
|
+
"proc-macro2",
|
|
228
|
+
]
|
|
229
|
+
|
|
230
|
+
[[package]]
|
|
231
|
+
name = "serde"
|
|
232
|
+
version = "1.0.229"
|
|
233
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
235
|
+
dependencies = [
|
|
236
|
+
"serde_core",
|
|
237
|
+
]
|
|
238
|
+
|
|
239
|
+
[[package]]
|
|
240
|
+
name = "serde_core"
|
|
241
|
+
version = "1.0.229"
|
|
242
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
243
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
244
|
+
dependencies = [
|
|
245
|
+
"serde_derive",
|
|
246
|
+
]
|
|
247
|
+
|
|
248
|
+
[[package]]
|
|
249
|
+
name = "serde_derive"
|
|
250
|
+
version = "1.0.229"
|
|
251
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
252
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
253
|
+
dependencies = [
|
|
254
|
+
"proc-macro2",
|
|
255
|
+
"quote",
|
|
256
|
+
"syn 3.0.5",
|
|
257
|
+
]
|
|
258
|
+
|
|
259
|
+
[[package]]
|
|
260
|
+
name = "serde_json"
|
|
261
|
+
version = "1.0.151"
|
|
262
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
263
|
+
checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
|
|
264
|
+
dependencies = [
|
|
265
|
+
"itoa",
|
|
266
|
+
"memchr",
|
|
267
|
+
"serde",
|
|
268
|
+
"serde_core",
|
|
269
|
+
"zmij",
|
|
270
|
+
]
|
|
271
|
+
|
|
272
|
+
[[package]]
|
|
273
|
+
name = "sha2"
|
|
274
|
+
version = "0.10.9"
|
|
275
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
276
|
+
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
|
|
277
|
+
dependencies = [
|
|
278
|
+
"cfg-if",
|
|
279
|
+
"cpufeatures",
|
|
280
|
+
"digest",
|
|
281
|
+
]
|
|
282
|
+
|
|
283
|
+
[[package]]
|
|
284
|
+
name = "simd-adler32"
|
|
285
|
+
version = "0.3.10"
|
|
286
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
287
|
+
checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
|
|
288
|
+
|
|
289
|
+
[[package]]
|
|
290
|
+
name = "syn"
|
|
291
|
+
version = "2.0.119"
|
|
292
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
293
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
294
|
+
dependencies = [
|
|
295
|
+
"proc-macro2",
|
|
296
|
+
"quote",
|
|
297
|
+
"unicode-ident",
|
|
298
|
+
]
|
|
299
|
+
|
|
300
|
+
[[package]]
|
|
301
|
+
name = "syn"
|
|
302
|
+
version = "3.0.5"
|
|
303
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
304
|
+
checksum = "12df2e0110f65b775f769bb17ef989067a1d931b2eb822bd4346631eeada89f9"
|
|
305
|
+
dependencies = [
|
|
306
|
+
"proc-macro2",
|
|
307
|
+
"quote",
|
|
308
|
+
"unicode-ident",
|
|
309
|
+
]
|
|
310
|
+
|
|
311
|
+
[[package]]
|
|
312
|
+
name = "target-lexicon"
|
|
313
|
+
version = "0.13.5"
|
|
314
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
315
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "typenum"
|
|
319
|
+
version = "1.20.1"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
|
|
322
|
+
|
|
323
|
+
[[package]]
|
|
324
|
+
name = "unicode-ident"
|
|
325
|
+
version = "1.0.24"
|
|
326
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
327
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
328
|
+
|
|
329
|
+
[[package]]
|
|
330
|
+
name = "version_check"
|
|
331
|
+
version = "0.9.5"
|
|
332
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
333
|
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
334
|
+
|
|
335
|
+
[[package]]
|
|
336
|
+
name = "zmij"
|
|
337
|
+
version = "1.0.23"
|
|
338
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
339
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
icadkit-0.1.0/Cargo.toml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
members = ["crates/icad-core", "crates/icad-python"]
|
|
3
|
+
resolver = "3"
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
version = "0.1.0"
|
|
7
|
+
edition = "2024"
|
|
8
|
+
rust-version = "1.88"
|
|
9
|
+
license = "PolyForm-Noncommercial-1.0.0"
|
|
10
|
+
|
|
11
|
+
[workspace.dependencies]
|
|
12
|
+
parasolid-core = "=0.2.0"
|
|
13
|
+
pyo3 = { version = "=0.29.2", features = ["abi3-py310"] }
|
|
14
|
+
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
|
|
15
|
+
sha2 = "0.10"
|
|
16
|
+
|
|
17
|
+
[workspace.lints.rust]
|
|
18
|
+
unsafe_code = "forbid"
|
|
19
|
+
|
|
20
|
+
[workspace.lints.clippy]
|
|
21
|
+
all = { level = "warn", priority = -1 }
|
|
22
|
+
unwrap_used = "deny"
|
|
23
|
+
expect_used = "deny"
|
|
24
|
+
panic = "deny"
|
icadkit-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
icadkit License Notice
|
|
2
|
+
|
|
3
|
+
Licensor and commercial contracting entity: UnRobotics Inc.
|
|
4
|
+
https://www.un-robotics.com/
|
|
5
|
+
|
|
6
|
+
The icadkit project material in this distribution is offered under the
|
|
7
|
+
PolyForm Noncommercial License 1.0.0, unless you have a separate written
|
|
8
|
+
commercial agreement with UnRobotics Inc.
|
|
9
|
+
|
|
10
|
+
The unmodified PolyForm terms are in:
|
|
11
|
+
LICENSES/PolyForm-Noncommercial-1.0.0.md
|
|
12
|
+
https://polyformproject.org/licenses/noncommercial/1.0.0
|
|
13
|
+
|
|
14
|
+
For use outside those permissions, including commercial internal use and
|
|
15
|
+
commercial product integration, see COMMERCIAL-LICENSE.md or contact:
|
|
16
|
+
https://www.un-robotics.com/#contact
|
|
17
|
+
The commercial information document does not itself grant a license.
|
|
18
|
+
|
|
19
|
+
Third-party components
|
|
20
|
+
|
|
21
|
+
Third-party material retains its own licenses and copyright notices.
|
|
22
|
+
See THIRD_PARTY_NOTICES.md and the accompanying license texts. In particular,
|
|
23
|
+
the separate parasolid-core project and its profiles are not relicensed
|
|
24
|
+
by this notice. Copyright ownership remains with the respective holders;
|
|
25
|
+
identifying the licensor here does not transfer ownership to UnRobotics Inc.
|
|
26
|
+
|
|
27
|
+
Required Notice: icadkit is licensed by UnRobotics Inc. (https://www.un-robotics.com/).
|
|
28
|
+
Required Notice: icadkit is offered under PolyForm Noncommercial 1.0.0; separate commercial licenses are available.
|
|
@@ -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 [yyyy] [name of copyright owner]
|
|
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.
|