Commit graph

53 commits

Author SHA1 Message Date
gumyr
fbc170ebdc Fixing _ocp_section
Some checks failed
benchmarks / benchmarks (macos-13, 3.12) (push) Has been cancelled
benchmarks / benchmarks (macos-14, 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-13, 3.10) (push) Has been cancelled
tests / tests (macos-13, 3.13) (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 (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-06-10 16:34:44 -04:00
gumyr
3f2d0a445d Add Shell.location_at(point)
Some checks failed
benchmarks / benchmarks (macos-13, 3.12) (push) Has been cancelled
benchmarks / benchmarks (macos-14, 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-13, 3.10) (push) Has been cancelled
tests / tests (macos-13, 3.13) (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 (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-06-02 14:55:17 -04:00
gumyr
10a3a2519d Adding Face.location_at(point) 2025-06-02 14:25:58 -04:00
gumyr
b25b330c9b Adding global_location property
Some checks are pending
benchmarks / benchmarks (macos-13, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-14, 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-13, 3.10) (push) Waiting to run
tests / tests (macos-13, 3.13) (push) Waiting to run
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 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-06-01 19:51:29 -04:00
gumyr
ffc97ef6f0 Deprecating Shape.relocate Issue #768
Some checks are pending
benchmarks / benchmarks (macos-13, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-14, 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-13, 3.10) (push) Waiting to run
tests / tests (macos-13, 3.13) (push) Waiting to run
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 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-05-27 15:35:34 -04:00
gumyr
560a5369b7 Convert Shape methods to properties: is_null, is_valid, shape_type 2025-05-27 14:38:21 -04:00
gumyr
f445de32c9 Deprecating Location.to_tuple Issue #155
Some checks are pending
benchmarks / benchmarks (macos-13, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-14, 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-13, 3.10) (push) Waiting to run
tests / tests (macos-13, 3.13) (push) Waiting to run
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 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-05-27 10:43:33 -04:00
gumyr
421dc66784 Deprecating Edge/Wire.to_wire and Face.to_arcs 2025-05-27 09:43:01 -04:00
gumyr
ce3e6ba3a4 Deprecating Vertex.to_tuple - Issue #155
Some checks are pending
benchmarks / benchmarks (macos-13, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-14, 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-13, 3.10) (push) Waiting to run
tests / tests (macos-13, 3.13) (push) Waiting to run
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 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-05-26 21:02:01 -04:00
gumyr
2e0c193aa8 Deprecating Axis.to_plane, refactored Plane constructor Issue #155 2025-05-26 15:56:01 -04:00
gumyr
83cea3938d Deprecating Color.to_tuple Issue #155 2025-05-26 14:27:43 -04:00
gumyr
86849a329b Fixing bad localization test
Some checks are pending
benchmarks / benchmarks (macos-13, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-14, 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-13, 3.10) (push) Waiting to run
tests / tests (macos-13, 3.13) (push) Waiting to run
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 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-05-25 19:41:11 -04:00
gumyr
e842b321f3 add Vector.to_tuple deprecation warning 2025-05-25 18:46:46 -04:00
gumyr
44c3bac548 Added draft operation Issue #807 2025-05-25 16:11:35 -04:00
gumyr
14ef7d1a0d Improved Edge.param_at_point and Wire.trim - Issue #795 2025-05-22 16:07:08 -04:00
gumyr
cec429c5cc Enabling ShapeList + Shape
Some checks are pending
benchmarks / benchmarks (macos-13, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-14, 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-13, 3.10) (push) Waiting to run
tests / tests (macos-13, 3.13) (push) Waiting to run
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 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-05-19 19:56:27 -04:00
gumyr
ccdfda88e9 Adding method Face.wrap_faces 2025-05-19 12:55:47 -04:00
gumyr
2efd21ff58 Deprecated to_axis Issue #155
Some checks are pending
benchmarks / benchmarks (macos-13, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-14, 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-13, 3.10) (push) Waiting to run
tests / tests (macos-13, 3.13) (push) Waiting to run
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 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-05-18 10:18:08 -04:00
gumyr
67115111e2 Rework Location constructor, improve pylint
Some checks are pending
benchmarks / benchmarks (macos-13, 3.12) (push) Waiting to run
benchmarks / benchmarks (macos-14, 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-13, 3.10) (push) Waiting to run
tests / tests (macos-13, 3.13) (push) Waiting to run
tests / tests (macos-14, 3.10) (push) Waiting to run
tests / tests (macos-14, 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-05-17 13:20:17 -04:00
gumyr
2e7df8ccd4 Adding Face/Shell.revolve for Edge/Wire 2025-05-07 21:27:03 -04:00
gumyr
60cd260e74 Adding wrap feature 2025-05-01 10:03:33 -04:00
Emmanuel Ferdman
2374c26898
Resolve deprecation warnings of regex library
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-04-29 12:19:26 -07:00
Emmanuel Ferdman
846878f879
Resolve deprecation warnings of regex library
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-04-26 00:21:20 -07:00
gumyr
6590df1e65 Fixed Issue #843 added is_forward to Edge parameter methods 2025-04-23 20:17:02 -04:00
gumyr
d4cb27414e Added Location.mirror 2025-04-18 20:34:07 -04:00
gumyr
2a730b5fef Added Location.center to enable sort_by, etc. 2025-04-18 14:04:21 -04:00
gumyr
0624bff82e Replacing location_at(planar) with (x_dir) 2025-03-21 15:29:27 -04:00
gumyr
10a466f645 Improving geometry eq/hash to enable sets 2025-03-04 10:01:49 -05:00
gumyr
1d89804417 Added GeomEncoder for JSON deprecating LocationEncoder 2025-02-24 15:36:58 -05: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
4e42ccb196 Adding OrientedBoundBox.corners and Face.axes_of_symmetry 2025-02-06 10:29:31 -05: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
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