Commit graph

2206 commits

Author SHA1 Message Date
Jonathan Wagenet
194fc374a9 make_text: Fuse glyphs with multiple overlapping faces 2025-04-10 22:59:28 -04:00
Jonathan Wagenet
50b1d5b5d5 Rename to Topology Selection and Exploration, add section on new_edges, elaborate on GroupBy 2025-04-10 22:12:05 -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
Jonathan Wagenet
9b78e0767f FontStyle and and Text: add BOLDITALIC font aspect to resolve #778 2025-04-08 22:57:09 -04:00
Jonathan Wagenet
ee11c3517d Add new docs section "Selectors and Operators"
- Expand ideas and concepts from key concepts section
- Provide minimal usage examples in front matter
- Add structure for examples of low to medium complexity for different criteria types
2025-04-06 20:10:00 -04:00
gumyr
bde03f40e7 Removing ocp image to enable tests 2025-04-05 11:45:12 -04:00
gumyr
e658a786d2 Removing ocp image to enable tests 2025-04-05 11:36:36 -04:00
gumyr
91034a6745 Adding toy truck code 2025-04-05 11:15:45 -04:00
gumyr
bf6206377d Added Toy Truck example 2025-04-05 11:05:48 -04:00
Roger Maitland
70772be02b
Merge pull request #933 from jwagenet/doc-issues
Quick fix documentation issues
2025-03-27 10:17:02 -04:00
Jonathan Wagenet
5c2be0fa70 Fix Buffer Stand drawing image link 2025-03-26 14:43:03 -04:00
Jonathan Wagenet
08527188c9 Fix bullets in docstrings for is_skew and axes_of_symmetry to fixs sphinx rendering and build errors 2025-03-26 09:52:39 -04:00
Jonathan Wagenet
56e9858fef Add operations_generic.project to resolve #833 2025-03-26 09:24:13 -04:00
Jonathan Wagenet
7bd037aeed Add Intrinsic and Extrinsic enums to cheat sheet (and Keep ALL) 2025-03-25 23:38:42 -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
66e8315973 Add tangent objects to 1D Objects 2025-03-22 20:07:39 -04:00
Jonathan Wagenet
a4d1da2c1d Add error messages for positional cases to tangent objects 2025-03-22 19:12:24 -04:00
Jonathan Wagenet
1a062724c7 Create doc svgs. Replace DoubleTangentArc svg to use spline instead of arc. 2025-03-22 12:06:06 -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
Jonathan Wagenet
cda424175a Add Tangent Objects to __init__, minor updates Objects 2025-03-21 16:43:10 -04:00
gumyr
7ed50f9429 Fixing edge() typing check 2025-03-21 15:55:42 -04:00
gumyr
c4080e1231 Fixed DoubleTangentArc to create Edge 2025-03-21 15:46:25 -04:00
gumyr
0624bff82e Replacing location_at(planar) with (x_dir) 2025-03-21 15:29:27 -04:00
gumyr
8c171837ee Fixed Issue #944 2025-03-21 11:04:13 -04:00
Jonathan Wagenet
4a21536f01 Commit to sympy for ArcArcTangentArc, minimizer for PointArcTangentArc based on performance 2025-03-18 17:57:08 -04:00
Jonathan Wagenet
400b1d7fe4 Add tangent objects. (see https://github.com/jwagenet/bd_mixins for history) 2025-03-18 17:49:37 -04:00
gumyr
32a1ea1d39 Removed legacy code 2025-03-15 14:09:58 -04:00
jdegenstein
b232be7f8f
Merge pull request #934 from jdegenstein/uv_actions
Use `uv` for setup of github actions workflows
2025-03-13 16:50:56 -05:00
jdegenstein
518d773be5
action.yml -> test explicit cache disable 2025-03-12 10:29:58 -05:00
jdegenstein
e5fe5db6b4
Update action.yml 2025-03-11 14:09:24 -05:00
jdegenstein
23d723783d
Update action.yml 2025-03-11 14:08:47 -05:00
Jonathan Wagenet
c14f922647 Add links to available example imports to resolve #809
Unavailable imports:
- import_export.rst: example.3mf (produced earlier)
- build_line.rst: club.svg
2025-03-10 15:45:40 -04:00
Jonathan Wagenet
cbbf79ae92 Fix alphabetical order and anchor links of circuit/canadian cards. 2025-03-10 15:18:34 -04:00
Jonathan Wagenet
96d9875a7b Plane.rotated(): chaining rotated doesn't seem to affect final rotation. Rotation order should be set with ordering instead. 2025-03-10 13:40:35 -04:00
Jonathan Wagenet
2168fd0540 Plane.rotated(): remove incorrect note about z rotation to resolve #900 2025-03-10 13:33:27 -04:00
gumyr
1140ebe9c3 Enable show_topology to display an Shape with a CompSolid 2025-03-10 13:14:20 -04:00
Jonathan Wagenet
09b80243f9 Add missing enum to cheat sheet: Select.NEW
Keep.ALL is missing, but seems unused
2025-03-10 12:20:43 -04:00
Jonathan Wagenet
c618967e15 Remove outdated filter_by_normal reference 2025-03-10 00:39:09 -04:00
Jonathan Wagenet
f87cee3134 Added plane_symbol() and better var names and typing to resolve #899 2025-03-10 00:21:09 -04:00
Jonathan Wagenet
1b63aa3469 Helix: clarify how cone_angle changes the radius to resolve #761 2025-03-09 23:57:33 -04:00
gumyr
b1f0eedfcb Add very minimal support for CompSolid 2025-03-08 09:24:47 -05:00
Roger Maitland
201e95cd53
Merge pull request #930 from jwagenet/docstring-updates
Revise docstrings for build objects
2025-03-08 08:23:30 -05:00
Jonathan Wagenet
7b55eb100a
Merge branch 'dev' into docstring-updates 2025-03-07 18:19:37 -08:00
Jonathan Wagenet
7595040416 Change add/subtract to create 2025-03-07 21:15:19 -05:00
Roger Maitland
d064c0d97f
Merge pull request #931 from jwagenet/polarline
PolarLine() make localized direction a unit vector to only scale by length
2025-03-07 09:10:38 -05:00
Jonathan Wagenet
c51410b1c8 Polarline: update docstring 2025-03-06 10:01:22 -05: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
Jonathan Wagenet
fcbd027137 Update object_*.py docstrings for more consistency and clarify how parameters work
General improvements:
- follow a similar opening structure
- add specificity to description and args
- remove plurality (sketch, part)
- remove hanging end stops from lists
- try to specify viable enums if mentioned and CAPITALIZE
2025-03-05 18:35:23 -05:00
jdegenstein
07ff964b2b
Merge pull request #912 from fischman/ttt-unbreak-and-test
TooTallToby tutorials: unbreak and test.
2025-03-05 10:09:22 -06:00
jdegenstein
4027664a8c
Update test.yml 2025-03-05 09:56:39 -06:00