Commit graph

743 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
8105cf1d51 Adding EllipticalStartArc
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-03 14:23:21 -05: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
jdegenstein
562b3e82d7
Merge pull request #1227 from jdegenstein/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
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
feat: enable STL rescale in `import_stl`, add tests
2026-02-09 09:51:40 -06:00
jdegenstein
5c164c0aef
Merge pull request #1226 from jdegenstein/fix_jernarc
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
fix: `JernArc` detect and modify global/local tangent directions as appropriate
2026-02-06 11:49:44 -06:00
jdegenstein
753b5f65b0 add test for invalid unit 2026-02-06 08:37:08 -06:00
jdegenstein
01a41e2427 enable STL rescale in import_stl, add tests 2026-02-05 21:06:28 -06:00
Roger Maitland
83070dc1af Merge branch 'dev' of https://github.com/gumyr/build123d into 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
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-02-05 11:32:54 -05:00
Roger Maitland
937934e6e3 Ensure make_constrained_arcs always returns proper 3D geometry 2026-02-05 11:32:45 -05:00
jdegenstein
9dc6409a39 fix: JernArcdetect and modify global/local tangent directions as appropriate 2026-02-05 10:00:38 -06: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
jdegenstein
42cfc169b6
test_build_sketch.py -> Fix test assertion for Polygon Align 2026-01-28 14:58:20 -06: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
76ea321bc1
Merge pull request #1202 from voneiden/gltf-auto-naming
Disable auto naming for glTF export
2026-01-19 09:40:12 -05:00
Matti Eiden
de4a53c1d1 Disable auto naming for glTF export
Auto naming is an OCCT feature that is enabled by default. For glTF
export it is problematic, because users would expect to see their labels
be used on glTF nodes however with auto naming enabled OCCT overwrites
the user labels.

For STEP files auto naming does not appear to overwrite any user labels.

Refs: #1198
2026-01-18 23:51:31 +02: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
32703b10c7 Add singleline support and guards to Text 2026-01-16 17:18:49 -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
jdegenstein
adba566402
Merge pull request #1194 from jdegenstein/avoid_cp1252
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
fix: in tests use `open()` with explicit `utf-8` to avoid `cp1252` on windows
2026-01-12 13:53:22 -06:00
Roger Maitland
7d3a524a0f
Merge pull request #1185 from snoyer/export-brep-step-binary-file
allow exporting BREP and STEP to binary file objects
2026-01-12 09:47:07 -05:00
jdegenstein
cf9e88b0ec use open with explicit utf-8 to avoid accidental cp1252 on windows 2026-01-09 11:26:10 -06:00
Roger Maitland
ed5e5f006f
Merge branch 'dev' into geom_repr 2026-01-08 11:02:02 -05:00
gumyr
7fb6e280f6 Added ConvexPolyhedron Issue #941 2026-01-08 10:30:01 -05:00
gumyr
bd0a3bab28 Enhanced projected Edge/Wire by cleaning raw result to avoid fragmenting Edges 2026-01-07 10:36:56 -05: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
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