5263 Commits

Author SHA1 Message Date
adrianVmariano
e940b69f55 Merge pull request #1770 from amatulic/anachronist_dev
Slightly improved run time of vnf_tri_array()
2025-08-17 21:41:01 -04:00
Revar Desmera
d252f78123 Merge pull request #1772 from fireboy1919/add_9_screw
Adds #9 screws.
2025-08-14 17:40:58 -07:00
Revar Desmera
94711cf518 Merge pull request #1771 from coryrc/betterSkinErrorMessage
Add error message with solution to skin
2025-08-14 17:40:18 -07:00
Cory Cross
96d4d6f211 Simplify two is_list calls for one is_path
This also checks the coordinates are all finite numbers, but that
still matches the mentioned assertion.
2025-08-12 10:24:13 -07:00
Rusty Phillips
5d92e49df1 Adds #9 screws. 2025-08-12 09:04:36 -04:00
Cory Cross
c56a7dd884 Add error message with solution to skin
Maybe you're refactoring a bunch of nested arguments to skin and
forget the first argument is supposed to be a list and you wasted an
embarrassing amount of time figuring it out :) In this case, the error
message changes from

Profiles [0, 1, 2, 3, 4, 5, 6, 7, 8] are not a paths or have length less than 3.

to

The first argument to `skin` must be a list of paths
2025-08-11 08:22:58 -07:00
Alex Matulich
03a7a2662b removed vnf_merge from vnf_tri_array for speed improvement 2025-08-09 16:36:09 -07:00
Alex Matulich
8287f63c62 slightly improved run time of vnf_tri_array() 2025-08-09 14:23:08 -07:00
adrianVmariano
0fdf90938e Merge pull request #1768 from amatulic/anachronist_dev
Fix minor doc errors
2025-08-08 18:01:27 -04:00
Alex Matulich
d9bb3ed6f2 Fix minor doc errors 2025-08-08 14:02:46 -07:00
Alex Matulich
ce851e5f96 Merge branch 'anachronist_dev' of https://github.com/amatulic/BOSL2 into anachronist_dev 2025-08-08 13:44:27 -07:00
adrianVmariano
3f7f5f20bd Merge pull request #1765 from adrianVmariano/master
fix offset_sweep bug with disjoint region components
2025-07-29 21:39:08 -04:00
Adrian Mariano
9c01142e25 fix offset_sweep bug with disjoint region components 2025-07-29 20:13:25 -04:00
adrianVmariano
7d649cff6f Merge pull request #1762 from amatulic/general_dev
Fix for #1759 - move nonplanar polygon check earlier in `_slice_3dpolygons()`
2025-07-29 19:45:38 -04:00
Alex Matulich
dcce4969b5 fixed doc/code disagreement about colors in vnf_validate() 2025-07-29 05:10:29 -07:00
Alex Matulich
70225e4434 removed redundant call to poly_area() 2025-07-29 02:04:33 -07:00
Alex Matulich
c5e87179aa Fix for #1759 - move nonplanar polygon check earlier in _slice_3dpolygons() 2025-07-29 01:58:42 -07:00
adrianVmariano
d0bdc25da9 Merge pull request #1755 from adrianVmariano/master
vnf anchor bugfix
2025-07-23 22:11:43 -04:00
Adrian Mariano
f934d0585b vnf anchor bugfix 2025-07-23 21:31:51 -04:00
adrianVmariano
520b1c7fde Merge pull request #1739 from amatulic/general_dev
Added simplify_path(), slerp(), slerpn(), improved random_polygon(), minor wordsmithing of docs
2025-07-17 19:51:48 -04:00
adrianVmariano
a9f45db866 Merge pull request #1753 from adrianVmariano/master
partition doc fix
2025-07-17 19:51:21 -04:00
Adrian Mariano
f3f0521299 partition doc fix 2025-07-17 19:07:40 -04:00
adrianVmariano
45dcd34b93 Merge pull request #1750 from coryrc/fixThreadingRodBevelDocs
Threading rod bevels do not default to false, so fix docs
2025-07-17 18:38:04 -04:00
adrianVmariano
818ed7a358 Merge pull request #1752 from adrianVmariano/master
dovetail tweaks
2025-07-17 18:37:49 -04:00
Adrian Mariano
ed4e3963bc dovetail tweaks 2025-07-17 17:38:09 -04:00
adrianVmariano
3643f36142 Merge pull request #1747 from coryrc/extraSlidingDovetail
Add entry_slot_length to dovetail() module
2025-07-17 16:52:25 -04:00
Cory Cross
ad8ad36efa Reword per feedback 2025-07-17 13:40:08 -07:00
adrianVmariano
eb9ce8f43b Merge pull request #1749 from amatulic/anachronist_dev
xcyl(), ycyl(), zcyl() pass through all parameters to cyl()
2025-07-17 14:27:21 -04:00
Alex Matulich
edab929c29 renamed reduce_path to simplify_path, slight copyediting to docs 2025-07-16 21:41:09 -07:00
Alex Matulich
6707da83a1 Merge branch 'BelfrySCAD:master' into general_dev 2025-07-16 20:58:20 -07:00
Alex Matulich
687d0bfd24 Merge branch 'BelfrySCAD:master' into anachronist_dev 2025-07-16 20:57:28 -07:00
Alex Matulich
dc72d8b56c misc doc fixes: punctuation, grammar, newlines, etc. 2025-07-16 18:33:21 -07:00
Cory Cross
f7f579e579 Threading rods do not default to false, so fix docs
The actual logic is more complicated. Change all the docs for rods to
reference "generic_threaded_rod" and explain how the logic actually works.

I did not look at nuts.
2025-07-16 14:34:45 -07:00
Alex Matulich
78a06f63ab corrected x/y/zcyl() reorient() issue in shapes3d, commented echo and added newlines to assert messages in attachments 2025-07-16 11:49:13 -07:00
Alex Matulich
7c48054ca4 doc changes 2025-07-16 07:44:44 -07:00
Cory Cross
78e5e41a99 Rename to entry_slot_length and add get_slop() to it
Should have always had get_slop().
2025-07-15 19:19:45 -07:00
Cory Cross
2f76524a77 Rename to use "escapement" instead of "insertion_mask" 2025-07-15 14:59:14 -07:00
adrianVmariano
84de8a3070 Merge pull request #1746 from coryrc/fixDovetailNaming
dovetail big/small variable naming reversed (no-op)
2025-07-12 22:13:47 -04:00
Alex Matulich
c1efe89711 Clarified anchoring for x/y/cyl() in docs and examples 2025-07-10 18:25:06 -07:00
Alex Matulich
49abf7af4b made arg list more robust to changes 2025-07-07 18:49:54 -07:00
Alex Matulich
49dbed3eb4 xcyl(), ycyl(), zcyl() pass through all parameters to cyl() 2025-07-06 21:10:41 -07:00
Revar Desmera
7d02591c01 Merge pull request #1748 from amatulic/anachronist_dev
Fixed small bug that messed up contour() examples 1 and 2
2025-07-06 17:17:23 -07:00
Alex Matulich
678077bba6 Fixed small bug that messed up contour() examples 1 and 2 2025-07-06 16:17:38 -07:00
Cory Cross
d259cc8071 use inset= from attach() instead of fwd()
new to me
2025-07-04 23:50:05 -07:00
Cory Cross
b9864fe491 Add insertion_mask_slide to dovetail() module
insertion_mask_slide creates a space for the male dovetail to enter tangential to the sliding direction of the joint. It's part of dovetail() because computing the actual cross-section needed involves $slop and slope/angle and taper/back_width and width and height... so it's a lot simpler to add it in to the existing module.
2025-07-04 23:39:22 -07:00
Cory Cross
51d81fb1f3 dovetail big/small variable naming reversed (no-op)
Writing a change I want to upstream, this confused me until I figured out the variables were named backwards. Just copy/paste internal variables, no functionality change.

Testing:

Model was:
```
dovetail("male", width=25, h=10, slope=4, taper=2, slide=50,extra=0) position(BOT)
dovetail("female", width=25, h=10, slope=4, taper=2, slide=50, extra=1);
dovetail("male", w=25,h=10, back_width=8, slope=4, slide=40);
```

Added this code:

    `echo(bigend_points=bigend_points,smallend_points=smallend_points,offset=offset);` after line 709

before change:

```
ECHO: smallend_points = [[12.5, -25, 10], [10, -25, 0], [10, -25, 0]], bigend_points = [[10.754, 25, 10], [8.25396, 25, 0], [8.25396, 25, 0]], offset = -1.74604
ECHO: smallend_points = [[12.5349, -26, 10], [10.0349, -26, 0], [10.0349, -26, -1]], bigend_points = [[10.719, 26, 10], [8.21904, 26, 0], [8.21904, 26, -1]], offset = -1.74604
ECHO: smallend_points = [[12.5021, -20.01, 10], [10.0021, -20.01, 0], [10.0021, -20.01, -0.01]], bigend_points = [[3.99787, 20.01, 10], [1.49787, 20.01, 0], [1.49787, 20.01, -0.01]], offset = -8.5
```

after this change:

```
ECHO: bigend_points = [[12.5, -25, 10], [10, -25, 0], [10, -25, 0]], smallend_points = [[10.754, 25, 10], [8.25396, 25, 0], [8.25396, 25, 0]], offset = -1.74604
ECHO: bigend_points = [[12.5349, -26, 10], [10.0349, -26, 0], [10.0349, -26, -1]], smallend_points = [[10.719, 26, 10], [8.21904, 26, 0], [8.21904, 26, -1]], offset = -1.74604
ECHO: bigend_points = [[12.5021, -20.01, 10], [10.0021, -20.01, 0], [10.0021, -20.01, -0.01]], smallend_points = [[3.99787, 20.01, 10], [1.49787, 20.01, 0], [1.49787, 20.01, -0.01]], offset = -8.5
```
2025-07-04 14:00:09 -07:00
Revar Desmera
8b5c848a22 Merge pull request #1740 from amatulic/assets 2025-06-30 02:21:39 -07:00
Alex Matulich
0c9ecd9ff7 Corrected 'Summary' block to 'Synopsis' 2025-06-29 22:41:38 -07:00
Alex Matulich
cd101fff43 updated 3d2scad.py to output raw VNF list instead of named objects 2025-06-29 22:34:30 -07:00
Alex Matulich
ec7656c4b2 added slerp() and slerpn() to math.scad 2025-06-29 20:57:22 -07:00