Commit graph

92 commits

Author SHA1 Message Date
Adrian Mariano
4bf1412d46 usage fix 2022-03-31 20:05:50 -04:00
Adrian Mariano
7d6a2b593f Force N parameters to n in most places 2022-03-13 21:40:55 -04:00
Adrian Mariano
dd9b197678 move linear_sweep and spiral_sweep to skin.scad 2022-01-10 21:00:39 -05:00
Revar Desmera
aa109de9d7 Merge branch 'master' of github.com:revarbat/BOSL2 into revarbat_dev 2021-12-13 15:51:06 -08:00
Revar Desmera
59bf523908 Lots of docs tweaks for openscad-docsgen v2 2021-12-13 15:48:30 -08:00
Adrian Mariano
2e2dadefed fix screw threading for nuts to be consistent with how screws are done 2021-11-20 20:59:13 -05:00
Adrian Mariano
dd3542c748 Fix references to changed subsections 2021-11-19 22:33:16 -05:00
Adrian Mariano
6b20232f99 remove nil and noop 2021-11-15 23:55:57 -05:00
Adrian Mariano
69e8491659 doc tweaks
vnf_merge split
2021-11-11 08:45:30 -05:00
Adrian Mariano
b60123a886 columns fixes 2021-10-26 18:30:57 -04:00
Adrian Mariano
2d205a2568 subarray -> columns 2021-10-15 22:39:10 -04:00
Adrian Mariano
db6a6687e9 added diamond thread example 2021-10-05 19:36:45 -04:00
Adrian Mariano
afe75d0e3f add starts to threaded rod/nut
remove vnf_add_face(s)
add vnf_from_polygon
2021-10-05 18:23:20 -04:00
Adrian Mariano
06c5912f02 doc tweaks
speedup tweak for _general_line_intersection
restore older faster is_polygon_clockwise
bugfix polygon_normal
2021-09-12 13:14:40 -04:00
Adrian Mariano
0aad39c7e5 Move affine3d_frame_map to transforms.scad and rename to frame_map.
Add module version.  Change all calls.
2021-09-06 18:07:03 -04:00
Adrian Mariano
2f4875f92f change $fs for ball examples 2021-09-04 23:28:36 -04:00
Adrian Mariano
468b3f6682 Fix ball screw to force 3 pts in arcs 2021-09-04 23:14:51 -04:00
Adrian Mariano
da0730d370 doc fix for thread_helix 2021-08-29 09:53:47 -04:00
Adrian Mariano
c4c9b6cd93 Fixed some issues with internal threading.
Tightening code slightly for generic threaded rod
Added figure showing flank angle
2021-08-28 19:06:47 -04:00
Adrian Mariano
6ef2f71255 improved thread_helix docs
fixed bugs in spiral_sweep: wrong sampling rate, left_handed broken
2021-08-28 08:57:09 -04:00
Adrian Mariano
352436938f fix comment 2021-08-27 23:49:41 -04:00
Adrian Mariano
dbe7a58a74 bevel typo fix, doc fix 2021-08-27 23:36:53 -04:00
Adrian Mariano
a5a2dc926c doc indentation fix 2021-08-27 23:24:02 -04:00
Adrian Mariano
98e05731da Corruption fix, take 2 2021-08-27 23:08:09 -04:00
Adrian Mariano
8abdd31bdf correct the corrupt file 2021-08-27 22:24:36 -04:00
Adrian Mariano
e8bf3bdd1a Merge branch 'master' of https://github.com/adrianVmariano/BOSL2 2021-08-27 22:22:44 -04:00
Adrian Mariano
33c63eb7b3 doc tweak 2021-08-27 22:21:33 -04:00
Revar Desmera
a7065b66f4
Merge branch 'master' into master 2021-08-27 18:29:19 -07:00
Adrian Mariano
bfaf6990bc doc tweaks 2021-08-26 19:27:36 -04:00
Adrian Mariano
8b23eb4951 Fixed facet sampling bugs in spiral_sweep 2021-08-24 22:14:54 -04:00
Adrian Mariano
3c3e911db9 Changed order for docs purposes in threading.scad.
Added SPI threading to bottlecaps.scad.
2021-08-24 18:00:36 -04:00
Adrian Mariano
6da612f7e6 Fixed higbee=0 problem in spiral_sweep, cleaned up thread_helix. Made
spiral sweep force its input to be clockwise to avoid reversed
polyhedra.

Changed thread_angle in thread_helix to flank_angle, which is the
correct term for this angle, and then propagated change in
bottlecap.scad.
2021-08-23 23:03:25 -04:00
Adrian Mariano
6e0b966b72 continued git auth testing 2021-08-22 22:09:34 -04:00
Adrian Mariano
f3abf7f79c testing git auth 2021-08-22 22:08:45 -04:00
Adrian Mariano
ce0b4e9d32 internal: can set bevel to true and get non-garbage result
bevel is always set by thread depth
   acme takes tpi
   square threads are at angle 0
   added generic_threaded_{rod,nut}
   eliminated metric_trapezoidal_*
   cleaned up matrices some in generic_threaded_rod
   threaded_rod can produce spec-true ISO/UTS profile with a triplet input for the diameter.
   Added bevel1 and bevel2 to all modules.  Made default uniformly false for every case instead of
       sometimes true, sometimes false
   Profiles that go over zero are not clipped, and bevels are based on actual profile top, not nominal
   When bevel is given to nuts it bevels the outside of the nut by thread depth
   higbee looks best with quincunx, but it's more expensive.  Select quincunx when higbee is used, min_edge otherwise
   Current code uses difference to remove excess length in the rod.  This gives faster renders at the cost
      of more complex code and green top/bottom surfaces.
   Changed slop to 4 * $slop.  I got good results printing with $slop=0.05 with this setting.
   Don't generate excess threads when starts>1, and don't force threads to be even
2021-08-22 21:53:08 -04:00
Adrian Mariano
ba4c00f77e Changes
internal: can set bevel to true and get non-garbage result
   bevel is always set by thread depth
   acme takes tpi
   square threads are at angle 0
   added generic_threaded_{rod,nut}
   eliminated metric_trapezoidal_*
   cleaned up matrices some in generic_threaded_rod
   threaded_rod can produce spec-true ISO/UTS profile with a triplet input for the diameter.
   Added bevel1 and bevel2 to all modules.  Made default uniformly false for every case instead of
       sometimes true, sometimes false
   Profiles that go over zero are not clipped, and bevels are based on actual profile top, not nominal
   When bevel is given to nuts it bevels the outside of the nut by thread depth
   higbee looks best with quincunx, but it's more expensive.  Select quincunx when higbee is used, min_edge otherwise
   Current code uses difference to remove excess length in the rod.  This gives faster renders at the cost
      of more complex code and green top/bottom surfaces.
   Changed slop to 4 * $slop.  I got good results printing with $slop=0.05 with this setting.
   Removed excess threads from vnf (affects case where starts>1), don't force threads to be even

   Fixed higbee in spiral_sweep for properly centered scaling and for staying on the internal/external base of threads
   Fixed bug in spiral_sweep where two segments were missing if higbee is zero
2021-08-22 21:49:56 -04:00
Garth Minette
5a355434ce Tweaks for docs usage lines. 2021-06-26 20:59:33 -07:00
Garth Minette
e41e9e9052 Orientation fix for npt_threaded_rod() 2021-06-24 02:06:43 -07:00
Garth Minette
33fb2d8595 Fix for square threading. 2021-06-24 01:50:24 -07:00
Garth Minette
bf3278f6db Fix for malformed ball screw. 2021-06-24 01:08:25 -07:00
Garth Minette
6455634fd9 Added starts support for helix_thread() 2021-06-23 17:59:04 -07:00
Garth Minette
1670b0fa16 NPT threading fixes. 2021-06-09 18:29:29 -07:00
Garth Minette
4ddb9031ce Corrected assertion in trapezoidal_threaded_rod() 2021-06-08 18:08:21 -07:00
Garth Minette
0b17bf5930 Brought slice() in line with select() indexing, without wrapping. Replaced a lot of select() and slice() calls with last(), list_head(), and list_tail() calls. 2021-03-30 00:46:59 -07:00
Garth Minette
01092713cb VNF re-re-write of trapezoidal_threaded_rod() 2021-02-04 05:39:00 -08:00
Garth Minette
93f7c3c8d8 Removed debugging echo. 2021-02-02 19:48:35 -08:00
Garth Minette
323a42177d Fix manifold issues with trapezoidal_threaded_rod(). 2021-02-02 02:14:59 -08:00
Garth Minette
99072122ce Rewrite trapezoidal_threaded_rod() to use VNFs. 2021-02-01 04:55:50 -08:00
Garth Minette
0dc5b9c7f2 Added npt_threaded_rod() 2021-01-31 21:08:03 -08:00
Garth Minette
cc4e4ff402 Enable taper and better higbee in thread_helix() 2021-01-31 15:43:50 -08:00