gumyr
1d89804417
Added GeomEncoder for JSON deprecating LocationEncoder
2025-02-24 15:36:58 -05:00
Roger Maitland
1c9cd019a2
Merge pull request #911 from fischman/parallel-test-execution
...
Run tests in parallel by default, and update CONTRIBUTING.md
2025-02-22 15:20:49 -05:00
Ami Fischman
bda0a6a719
Run tests in parallel by default, and update CONTRIBUTING.md to recommend this flow.
...
test_mesher.py was reusing the same filename across tests which meant
that when running in parallel tests would stomp on each
other. Robustified by having each test use a distinct file name.
2025-02-22 11:37:58 -08:00
Ami Fischman
80097a9227
Add a new TestCase that asserts that examples exit successfully.
...
Examples changes that were necessary:
- loft.py: failed on macos (only) because of (seemingly) over-precise
floating-point accuracy assertion. Loosened the tolerance, and
expressed it as a multiple of the expected value.
> AssertionError: delta=0.002982314711971412 is greater than tolerance=0.001; got=1306.3375467197516, want=1306.3405290344635
- packed_boxes.py: only emit output files when GEN_DOCS is
True (mimicking lego.py).
2025-02-22 10:11:06 -08:00
snoyer
8e4aa3370d
add align parameter to import_svg
2025-02-21 20:28:06 +04:00
gumyr
0208621fd7
Adding Face.radii, Face.is_circular_convex, Face.is_circular_concave, rename Face.rotational_axis to Face.axis_of_rotation
2025-02-19 11:20:06 -05:00
Roger Maitland
ffc3eba177
Merge pull request #905 from snoyer/axis-props
...
make `Axis.position` and `Axis.direction` properties
2025-02-17 20:03:17 -05:00
gumyr
39b4fc20dc
Ported PR #875 to refactored topology
2025-02-17 19:53:05 -05:00
snoyer
e0e5d0d368
make Axis.position and Axis.direction properties
2025-02-15 19:32:43 +04:00
gumyr
fd44037ef6
Adding Face radius and rotational_axis properties
2025-02-12 19:28:25 -05:00
gumyr
f22f54af5f
Covering Face.axes_of_symmetry corner cases
2025-02-08 14:46:13 -05:00
jdegenstein
b64807fccc
add oriented bounding box support to Solid.from_bounding_box and tests
2025-02-06 21:16:14 -06:00
gumyr
2247ea9303
Renaming Face.total_area to area_without_holes & Face.remove_holes to without_holes
2025-02-06 11:01:38 -05:00
gumyr
6e0af24b21
Fixing OOB test on Macs
2025-02-06 10:48:28 -05:00
gumyr
ad11a97ec3
Merge branch 'dev' of https://github.com/gumyr/build123d into dev
2025-02-06 10:29:41 -05:00
gumyr
4e42ccb196
Adding OrientedBoundBox.corners and Face.axes_of_symmetry
2025-02-06 10:29:31 -05:00
jdegenstein
09311cb20f
Merge pull request #892 from luzpaz/typos
...
Fix various typos
2025-02-06 09:27:27 -06:00
gumyr
72bbc433f0
Relaxing OOB orientation test as inconsistent across platforms
2025-02-04 18:39:44 -05:00
gumyr
05ed5fd8e1
Added OrientedBoundBox to geometry and Shape.oriented_bounding_box
2025-02-04 13:51:56 -05:00
gumyr
c728124b3b
Adding Face.remove_holes and Face.total_area property
2025-02-04 09:58:40 -05:00
Luz Paz
b14c187ca2
Fix various typos
...
Found with `codespell -q 3 -L parm,parms,re-use`
2025-02-02 09:08:01 -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