Commit graph

515 commits

Author SHA1 Message Date
gumyr
c728124b3b Adding Face.remove_holes and Face.total_area property 2025-02-04 09:58:40 -05:00
gumyr
b8dcad3bcb Added Axis.is_skew and tested for is_skew in Axis.intersect 2025-01-31 16:06:09 -05:00
Bernhard
98e989debc encapsulate VTK in a separate file 2025-01-29 09:39:37 +01:00
gumyr
8fe3ec18af Added Shape static_moments, matrix_of_inertia, principal_properties and radius_of_gyration properties method 2025-01-28 21:52:04 -05:00
snoyer
bdd11a9250 add property support to sort_by 2025-01-28 07:00:40 +04:00
snoyer
c47c81a893 allow to filter and group by property 2025-01-25 12:45:47 +04:00
Victor Poughon
f8d86e1722 test: update test_jupyter.py 2025-01-24 19:06:52 +01:00
gumyr
4aee76f6c0 Added Edge.is_interior property Issue #816 2025-01-24 11:08:57 -05:00
gumyr
f077d72819 Added sort_by lambda Issue#485 2025-01-23 09:53:15 -05:00
gumyr
50663a21c4 Removed redundant test_direct_api.py 2025-01-22 15:28:40 -05:00
gumyr
e126c502b1 Adding separate direct api tests 2025-01-22 15:23:56 -05:00
gumyr
589cbcbd68 Removed unnecessary custom test class and methods. Script to split test_direct_api.py 2025-01-22 15:17:52 -05:00
gumyr
bb6a542244 Revert "Split test_direct_api.py in many smaller tests"
This reverts commit 23e035a1ce.
2025-01-21 21:42:05 -05:00
gumyr
23e035a1ce Split test_direct_api.py in many smaller tests 2025-01-21 21:37:52 -05:00
gumyr
eebd82d06a Added Keep.ALL to split 2025-01-17 10:09:23 -05:00
gumyr
19d925f774 Improved split with a non-planar tool 2025-01-16 14:18:10 -05:00
gumyr
cd69e6ef02 Improve Edge.intersect & coverage 2025-01-15 10:06:39 -05:00
Roger Maitland
f9afe1f963
Merge pull request #838 from snoyer/simplify-import_svg-api
simplify `import_svg` API
2025-01-14 18:17:49 -05:00
gumyr
0d533d3f10 Merge branch 'dev' of https://github.com/gumyr/build123d into dev 2025-01-14 13:38:37 -05:00
gumyr
7b16193559 Fixing Issue #796 + pylint improvements 2025-01-14 13:38:27 -05:00
jdegenstein
d1d796fbe2
Merge pull request #870 from jdegenstein/move_mesh_bench
Move new mesher benchmark to `test_benchmarks.py`
2025-01-14 12:05:57 -06:00
jdegenstein
09e99b19d3 remove unused imports time, importlib 2025-01-14 11:38:01 -06:00
jdegenstein
dd8416a141 move mesher benchmark to test_benchmarks.py 2025-01-14 11:32:28 -06:00
gumyr
7811afc544 Re-enabling tests after topology split 2025-01-14 11:30:37 -05:00
drbh
9e6bc2d0ae feat: create mesh in fewer iterations 2025-01-13 20:22:36 -05:00
jdegenstein
b665cb5889
Merge branch 'dev' into ocp781 2025-01-13 10:46:06 -06:00
Anthony
5f7dfc2bb9 Test and fix for exporting small arcs to SVG. 2025-01-13 12:06:33 +11:00
jdegenstein
42261cad65
@ocp781 test_direct_api.py-> test hash(empty) returns zero (modified) 2025-01-11 14:31:50 -06:00
snoyer
0993361083
Merge branch 'dev' into simplify-import_svg-api 2025-01-09 19:35:07 +04:00
jdegenstein
25181f4ba7
test_benchmarks.py -> try again skip if pytest_benchmark is missing 2025-01-07 22:22:08 -06:00
jdegenstein
9928ba5bfd
test_benchmarks.py -> skip if pytest-benchmark package not found 2025-01-07 22:16:50 -06:00
jdegenstein
bd62971cba
test_benchmarks.py -> add 12 benchmarking tests from the build123d docs 2025-01-07 16:42:30 -06:00
gumyr
1611ca8185 Improving test coverage of three_d.py to 97% 2025-01-01 13:16:39 -05:00
gumyr
ae15a95c9b Increased shape_core.py test coverage to 99% 2024-12-31 15:40:01 -05:00
snoyer
e5c976454e deprecate param without breaking API yet 2024-12-31 17:18:23 +04:00
snoyer
5ecea4bb91 remove is_inkscape_label parameter 2024-12-30 20:47:22 +04:00
gumyr
48e4b5e057 Resolved one_d.py mypy errors 2024-12-29 15:08:29 -05:00
gumyr
59bb0373a8 Review viewer import 2024-12-20 14:39:48 -05:00
gumyr
217b70aa1e Implemented review feedback - fixed mypy on shape_core.py & utils.py 2024-12-20 14:31:42 -05:00
gumyr
d1de2a6da1 Refactored topology.py ready to split into multiple modules 2024-12-09 10:09:38 -05:00
gumyr
e82b20a575 Curve object become Wire/Edge, replace Compound.first_level_shapes with Shape.get_top_level_shapes Issue #788 2024-11-19 13:46:54 -05:00
gumyr
3b0fcb017a Replaced unwrap with unwrap_topods_compound in topology.py Issue #788 2024-11-18 14:18:37 -05:00
Ethan Rooke
c31e92a165
test: fix test_random_slots 2024-11-18 10:50:01 -06:00
Ethan Rooke
1c4b8ff045
test: check for invalid slots 2024-11-18 10:49:58 -06:00
Roger Maitland
208bd39355
Merge pull request #782 from erooke/align
Alignment rework
2024-11-18 09:33:49 -05:00
gumyr
60b244442d Changing base types Issue #792 2024-11-17 11:41:14 -05:00
Ethan Rooke
e8365566f7
test: to_align_offset behaves as expected 2024-11-17 07:40:47 -06:00
Ethan Rooke
54bc6a4681
feat: optional center argument for to_align_offset 2024-11-16 19:47:24 -06:00
Ethan Rooke
cf11f91f2d
feat: add align.NONE 2024-11-16 19:46:18 -06:00
Ethan Rooke
f2095d64cf
cleanup: remove duplicated aligning logic 2024-11-16 19:46:18 -06:00