Commit graph

109 commits

Author SHA1 Message Date
9ef471dadc [voxelize] Enforce 3 planes 2026-04-01 22:45:47 -07:00
8ccdcfffd7 Document vertex ordering and box_corners format 2026-04-01 22:45:47 -07:00
f17667c93c [build_polyhedron] perform more checks for polyhedron validity 2026-04-01 22:45:47 -07:00
665e1e4161 [planes_from_boundary] reject zero-area faces and incorrect dims 2026-04-01 22:45:47 -07:00
35bced6e55 [find_faces] handle empty poly 2026-04-01 22:41:39 -07:00
f4762733a6 [check_poly] reject malformed neighbor arrays 2026-04-01 22:41:39 -07:00
e2f6aea0a0 [boundary_from_poly] handle empty poly correctly 2026-04-01 22:41:39 -07:00
1ff8ab1014 [get_moments] fix dimension of moments of empty poly 2026-04-01 22:41:39 -07:00
0dd2c45908 [rotate] fix rotation around second axis 2026-04-01 22:41:39 -07:00
4ec8f5d414 [voxelize] correct include_outside=True indexing 2026-04-01 22:41:39 -07:00
jan
1999b24b0c [tests] Check data validity and add test_difference_hole() 2026-03-07 23:59:32 -08:00
jan
f0e30f1f6c [offset] add offset_anisotropic 2026-03-07 23:53:59 -08:00
jan
b755cfb2db [offset] add smooth, open, close 2026-03-07 08:23:48 -08:00
jan
06ab0af763 Improve type hints 2026-03-07 07:53:02 -08:00
jan
359ebc325e [offset] add offsetting 2026-03-07 07:52:38 -08:00
jan
38dda21e9a [util] export is_inside 2026-03-07 07:30:58 -08:00
jan
981e0e5b81 [boolean] Add boolean operations 2026-03-07 07:30:43 -08:00
jan
4b85c059fb [planes_from_boundary] Use Newell's to improve handling of colinear vertices 2026-03-07 07:30:08 -08:00
jan
32b2f26ad8 [util] add is_inside 2026-03-07 07:09:19 -08:00
jan
d9a9eebe8b [util] add get_aabb 2026-03-07 07:09:06 -08:00
jan
0bed641d08 [util] add merge_polyhedra 2026-03-07 07:08:21 -08:00
jan
d71cb6a535 [split] add a tolerance for splitting to avoid making tiny slivers
improve numerical stability
2026-03-07 07:07:43 -08:00
jan
ad4c0bc157 misc cleanup and testing deps 2026-03-07 06:49:49 -08:00
jan
bf057e2505 Documentation update 2026-03-07 00:46:27 -08:00
227511afd6 bump version to v0.2 release v0.2 2024-07-31 22:40:23 -07:00
46cd73a22a pass poly_order into check_* call 2024-07-31 22:39:39 -07:00
07a7c37eab misc fixes (mostly imports) 2024-07-31 22:39:12 -07:00
b957ac7abe improve type annotations 2024-07-31 22:38:24 -07:00
d5ed7a1298 various linter-related fixes
Some type annotations are still wrong
2024-07-31 00:59:09 -07:00
5cf4b826c7 index to avoid complaint about scalarizing an array 2024-07-30 23:55:58 -07:00
9d7fd2af6b comment styles 2024-07-30 23:55:41 -07:00
dbe915feba marching_cubes_lewiner was deprecated 2024-07-30 23:46:43 -07:00
2fdafc1f69 use double quotes for docstrings 2024-07-30 23:46:21 -07:00
3abf1e137f use asarray() in place of array(copy=False) 2024-07-30 23:46:10 -07:00
6f5335dcc1 type annotation improvements 2024-07-30 23:45:47 -07:00
f38e27d33d use alternate arg formatting 2022-08-19 00:27:52 -07:00
b9018a7461 add missing call to _split() 2022-08-19 00:26:19 -07:00
a34c052b6e fix regression from overzealous typing 2022-08-19 00:25:51 -07:00
7d90a5db98 add stl to optional deps 2022-08-19 00:17:57 -07:00
073f233775 Fixup numpy typing info 2022-08-19 00:17:49 -07:00
140dccfbe5 drop unused import 2022-08-18 23:50:04 -07:00
09ce6d6722 stop ignoring numpy types 2022-08-18 23:49:58 -07:00
2bb3318801 move to hatch-based build 2022-08-18 23:47:26 -07:00
3499ed8c72 update email 2021-07-11 17:24:21 -07:00
jan
ac57454763 type fixes and ignores 2021-02-13 16:48:53 -08:00
jan
b791d3c854 Rename split() to _split() and make new split() function with known return type 2021-02-13 16:48:28 -08:00
jan
1a034002fb planes should be tuples 2021-02-13 15:47:44 -08:00
jan
d5d7663ac8 comment updates 2021-02-07 19:46:36 -08:00
jan
a9281d3db7 update type hints 2021-02-07 19:29:27 -08:00
jan
bc86b759d1 remove @profile markers 2021-02-07 19:29:20 -08:00