Commit graph

2402 commits

Author SHA1 Message Date
gumyr
f3b080e351 Merge branch 'dev' of https://github.com/gumyr/build123d into dev 2025-11-19 09:25:01 -05:00
Roger Maitland
bc96e84dc2
Merge pull request #1143 from jwagenet/doc-fixes
Documentation: Formatting corrections and code style fixes
2025-11-19 09:23:56 -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
f144ca5aa8 Fix tutorial links 2025-11-18 10:34:21 -05:00
Jonathan Wagenet
9707749c61 Merge branch 'dev' into doc-fixes 2025-11-17 18:42:32 -05:00
Roger Maitland
837b743a13
Merge pull request #1088 from jwagenet/lexer
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
Docs: Add improved syntax highlighting to code blocks
2025-11-16 10:45:16 -05:00
Roger Maitland
caa25671fb
Merge branch 'dev' into lexer 2025-11-16 10:21:51 -05:00
x0pherl
1095f3ee4c changes to make development more friendly on MacOS 2025-11-16 10:16:25 -05:00
x0pherl
e92255cefc updated to handle polygons without closed lines
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-11-15 14:23:32 -05:00
x0pherl
173c7b08e2 added support for passing an iterable of radii to FilletPolyline. 2025-11-15 14:23:32 -05:00
gumyr
2768427087 Merge branch 'dev' of https://github.com/gumyr/build123d into dev 2025-11-15 13:47:06 -05:00
Roger Maitland
df17ae8698
Merge pull request #1120 from jwagenet/intersections-2d
Intersect Everything: 2D, 3D, Composite Shapes
2025-11-15 13:28:39 -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
5523a2184c Revert mode == Mode.INTERSECT iteration. pass Compound instead 2025-11-14 14:40:58 -05:00
Jonathan Wagenet
c384df21c7 Intersect: dissolve Wire, Shell after intersection, no need to process 0d, 1d separately 2025-11-14 13:31:40 -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
3877fd5876 Ignore orderless Shapes in _bool_op 2025-11-14 12:58:46 -05:00
jdegenstein
6937501e79
Merge pull request #1134 from jdegenstein/pytest842
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
pyproject.toml -> pin to pytest==8.4.2 per pytest-dev/pytest-xdist/issues/1273
2025-11-12 16:06:01 -06:00
jdegenstein
20854b3d4d
pyproject.toml -> pin to pytest==8.4.2 per pytest-dev/pytest-xdist/issues/1273 2025-11-12 15:40:23 -06:00
Jonathan Wagenet
083cb1611c Remove depreciated Color.to_tuple 2025-11-12 12:29:48 -05:00
Jonathan Wagenet
cc34b5a743 Convert to pytest with parameterization and test ids 2025-11-12 12:18:30 -05:00
Jonathan Wagenet
5d84002aa5 Add Color support for RGBA hex string 2025-11-12 10:37:45 -05:00
gumyr
38e69844b3 Merge branch 'dev' of https://github.com/gumyr/build123d into dev 2025-11-08 10:29:53 -05:00
Roger Maitland
e6d98de840
Merge pull request #1113 from jwagenet/face_plane
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
Replace `Face.make_plane()` with `Face(Plane)`
2025-11-08 10:19:42 -05:00
gumyr
395ecc173e Merge branch 'dev' of https://github.com/gumyr/build123d into dev 2025-11-08 10:14:56 -05:00
gumyr
513c50530c Added support for Face/cone properties: enhanced axis_of_rotation added semi_angle 2025-11-08 10:13:03 -05:00
Roger Maitland
0416967a61
Merge pull request #1110 from snoyer/improve-shapes-typing
Improve shapes typing
2025-11-08 09:59:09 -05:00
Jonathan Wagenet
3bea4d3228 Re-add make_plane with depreciation warning 2025-11-07 16:11:33 -05:00
snoyer
27567a10ef fix typo 2025-11-07 21:29:06 +04:00
jdegenstein
fa8e93687c
Merge pull request #1125 from jdegenstein/logo_link
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
README.md -> use an absolute image link to fix logo on pypi
2025-11-05 13:50:28 -06:00
jdegenstein
44faaae5a7
README.md -> use an absolute image link to fix logo on pypi 2025-11-05 13:25:27 -06:00
Jonathan Wagenet
b049e6a8ce Merge branch 'dev' into intersections-2d (fix import conflict) 2025-10-29 13:49:49 -04:00
Jonathan Wagenet
3713574519 Remove xfail notes from issue tests 2025-10-29 13:02:31 -04:00
Jonathan Wagenet
5d7b098379 Correct mode == Mode.INTERSECT to iterate intersections instead of pass all in to_intersect
Shape.intersect(A, B) through BRepAlgoAPI_Common appears to treat tool as a single object such that intersection is Shape ^ (A + B). The updated intersect methods treat this intersection as Shape ^ A ^ B. The intersections in this change need to be interated to accomadate.
2025-10-29 00:16:02 -04:00
Jonathan Wagenet
069b691964 Conform Shape.intersect to None | ShapeList 2025-10-28 23:56:29 -04:00
Jonathan Wagenet
315605f485 Correct area/volume calculations from intersect with new return type of ShapeList 2025-10-28 23:45:29 -04:00
Jonathan Wagenet
c13ef47cef Correct ex26 by revolving 180 and removing mirror which creates invalid shape 2025-10-28 23:33:29 -04:00
Jonathan Wagenet
a7b554001f Add intersect method to Compound, similar to 2d and 3d 2025-10-24 22:37:28 -04:00
Jonathan Wagenet
cfd4546585 Add Compound tests 2025-10-24 22:36:56 -04:00
gumyr
696e99c889 Improving Face creation - fix inner Wires
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-10-24 18:34:11 -04:00
gumyr
70310ddd4a Shortened and removed CQ reference
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-10-23 14:34:11 -04:00
gumyr
3942c32804 Merge branch 'dev' of https://github.com/gumyr/build123d into dev 2025-10-23 13:51:01 -04:00
gumyr
a649fab27c Improving attribution 2025-10-23 13:50:50 -04:00
Jonathan Wagenet
89dedd0888 Add lexer to surface tuts 2025-10-21 14:03:22 -04:00
Jonathan Wagenet
8c32e3bed3 Merge branch 'dev' into lexer 2025-10-21 13:59:45 -04:00
Jonathan Wagenet
c83aedaae2 Merge branch 'dev' into doc-fixes 2025-10-21 13:49:35 -04:00
jdegenstein
72e89b7b1d
Merge pull request #1097 from jdegenstein/deprecate_arcs
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
Deprecate some Arcs (e.g. ArcArcTangentArc)
2025-10-21 12:40:50 -05:00
jdegenstein
b509ef5761
Merge branch 'dev' into deprecate_arcs 2025-10-21 12:31:27 -05:00
Jonathan Wagenet
9a6c382ced Replace Face.make_plane() with Face(Plane) to match Edge(Axis) 2025-10-21 13:31:14 -04:00