Commit graph

82 commits

Author SHA1 Message Date
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
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