Commit graph

53 commits

Author SHA1 Message Date
gumyr
26caed754c Removing make_face changes keeping BoundBox.extent
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-20 13:31:25 -05:00
gumyr
02a8c07e0a Reapply "Enhanced make_face so faces can have holes. Added BoundBox.measure"
This reverts commit 607efade27.
2025-11-20 11:51:04 -05:00
gumyr
607efade27 Revert "Enhanced make_face so faces can have holes. Added BoundBox.measure"
This reverts commit a5e95fe72f.
2025-11-20 11:50:15 -05:00
gumyr
a5e95fe72f Enhanced make_face so faces can have holes. Added BoundBox.measure 2025-11-20 11:15:12 -05:00
gumyr
228769005a Ensuring Polygon takes an iterable 2025-07-03 09:29:51 -04:00
gumyr
02439d3a36 Fixing fillet/chamfer parent id Issue #393
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-12 15:23:12 -04:00
Jonathan Wagenet
82f65f7bb0 SlotOverall, SlotCenterToCenter: (re)implement and test circle degenerate case 2025-06-04 16:29:35 -04:00
Jonathan Wagenet
811dd569d3 Update SlotCenterPoint ValueError test 2025-05-28 21:57:26 -04:00
gumyr
e842b321f3 add Vector.to_tuple deprecation warning 2025-05-25 18:46:46 -04:00
gumyr
aecc71dac2 Adding topo_parent to Triangle vertices 2025-05-19 14:18:42 -04:00
gumyr
46f062c175 Removed meta-data from full_round Issue #979 2025-05-01 14:42:01 -04:00
Roger Maitland
6a4a3b54c4
Merge pull request #960 from jwagenet/text-update
Add OCCT text alignment to `Text`/`make_text`
2025-05-01 14:29:56 -04:00
gumyr
ed5e0307e3 Fixed full_round Issue #972 2025-04-24 11:54:15 -04:00
Jonathan Wagenet
d2d979cde0 make_text: add enum and ValueError tests 2025-04-11 12:11:47 -04:00
Jonathan Wagenet
f245ac5a48 Text and make_text: add TextAlign enum to control OCCT text alignment with Graphic3d enums to resolve #458 and #459.
- Create TextAlign enum
- Add text_align tuple arg to Text and make_text which resolves to (horiz_align, vert_align) and maps to Graphic3d_HTA_* and Graphic3d_HTA_* enums for Font_FontMgr.Perform()
- Use (CENTER, CENTER) as default
- Set align default to None to align by text alignment by default. align still aligns the bounding box
- Minimal test coverage for addition of text_align
2025-04-09 12:52:55 -04:00
gumyr
d1de2a6da1 Refactored topology.py ready to split into multiple modules 2024-12-09 10:09:38 -05:00
Ethan Rooke
1c4b8ff045
test: check for invalid slots 2024-11-18 10:49:58 -06:00
Ethan Rooke
54bc6a4681
feat: optional center argument for to_align_offset 2024-11-16 19:47:24 -06:00
Ethan Rooke
cf11f91f2d
feat: add align.NONE 2024-11-16 19:46:18 -06:00
Ethan Rooke
f2095d64cf
cleanup: remove duplicated aligning logic 2024-11-16 19:46:18 -06:00
gumyr
f3fa230c52 Enhancing Triangle Issue#765 2024-11-06 20:53:50 -05:00
gumyr
24710ae6bc Adding apothem attribute to RegularPolygon Issue #585 2024-03-17 10:12:59 -04:00
gumyr
b3019fc0a6 Adding arc center & radius to full_round return value 2024-02-15 14:00:56 -05:00
gumyr
745bb7debc Adding full_round operation 2024-02-14 11:31:44 -05:00
gumyr
e551e468a4 Added Face constructor deprecated make_from_wires Issue #529 2024-02-02 11:29:36 -05:00
gumyr
d22cb389b9 Fixed how trace fuses faces Issue #481 2024-01-26 14:44:21 -05:00
jdegenstein
c75e8d3123
Update test_build_sketch.py -> Trapezoid tests
add coverage for Trapezoid changes
2023-12-11 11:24:40 -06:00
gumyr
4f79ce745c Added the Triangle Sketch object 2023-12-08 16:06:45 -05:00
gumyr
6f9a5eface Removed Vertex.to_vector() - replaced with Vector(Vertex) 2023-11-05 10:30:43 -05:00
jdegenstein
4b33434e9e
major/minor diam test fix test_build_sketch.py 2023-09-27 13:14:15 -05:00
jdegenstein
35ae27cb2c
Update test_build_sketch.py 2023-09-20 13:40:33 -05:00
jdegenstein
c6bc25c66a
add minor radius test for regpoly 2023-09-20 13:36:54 -05:00
gumyr
0976d9e21f Improving test coverage 2023-09-18 10:12:26 -04:00
gumyr
3ef52ee5ff Flip up-side-down make_face/make_hull Issue #298 2023-08-18 10:08:22 -04:00
gumyr
6aa434042b Fixed adding flipped faces to BuildSketch Issue #267 2023-08-14 10:21:00 -04:00
Roger Maitland
dfd306f67a add_to_context refactor complete 2023-04-03 10:46:26 -04:00
Roger Maitland
d3dc0e0b15 Removed sequences from operations 2023-03-30 10:33:14 -04:00
Roger Maitland
92979fc29c Add->add, restored context logging and validation 2023-03-23 15:32:15 -04:00
Roger Maitland
186ca1f821 Refactored all operations to be functions 2023-03-22 16:34:00 -04:00
Bernhard
7f3be88e0c Use AlmostEqual to work on M1 Mac 2023-03-19 18:05:03 +01:00
Roger Maitland
99bb3a52a2 Minor test improvement 2023-03-11 18:50:39 -05:00
Roger Maitland
af52e032be De-emphasizing Workplanes 2023-03-07 10:32:37 -05:00
Roger Maitland
2850ac7266 Added handling of non coplanar faces to BuildSketch 2023-03-06 09:13:14 -05:00
Roger Maitland
ce6a109b2e Fixed BuildLine transferring wrong plane to BuildSketch Issue #154 2023-03-05 11:03:24 -05:00
Roger Maitland
2ef354b1ff Refactor fontsize to font_size 2023-03-03 21:20:21 -05:00
Roger Maitland
8fc44ab7cd MakeHull defaults to all edges, removed unreliable overlap test 2023-02-19 11:13:57 -05:00
Roger Maitland
5ee30da2c0 Refactored MakeHull to use Wire.make_convex_hull 2023-02-18 14:29:59 -05:00
Roger Maitland
4500d333de Changed bounding box to Vectors, Added Joints tests 2023-02-08 13:38:03 -05:00
Roger Maitland
9f5a4d724e BuildSketch tests @ 100% 2023-02-05 19:27:27 -05:00
Roger Maitland
d36b120206 Replaced text Halign/Valign with Align 2023-01-27 14:23:25 -05:00