Commit graph

2496 commits

Author SHA1 Message Date
Bernhard
859aecacff rename variable to make mymp happy 2026-01-19 18:58:55 +01:00
Bernhard
bfb018e672 removed analysis file 2026-01-19 18:54:44 +01:00
Bernhard
2e5d81d140 update to ,latest state of tests and performance run 2026-01-19 18:53:58 +01:00
Bernhard
d9abb0306d add more touch test cases 2026-01-19 18:53:24 +01:00
Bernhard
06ebe6c968 encapsulate filtering into sub-function 2026-01-19 17:54:21 +01:00
Bernhard
318f273a2c deduplicate edges in Solid.touch for Face/Shell 2026-01-19 17:53:50 +01:00
Bernhard
d17b7d307e handle normal check for Shell in touch() 2026-01-19 17:52:29 +01:00
Bernhard
293e4e8803 add base _intersect method to Shape to make tyy type checking happy 2026-01-19 09:54:09 +01:00
Bernhard
8ddb6ff0dc create Shape._bool_op_list to make ty type checking happy 2026-01-19 09:53:25 +01:00
Bernhard
1bdfff2427 fix typing issues 2026-01-17 18:22:54 +01:00
Bernhard
499510a1c7 update after aligning extrude both for builder mode with fuse to algebra mode 2026-01-17 16:56:22 +01:00
Bernhard
de9ddf50ff fuse extrude results in builder mode to match algebra mode 2026-01-17 14:26:39 +01:00
Bernhard
d4ba9ab2d6 temporarily add the summary of the approach 2026-01-16 13:27:04 +01: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
Bernhard
d3ab5b24fa reimplement intersect as intersect+touch top-down to avoid expensive filtering 2026-01-16 12:48:31 +01:00
Bernhard
2f92b2e03e Add a helper function that allows type safe actions in Shape for types that are subclassed from Shape 2026-01-16 12:46:33 +01:00
Bernhard
b5ddeeacc6 add a flag keywork as_list to _bool_op to simplify intersection result handling 2026-01-16 12:44:14 +01:00
Bernhard
50a06f7603 Add a method to expand Shell, Wire and Compound objects in ShapeLists 2026-01-16 12:43:05 +01:00
Bernhard
c946d6203b Add an overlaps method to Bounding Boxes, helpful for filtering 2026-01-16 12:42:08 +01:00
Roger Maitland
428e11d688
Merge pull request #1156 from kuravih/dev
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
Add ParabolicCenterArc and HyperbolicCenterArc functions
2026-01-02 10:42:59 -05:00
Roger Maitland
74ab9324ad
Merge pull request #1188 from gongfan99/correct_color_class
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
Correct color class
2026-01-02 10:03:53 -05:00
Kuravi H
4a9a0995ef Add tests for ParabolicCenterArc and HyperbolicCenterArc 2026-01-02 00:30:42 -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
Roger Maitland
4783f5e9df
Merge pull request #1178 from slobberingant/dev
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
Added project_line feature to ExtensionLine.
2025-12-30 18:59:05 -05:00
Anthony Sokolowski
4dca3b823f project_line variable name changed to measurement_direction. Docstring type for this variable changed from Vector to VectorLike. 2025-12-31 08:01:55 +11:00
gumyr
cd0f25b7ec Improved setting origin in common_plane
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
2025-12-30 10:16:06 -05:00
Roger Maitland
ada81a69d9
Merge pull request #1179 from DaWeidmann/patch-1
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
Improve documentation for introductory examples
2025-12-28 10:05:52 -05:00
Daniel Weidmann
6783bc249f Use Oxford commas in headings 2025-12-28 13:04:38 +01:00
Daniel Weidmann
37b0c48710 Remove superfluous comma 2025-12-26 12:17:04 +01:00
Daniel Weidmann
8f19b1acdc Fix link to class Rectangle 2025-12-26 12:16:19 +01:00
Anthony Sokolowski
50cbb3854a Added project_line feature to ExtensionLine. 2025-12-25 16:55:10 +11:00
jdegenstein
a0d32fbba0
Merge pull request #1172 from jwagenet/readme-update
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
Update: Readme structure and content
2025-12-18 13:27:27 -06:00
Jonathan Wagenet
8eb3eed4f6 Update DOI and builder statefulness, fix missing anchor, logo positioning, formatting 2025-12-18 11:09:29 -05:00
gumyr
351ad91662 Removing commented out code
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
2025-12-17 10:20:24 -05:00
jdegenstein
52b8b9a399
Merge pull request #1173 from jdegenstein/ocpstubs
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
Enable cadquery-ocp-stubs for mypy type checking, enhance setup workflow to accept dep category
2025-12-16 20:56:40 -06:00
Roger Maitland
37452fc519
Merge pull request #1171 from dgies/dev
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
Fix mislabeled bottom center circle on align example in docs
2025-12-16 10:54:43 -05:00
jdegenstein
d4d70cc85d
pyproject.toml -> include [stubs] category in [all] 2025-12-15 17:04:22 -06:00
dgies
154b4f6a52 Fix mislabeled bottom center circle on align example in docs 2025-12-12 21:33:01 -08:00
gumyr
a971cbbad6 Making project_to_viewport a proper method
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
2025-12-03 13:41:53 -05:00
gumyr
726a72a20b Eliminating copying exploration methods in higher order classes
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
2025-12-03 11:35:20 -05:00
jdegenstein
3f2348ff53
Merge branch 'gumyr:dev' into ocpstubs 2025-12-03 10:32:43 -06:00
jdegenstein
a81cbbf04a
Update benchmark.yml 2025-12-03 10:31:29 -06:00
jdegenstein
091b678293
Update test.yml 2025-12-03 10:30:38 -06:00
jdegenstein
417fa8bae2
Update mypy.yml 2025-12-03 10:30:17 -06:00
jdegenstein
621658b1af
Update lint.yml 2025-12-03 10:29:33 -06:00
jdegenstein
be12ec3d30
Update coverage.yml 2025-12-03 10:29:20 -06:00
jdegenstein
92f44f2b42
Update benchmark.yml 2025-12-03 10:28:50 -06:00
jdegenstein
2d12c9f452
action.yml -> route optional dependencies for work towards including stubs 2025-12-03 10:28:17 -06:00