Commit graph

72 commits

Author SHA1 Message Date
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
Garth Minette
f9aa81e178 Improved docs gen script for Returns:, Custom:, Includes:, Topics:, and positional/named args spits. 2021-01-05 01:20:01 -08:00
Revar Desmera
53c1e25395 Standardize indention on spaces, not tabs. 2020-05-29 19:04:34 -07:00
Revar Desmera
b0b436eb63 Renamed spread() to line_of(). Renamed [xyz]spread() to [xyz]copies() 2020-03-24 19:11:05 -07:00
Revar Desmera
00f69ba95b Removed translate_points(), scale_points(), rotate_points2d() and rotate_points3d() 2020-03-22 05:11:19 -07:00
Revar Desmera
6651e1be42 Renamed orient_and_anchor() to attachable() and refactored arguments and internals. 2020-02-29 13:16:15 -08:00
Revar Desmera
7869a27326 Split beverage bottle threading modules into bottlecaps.scad 2019-09-19 03:21:23 -07:00
Revar Desmera
bd19e12096 Rewrote PCO* parts to use arcleft/arcright turtle commands. Removed turtle_arc() 2019-08-31 23:44:24 -07:00
Revar Desmera
8eb7f28337 Corrected typos in PCO1810 parts. 2019-08-31 23:05:16 -07:00
Revar Desmera
bf407307c7 Added turtle_arc(), pco1810_neck(), pco1810_cap() 2019-08-31 00:43:06 -07:00
Revar Desmera
560fd589e4 Add exampled fot textures on pco1881_cap() 2019-08-30 16:22:43 -07:00
Revar Desmera
cb398bd7ff Enabled knurling or ribbing of pco1881_cap() 2019-08-30 16:20:34 -07:00
Revar Desmera
0e187c82f8 Added paths.scad to std.scad since it's used by so many modules. 2019-08-10 15:50:30 -07:00
Revar Desmera
28c96ef22c Make internal threading masks circumscribed. 2019-08-04 19:03:33 -07:00
Revar Desmera
cf39f87005 Added ball_screw_rod(). ball_screw_bearing() not created yet. 2019-07-29 15:53:40 -07:00
Revar Desmera
3306f1d66b Renamed PRINTER_SLOP to 2019-07-17 18:54:35 -07:00
Revar Desmera
f25fdc975d Added tooth profile example 2019-07-17 14:30:20 -07:00
Revar Desmera
2f6671e56d Long overdue path and bezier function and module name cleanups. 2019-06-24 00:32:13 -07:00
Revar Desmera
612306e4b3 Rotated thread profile cross section images. 2019-06-23 19:14:14 -07:00
Revar Desmera
a38441a548 Fixed interior/internal inconsistency. Added internal option to most threaded rods. 2019-06-13 16:08:06 -07:00
Revar Desmera
f378b70151 Added in range step of 1 to avoid errors. 2019-05-26 22:34:46 -07:00