Commit graph

2337 commits

Author SHA1 Message Date
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
1f7d17eab6 doc fix for spiral_sweep 2021-08-28 11:37:09 -04:00
Adrian Mariano
110dc09cb7 Smoother higbee for spiral_sweep (don't linear interpolate square root) 2021-08-28 10:14:29 -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
a966002256 comment example 2021-08-27 23:15:17 -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
c0bf42836d remove debug echo 2021-08-24 22:21:16 -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
Revar Desmera
5cd0b5d03c
Merge pull request #616 from revarbat/revarbat_dev
Added orient() attachments module.
2021-07-31 18:27:44 -07:00
Garth Minette
d11068cec9 Added orient() attachments module. 2021-07-31 18:21:39 -07:00
Revar Desmera
d2fb107810
Merge pull request #615 from revarbat/revarbat_dev
Revarbat dev
2021-07-30 15:40:08 -07:00
Garth Minette
92c88d72b9 Added tests for v_lookup() 2021-07-30 14:54:04 -07:00
Garth Minette
3fca34babd Added v_lookup() for vector lookups. 2021-07-30 14:41:06 -07:00
Garth Minette
57d906bb85 Tweak color cubes in Mutators tutorial. 2021-07-30 13:40:12 -07:00
Garth Minette
b5e6a08f51 Sped up HSV() slightly. 2021-07-30 13:38:25 -07:00
Revar Desmera
cf0fe1a2a8
Merge pull request #614 from adrianVmariano/master 2021-07-29 02:42:27 -07:00
Adrian Mariano
3e670bb4c6 doc fix 2021-07-27 21:13:02 -04:00
Revar Desmera
831e5a574e
Merge pull request #613 from adrianVmariano/master 2021-07-24 21:56:30 -07:00
Adrian Mariano
9703a2d237 fixed example and removed debug echo 2021-07-24 21:26:13 -04:00
Revar Desmera
7e75d03f6a
Merge pull request #612 from revarbat/revarbat_dev
Explain using tags-based operations with non-attachable shapes.
2021-07-21 19:40:38 -07:00
Garth Minette
cebb35af34 Explain using tags-based operations with non-attachable shapes. 2021-07-21 19:32:04 -07:00
Revar Desmera
57828ade9b
Merge pull request #611 from adrianVmariano/master
doc fixes
2021-07-20 18:39:53 -07:00
Adrian Mariano
0290f230d6 doc fixes 2021-07-20 20:53:34 -04:00
Revar Desmera
af6401aa5e
Merge pull request #610 from revarbat/revarbat_dev
Added examples to move() for issue #609
2021-07-20 17:02:56 -07:00
Garth Minette
b20b61a527 Added examples to move() for issue #609 2021-07-20 17:02:24 -07:00
Revar Desmera
bb067d15a7
Merge pull request #608 from revarbat/revarbat_dev
Fixed typo in back() module definition.
2021-07-14 13:53:41 -07:00
Garth Minette
2e38644894 Fixed typo in back() module definition. 2021-07-14 13:50:34 -07:00
Revar Desmera
a282d224d3
Merge pull request #607 from revarbat/revarbat_dev
Fixed path_chamfer_and_rounding() default for closed=
2021-07-10 22:22:55 -07:00
Garth Minette
eb4e16fcf1 Fixed path_chamfer_and_rounding() default for closed= 2021-07-10 21:39:56 -07:00
Revar Desmera
0263a5683e
Merge pull request #606 from BradenM/fix/atext-font
Utilize font parameter in attachments/atext module.
2021-07-10 15:11:26 -07:00
Braden Mars
ae61b1c4b1
fix(attachments): utilize font parameter in atext 2021-07-08 23:30:37 -05:00
Revar Desmera
b0bccfeb44
Merge pull request #604 from revarbat/revarbat_dev
Fix quant docs to point out non-integer quanta are allowed.
2021-07-07 23:41:53 -07:00
Garth Minette
ee504540c3 Fix quant docs to point out non-integer quanta are allowed. 2021-07-07 23:28:07 -07:00
Revar Desmera
4aee6f29ef
Merge pull request #603 from revarbat/revarbat_dev
Bugfix for line_of()
2021-07-06 22:45:52 -07:00
Garth Minette
0db5d6dd06 Remove int constraint from quant calls. 2021-07-06 22:37:51 -07:00
Garth Minette
c967b507a6 Bugfix for line_of() 2021-07-05 20:46:43 -07:00