Commit graph

158 commits

Author SHA1 Message Date
Roger Maitland
4ba5ff0259 Adding y_dir to Plane constructor Issue #1086 2026-03-08 20:33:52 -04:00
Roger Maitland
d4bfeefed3 Deprecating Shape.is_planar_face Issue #969 2026-03-08 19:22:23 -04:00
Roger Maitland
992de4074b Fix Issue #586 translate/rotate
Some checks are pending
benchmarks / benchmarks (macos-14, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-15-intel, 3.12) (push) Waiting to run
benchmarks / benchmarks (ubuntu-latest, 3.12) (push) Waiting to run
benchmarks / benchmarks (windows-latest, 3.12) (push) Waiting to run
Upload coverage reports to Codecov / run (push) Waiting to run
pylint / lint (3.10) (push) Waiting to run
Wheel building and publishing / Build wheel on ubuntu-latest (push) Waiting to run
Wheel building and publishing / upload_pypi (push) Blocked by required conditions
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 3.14) (push) Waiting to run
tests / tests (macos-15-intel, 3.10) (push) Waiting to run
tests / tests (macos-15-intel, 3.14) (push) Waiting to run
tests / tests (ubuntu-latest, 3.10) (push) Waiting to run
tests / tests (ubuntu-latest, 3.14) (push) Waiting to run
tests / tests (windows-latest, 3.10) (push) Waiting to run
tests / tests (windows-latest, 3.14) (push) Waiting to run
Run type checking / typecheck (3.10) (push) Waiting to run
Run type checking / typecheck (3.14) (push) Waiting to run
2026-03-02 13:37:25 -05:00
Roger Maitland
ce0d99a4d1 Fixed Issue #1095 2026-03-02 11:44:25 -05:00
Roger Maitland
11a517fa29 Adding 1D objects ConstrainedArcs & ConstrainedLines
Some checks failed
benchmarks / benchmarks (macos-14, 3.12) (push) Has been cancelled
benchmarks / benchmarks (macos-15-intel, 3.12) (push) Has been cancelled
benchmarks / benchmarks (ubuntu-latest, 3.12) (push) Has been cancelled
benchmarks / benchmarks (windows-latest, 3.12) (push) Has been cancelled
Upload coverage reports to Codecov / run (push) Has been cancelled
pylint / lint (3.10) (push) Has been cancelled
Wheel building and publishing / Build wheel on ubuntu-latest (push) Has been cancelled
tests / tests (macos-14, 3.10) (push) Has been cancelled
tests / tests (macos-14, 3.14) (push) Has been cancelled
tests / tests (macos-15-intel, 3.10) (push) Has been cancelled
tests / tests (macos-15-intel, 3.14) (push) Has been cancelled
tests / tests (ubuntu-latest, 3.10) (push) Has been cancelled
tests / tests (ubuntu-latest, 3.14) (push) Has been cancelled
tests / tests (windows-latest, 3.10) (push) Has been cancelled
tests / tests (windows-latest, 3.14) (push) Has been cancelled
Run type checking / typecheck (3.10) (push) Has been cancelled
Run type checking / typecheck (3.14) (push) Has been cancelled
Wheel building and publishing / upload_pypi (push) Has been cancelled
2026-02-26 11:06:25 -05:00
Roger Maitland
696e5917ea Fix group by properties/callable Issue #1241 2026-02-26 09:38:32 -05:00
Roger Maitland
2d8775e414
Merge pull request #1209 from bernhard-42/intersect-optimized
Some checks are pending
benchmarks / benchmarks (macos-14, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-15-intel, 3.12) (push) Waiting to run
benchmarks / benchmarks (ubuntu-latest, 3.12) (push) Waiting to run
benchmarks / benchmarks (windows-latest, 3.12) (push) Waiting to run
Upload coverage reports to Codecov / run (push) Waiting to run
pylint / lint (3.10) (push) Waiting to run
Wheel building and publishing / Build wheel on ubuntu-latest (push) Waiting to run
Wheel building and publishing / upload_pypi (push) Blocked by required conditions
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 3.14) (push) Waiting to run
tests / tests (macos-15-intel, 3.10) (push) Waiting to run
tests / tests (macos-15-intel, 3.14) (push) Waiting to run
tests / tests (ubuntu-latest, 3.10) (push) Waiting to run
tests / tests (ubuntu-latest, 3.14) (push) Waiting to run
tests / tests (windows-latest, 3.10) (push) Waiting to run
tests / tests (windows-latest, 3.14) (push) Waiting to run
Run type checking / typecheck (3.10) (push) Waiting to run
Run type checking / typecheck (3.14) (push) Waiting to run
Intersect optimized
2026-02-23 10:45:44 -05:00
Roger Maitland
a6a29cc980
Merge branch 'dev' into single_line 2026-02-10 09:34:41 -05:00
Roger Maitland
937934e6e3 Ensure make_constrained_arcs always returns proper 3D geometry 2026-02-05 11:32:45 -05:00
Jonathan Wagenet
0a5285349d Remove problematic font_path test 2026-01-30 17:44:08 -05:00
Jonathan Wagenet
8f60fc5bb4 Revert "Reinit FontManager to reload system fonts for subsequent tests"
This reverts commit e8602de7a3.
2026-01-30 17:29:32 -05:00
Jonathan Wagenet
e8602de7a3 Reinit FontManager to reload system fonts for subsequent tests 2026-01-30 17:11:56 -05:00
Jonathan Wagenet
cb14f338e2 Improve coverage for font_path and ignore coverage of difficult to test (platform-based) cases. Use pathlib for tests 2026-01-30 16:00:46 -05:00
Bernhard
0bb7bca913 Ensure that faces_equal gets called with a new test 2026-01-23 16:47:03 +01:00
Bernhard
8b5afa9a8c fix wrong test expectation 2026-01-23 15:43:06 +01:00
Bernhard
410bbd11d4 add new test cases for the missing touch results 2026-01-23 15:42:43 +01:00
Bernhard
36da0d0697 remove lines coverd from comment 2026-01-21 17:47:46 +01:00
Bernhard
143478886a improve test coverage 2026-01-21 11:38:50 +01:00
Bernhard
216cbddecf add more tests for splines and bezier curves 2026-01-21 11:10:13 +01:00
Bernhard
0c31a243e1 integrate geom_hash into Wire and Edge class and add tests 2026-01-21 09:42:21 +01:00
Bernhard
1d55475ae4 add location and axis check cor conic sections 2026-01-20 21:56:32 +01:00
Bernhard
34ca82510b add a geometrical comparision method for edges 2026-01-20 15:34:50 +01:00
Bernhard
69d13981b2 Merge branch 'dev' into intersect-optimized 2026-01-19 19:04:58 +01:00
Bernhard
d9abb0306d add more touch test cases 2026-01-19 18:53:24 +01:00
Roger Maitland
203f8bfc90 Enhancing Face.axis_of_rotation to handle all surface types
Some checks failed
benchmarks / benchmarks (macos-14, 3.12) (push) Has been cancelled
benchmarks / benchmarks (macos-15-intel, 3.12) (push) Has been cancelled
benchmarks / benchmarks (ubuntu-latest, 3.12) (push) Has been cancelled
benchmarks / benchmarks (windows-latest, 3.12) (push) Has been cancelled
Upload coverage reports to Codecov / run (push) Has been cancelled
pylint / lint (3.10) (push) Has been cancelled
Run type checker / typecheck (3.10) (push) Has been cancelled
Run type checker / typecheck (3.13) (push) Has been cancelled
Wheel building and publishing / Build wheel on ubuntu-latest (push) Has been cancelled
tests / tests (macos-14, 3.10) (push) Has been cancelled
tests / tests (macos-14, 3.13) (push) Has been cancelled
tests / tests (macos-15-intel, 3.10) (push) Has been cancelled
tests / tests (macos-15-intel, 3.13) (push) Has been cancelled
tests / tests (ubuntu-latest, 3.10) (push) Has been cancelled
tests / tests (ubuntu-latest, 3.13) (push) Has been cancelled
tests / tests (windows-latest, 3.10) (push) Has been cancelled
tests / tests (windows-latest, 3.13) (push) Has been cancelled
Wheel building and publishing / upload_pypi (push) Has been cancelled
2026-01-18 11:30:45 -05:00
Jonathan Wagenet
9182e9947f Merge branch 'dev' into single_line for OCP 7.9.x 2026-01-16 16:38:35 -05:00
Bernhard
792a87a1fa add suuport for include_touched keyword, split some tests into intersect/touch, add new tests and fix xpass and xfail 2026-01-16 12:51:30 +01:00
Bernhard
2d38e5d266 add include_touched to intersect for tests that relied on getting tocu results, too 2026-01-16 12:49:25 +01:00
jdegenstein
7f623cd054
Merge pull request #1168 from bernhard-42/modular_vtk
Decouple VTK and prepare for OCP 7.9
2026-01-14 11:16:08 -06:00
Roger Maitland
ed5e5f006f
Merge branch 'dev' into geom_repr 2026-01-08 11:02:02 -05:00
gumyr
bd0a3bab28 Enhanced projected Edge/Wire by cleaning raw result to avoid fragmenting Edges 2026-01-07 10:36:56 -05:00
Fan Gong
822582adfd fix: delete extra line at end 2026-01-01 14:00:48 -05:00
Fan Gong
4fc794327c fix: Color class corrected to use sRGB
modified:   src/build123d/geometry.py
	modified:   tests/test_direct_api/test_color.py
2026-01-01 13:42:42 -05:00
Jonathan Wagenet
c38cd45cbe Add __format__ to Axis, Plane, Location, TOL_DIGIT for precision both str and repr 2025-12-17 23:35:29 -05:00
Jonathan Wagenet
c97b2b74f6 Compound.make_text: add singleline font support, use FontManager, refactor position_face 2025-12-12 20:48:16 -05:00
Bernhard
eb2f10d9c8 make vtk tests dynamically skip when no vtk is installed 2025-12-12 14:08:49 +01:00
Jonathan Wagenet
d12ff82cea Add formatter to Vector for f and g specs. Use in geometry classes 2025-12-06 13:19:33 -05:00
gumyr
3871345dcd Improving split to explicitly handle all Keep Enum values 2025-12-03 10:13:09 -05:00
gumyr
82aa0aa367 Updating positions tests 2025-11-25 11:39:39 -05:00
gumyr
2d82b2ca5c Adding tests for positions with deflection 2025-11-25 11:27:21 -05:00
gumyr
02a8c07e0a Reapply "Enhanced make_face so faces can have holes. Added BoundBox.measure"
This reverts commit 607efade27.
2025-11-20 11:51:04 -05:00
gumyr
607efade27 Revert "Enhanced make_face so faces can have holes. Added BoundBox.measure"
This reverts commit a5e95fe72f.
2025-11-20 11:50:15 -05:00
gumyr
a5e95fe72f Enhanced make_face so faces can have holes. Added BoundBox.measure 2025-11-20 11:15:12 -05:00
gumyr
4507d78fff Added Color.categorical_set that generates a creates a list of visually distinct colors 2025-11-19 10:01:58 -05:00
Roger Maitland
8980120cb2
Merge pull request #1133 from jwagenet/color_hexstr_rgba
Some checks are pending
benchmarks / benchmarks (macos-14, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-15-intel, 3.12) (push) Waiting to run
benchmarks / benchmarks (ubuntu-latest, 3.12) (push) Waiting to run
benchmarks / benchmarks (windows-latest, 3.12) (push) Waiting to run
Upload coverage reports to Codecov / run (push) Waiting to run
pylint / lint (3.10) (push) Waiting to run
Run type checker / typecheck (3.10) (push) Waiting to run
Run type checker / typecheck (3.13) (push) Waiting to run
Wheel building and publishing / Build wheel on ubuntu-latest (push) Waiting to run
Wheel building and publishing / upload_pypi (push) Blocked by required conditions
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 3.13) (push) Waiting to run
tests / tests (macos-15-intel, 3.10) (push) Waiting to run
tests / tests (macos-15-intel, 3.13) (push) Waiting to run
tests / tests (ubuntu-latest, 3.10) (push) Waiting to run
tests / tests (ubuntu-latest, 3.13) (push) Waiting to run
tests / tests (windows-latest, 3.10) (push) Waiting to run
tests / tests (windows-latest, 3.13) (push) Waiting to run
Feature: add support for Color initialization with RGBA hex string
2025-11-18 13:11:59 -05:00
Jonathan Wagenet
5f67a1932a Update for dev merge to Compound and Face(Plane) 2025-11-14 17:30:55 -05:00
Jonathan Wagenet
5ea2dab174 Merge branch 'dev' into intersections-2d 2025-11-14 14:41:37 -05:00
Jonathan Wagenet
68f6ef2125 Convert intersect to use _bool_op and split Wire after intersect 2025-11-14 13:26:17 -05:00
Jonathan Wagenet
a5d4229fda Update repr and str for Vector, Location, Axis, Plane 2025-11-13 14:52:23 -05:00
Jonathan Wagenet
083cb1611c Remove depreciated Color.to_tuple 2025-11-12 12:29:48 -05:00