Commit 5f5f73b
authored
Version 1.0.3-alpha (#2)
* Refactor package structure and enhance dictionary array handling
- Updated GitHub python workflows
- Removed requirements.txt and setup.py, transitioning to pyproject.toml for package management.
- Modified MANIFEST.in to exclude requirements.txt.
- Added new properties and methods in Mesh class to support nested dictionary structures containing numpy arrays.
- Implemented recursive extraction and reconstruction of nested arrays in MeshUtils.
- Created comprehensive unit tests for dictionary fields containing arrays, ensuring correct encoding and decoding.
- Added TypeScript tests for dictionary arrays, verifying functionality and data integrity.
* Refactor mesh handling to support mixed polygon types and preserve non-array values in nested dictionaries
- Updated EncodedMesh and Mesh classes to include index_sizes for polygon size metadata.
- Introduced methods for polygon count and uniformity checks in MeshUtils.
- Enhanced encoding/decoding processes to handle mixed polygon structures (triangles and quads).
- Modified tests to validate the preservation of non-array values in nested dictionaries during encoding/decoding.
- Adjusted ArrayUtils to support both Float32Array and Uint32Array.
- Removed obsolete dictionary structure metadata handling from Mesh and MeshUtils.
* Refactor mesh handling to support nested directory structure for encoded arrays and update related metadata management
* Update Mesh class index_sizes validation and improve documentation for inferred sizes
* Added deterministic zip output
* Bump version to 1.0.3-alpha in pyproject.toml and package.json1 parent bfa27d6 commit 5f5f73b
13 files changed
Lines changed: 1609 additions & 140 deletions
File tree
- .github/workflows
- python
- examples
- meshly
- tests
- typescript
- src
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
61 | 74 | | |
62 | 75 | | |
63 | 76 | | |
| |||
99 | 112 | | |
100 | 113 | | |
101 | 114 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
108 | 121 | | |
109 | 122 | | |
110 | 123 | | |
| |||
138 | 151 | | |
139 | 152 | | |
140 | 153 | | |
141 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
142 | 165 | | |
143 | 166 | | |
144 | 167 | | |
| |||
213 | 236 | | |
214 | 237 | | |
215 | 238 | | |
216 | | - | |
217 | | - | |
| 239 | + | |
| 240 | + | |
218 | 241 | | |
219 | 242 | | |
220 | 243 | | |
| |||
248 | 271 | | |
249 | 272 | | |
250 | 273 | | |
251 | | - | |
252 | 274 | | |
253 | 275 | | |
254 | 276 | | |
255 | 277 | | |
256 | 278 | | |
257 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
258 | 282 | | |
259 | 283 | | |
260 | 284 | | |
261 | 285 | | |
262 | 286 | | |
263 | 287 | | |
264 | | - | |
265 | 288 | | |
266 | 289 | | |
267 | 290 | | |
268 | 291 | | |
269 | 292 | | |
270 | 293 | | |
271 | 294 | | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
| 295 | + | |
| 296 | + | |
281 | 297 | | |
282 | 298 | | |
283 | 299 | | |
| |||
431 | 447 | | |
432 | 448 | | |
433 | 449 | | |
434 | | - | |
| 450 | + | |
435 | 451 | | |
436 | 452 | | |
437 | 453 | | |
| |||
0 commit comments