Commit graph

41 commits

Author SHA1 Message Date
gumyr
bc8d01dc7e Improve length accuracy Issue #1136, minor typing fixes 2025-11-21 15:09:11 -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
735f4ffb4d Wire.param_at_point improved 2025-08-30 10:16:39 -04:00
gumyr
2efa2a3a09 Most functionality working 2025-08-16 17:49:33 -04:00
Jonathan Wagenet
6dd89cf004 AATA: Add test matrix to spot check min/max limits, tangency for each condition 2025-08-01 15:49:26 -04:00
Jonathan Wagenet
ab6eaff52b AATA: Fix tests and addsome new. Likely incomplete 2025-07-31 23:18:18 -04:00
Roger Maitland
f59f127b19
Merge pull request #1000 from jwagenet/tangent-fix
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
Bugfix: correct `ArcArcTangentArc` tangency with reversed start_arc in algebra mode
2025-05-28 18:33:38 -04:00
Jonathan Wagenet
87048fabc4 ArcArcTangentArc: correct arc in situation where RadiusArc places center on incorrect side to resolve #983 2025-05-28 14:43:30 -04:00
gumyr
e842b321f3 add Vector.to_tuple deprecation warning 2025-05-25 18:46:46 -04:00
Roger Maitland
b03fa9a7fb
Merge pull request #947 from jwagenet/tangent-objects
Add Tangent objects for Point and Arc
2025-04-16 09:36:12 -04:00
Jonathan Wagenet
0d5aa13afa Add sympy to project, run mypy/pylint/black on changes 2025-03-23 12:41:48 -04:00
Jonathan Wagenet
7e33864e8e Add tangent object tests.
These are pretty extensive, but not exhaustive. Testing once in algebraic mode with a tangency/coincident checks, testing on at a few different start points, comparing lengths to first test and L/R INSIDE/OUTSIDE output, finally do error checks locally.
2025-03-22 10:59:17 -04:00
gumyr
c4080e1231 Fixed DoubleTangentArc to create Edge 2025-03-21 15:46:25 -04:00
Jonathan Wagenet
7670466398 PolarLine update: add direction to docstring, make direction unit vector, update tests for angle/direction parity
Previously, when using direction, the result was a line made by direction and scaled by length. This doesn't seem like intuitive/expected behavior based on how length + angle works. Behavior is trivially accomplished by Line((0, 0), float * Vector)
2025-03-05 20:45:34 -05:00
gumyr
60b244442d Changing base types Issue #792 2024-11-17 11:41:14 -05:00
jdegenstein
74f5f68bdc
test_build_line.py -> add test for vertex/start position 2024-06-24 10:19:42 -05:00
jdegenstein
99863e8307
Update test_build_line.py -> Fix tests 2024-06-21 15:21:25 -05:00
jdegenstein
23f6fb9618
test_build_line.py -> less trivial JernArc tests 2024-06-21 15:18:45 -05:00
gumyr
18aafed8e6 Add DoubleTangentArc 2024-02-27 16:18:39 -05:00
gumyr
2e81b9d5df Reformatted with black 24.2.0 2024-02-22 11:27:01 -05:00
gumyr
e551e468a4 Added Face constructor deprecated make_from_wires Issue #529 2024-02-02 11:29:36 -05:00
jdegenstein
0676565d1e
test_build_line.py -> update (Fillet)Polyline tests to 2 pt minimum 2024-01-31 14:34:11 -06:00
gumyr
34db0aae78 Added ability to accept iterables to: Builders, Locations, Bezier,
FilletPolyline, Line, Polyline, Spline, TangentArc, ThreePointArc,
Polygon, Issue #269
2023-11-29 13:53:53 -05:00
gumyr
99be3df220 Changing is_closed to a property Issue #357 2023-11-13 19:55:00 -05:00
gumyr
6fda5792b9 Improving unittest coverage 2023-07-31 20:13:59 -04:00
gumyr
20a954167e Revert "Changed is_closed to property, added Wire.is_forward"
This reverts commit f1161598f7.
2023-06-30 10:32:15 -04:00
gumyr
f1161598f7 Changed is_closed to property, added Wire.is_forward 2023-06-30 10:25:36 -04:00
gumyr
83c0a53e92 Adding tests for FilletPolyline 2023-06-28 11:59:20 -04:00
Bernhard
4a47bb0beb introduce short_sagitta parameter to RadiusArc to select between both possible cases 2023-05-21 17:16:24 +02:00
Roger Maitland
9f342c307d Fixed center point in CenterArc Issue #214 2023-04-16 11:06:07 -04:00
Roger Maitland
135d019024 Allow JernArc to create complete circle Issue #192 2023-04-12 10:47:11 -04:00
Roger Maitland
56e551aa02 Fixed CenterArc localization bug Issue #212 2023-04-12 10:08:23 -04:00
Roger Maitland
05cf6798e6 Reorder parameters to "what-to-change", "how-to_change" by adding defaults 2023-03-30 14:28:37 -04:00
Roger Maitland
d3dc0e0b15 Removed sequences from operations 2023-03-30 10:33:14 -04:00
Roger Maitland
186ca1f821 Refactored all operations to be functions 2023-03-22 16:34:00 -04:00
Roger Maitland
af52e032be De-emphasizing Workplanes 2023-03-07 10:32:37 -05:00
Roger Maitland
6ce0459d58 Fixed & simplified PolarLine by removing direction parameter 2023-02-21 10:40:58 -05:00
Roger Maitland
4500d333de Changed bounding box to Vectors, Added Joints tests 2023-02-08 13:38:03 -05:00
Roger Maitland
aed219d073 BuildLine @ 100% coverage 2023-02-04 21:20:29 -05:00
Jason S. McMullan
2ab898744f tests/ - Rename file to Python testing standard of 'test_*.py' 2023-01-16 11:17:38 -05:00
Renamed from tests/build_line_tests.py (Browse further)