Commit graph

444 commits

Author SHA1 Message Date
Revar Desmera
f67d38c0e2 Make rot() function autodetect 2D input. 2019-07-10 13:45:12 -07:00
Revar Desmera
9f0d55f5b3 triangle_area2d() -> triangle_area(). Added polygon_area() 2019-07-10 13:37:23 -07:00
Revar Desmera
e00ce0d81f Removed right_of_line2d() 2019-07-10 13:22:24 -07:00
Revar Desmera
d60cd9411f Make is_path() test for more than one point in a path. 2019-07-10 13:12:32 -07:00
Revar Desmera
e60648dadd Make stroke() assert that path is 2D. 2019-07-10 13:03:17 -07:00
Revar Desmera
e2e6bcf2f9 Enlarged a number of partitions.scad example images. 2019-07-09 22:30:27 -07:00
Revar Desmera
35277af5ef Fixed partitions.scad example images. 2019-07-09 22:02:55 -07:00
Revar Desmera
da819f3d9d Added partitions.scad 2019-07-09 21:54:28 -07:00
Revar Desmera
a008f5aed7 Added heightfield() 2019-07-09 18:46:47 -07:00
Revar Desmera
c158d31289 Added idx() to return index range of a given list. 2019-07-09 18:40:36 -07:00
Revar Desmera
a573ccae38 Fixed rainbow() example images. 2019-07-05 16:09:53 -07:00
Revar Desmera
3a45f10f6c Added rainbow() 2019-07-05 16:07:12 -07:00
Revar Desmera
6db5246b0f Fixed HSL() and HSV() docs. 2019-07-05 15:07:59 -07:00
Revar Desmera
ca992b71f9 Added HSL() and HSV() color functions+modules. 2019-07-05 15:01:42 -07:00
Revar Desmera
54246a154d Added str_strip*() functions. Added fmti() and fmtf() number formating functions. 2019-07-05 04:25:55 -07:00
Revar Desmera
baae135ab3 Fixes for point_in_region(). Fixed assemble_path_fragments() to detect and shortcut self intersecting path fragment sets. 2019-07-04 23:47:42 -07:00
Revar Desmera
7d1edc2fba Merge branch 'master' of github.com:revarbat/BOSL2 2019-07-04 23:40:32 -07:00
Revar Desmera
c392741042 Added add_scalar(). Fixed normalize() for [0,0]. Added examples for vector functions. 2019-07-04 23:40:24 -07:00
Revar Desmera
9695982b3d
Merge pull request #65 from adrianVmariano/master
Added path_spread() and path_cut()
2019-07-01 16:46:43 -07:00
Adrian Mariano
b8526998c7 Added path_spread() and path_cut() 2019-07-01 19:25:00 -04:00
Revar Desmera
0de637f020 Merge branch 'master' of github.com:revarbat/BOSL2 2019-06-30 18:09:50 -07:00
Revar Desmera
f1a70f62f3 Fixed // handling for arcs with negative arc angles. 2019-06-30 18:09:43 -07:00
Revar Desmera
c95c3c279d
Merge pull request #61 from adrianVmariano/master
Fixed bug in list_set and arg order
2019-06-28 17:53:51 -07:00
Adrian Mariano
48b154b9f8 Fixed bug in list_set and arg order 2019-06-28 18:26:05 -04:00
Revar Desmera
d64b836e8b Tweaked offset() to work on regions as well as paths. 2019-06-26 18:56:33 -07:00
Revar Desmera
83e6eb24ee Added offset() 2019-06-25 17:57:03 -07:00
Revar Desmera
206946e7f2 Merge branch 'master' of github.com:revarbat/BOSL2 2019-06-25 17:44:25 -07:00
Revar Desmera
e162e14cc5 Added bselect() and list_bset() 2019-06-25 17:44:21 -07:00
Revar Desmera
0557bb339b
Merge pull request #53 from adrianVmariano/master
Changed sort and sortidx to use efficient method for certain cases.
2019-06-25 16:20:08 -07:00
Adrian Mariano
8ce98ab286 Changed sort and sortidx to use efficient method for certain cases. 2019-06-25 19:16:40 -04:00
Revar Desmera
c13a8fe40a Added cubetruss.scad libfile. 2019-06-24 23:53:22 -07:00
Revar Desmera
88976183a4 Make cuboid() smarter about allowing chamfers larger than uninvolved sides. 2019-06-24 17:48:58 -07:00
Revar Desmera
4c659e9f40 Fix truncated example. 2019-06-24 15:45:42 -07:00
Revar Desmera
56b41b487b Improved compare_vals() and compare_lists() for heterogenous types. 2019-06-24 15:31:59 -07:00
Revar Desmera
94c2378136 Fix error in bezier_offset() docs. 2019-06-24 02:24:17 -07:00
Revar Desmera
72c0922c13 Reworked bezier_offset() 2019-06-24 02:18:37 -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
fb254d609a Added r1/r2 args for various edge rounding routines to allow graduated radius curvatures. 2019-06-23 18:47:35 -07:00
Revar Desmera
d784b21abf
Merge pull request #52 from adrianVmariano/master
Three new supershape examples
2019-06-23 17:44:57 -07:00
Revar Desmera
bf07ec504a Merge branch 'master' of github.com:revarbat/BOSL2 2019-06-23 17:43:07 -07:00
Revar Desmera
6180771cf1 Fixed edge case orient_and_align() with 0 height. 2019-06-23 17:42:57 -07:00
Adrian Mariano
fb5580268a Three new supershape examples 2019-06-23 17:21:00 -04:00
Revar Desmera
2b390adb7f
Merge pull request #49 from adrianVmariano/master
Added faster and simpler versions of max_index and min_index.
2019-06-23 14:16:48 -07:00
Adrian Mariano
49365add3c Added faster and simpler versions of max_index and min_index. 2019-06-23 13:17:04 -04:00
Revar Desmera
568f18cc9e
Merge pull request #48 from adrianVmariano/master
Changed str_frac() to take mixed fractions with mixed, improper and signed flag options.
2019-06-23 09:58:33 -07:00
Adrian Mariano
aa31fb9ddd Changed str_frac() to take mixed fractions with mixed, improper and signed flag options. 2019-06-23 12:51:43 -04:00
Revar Desmera
10f7d5118f
Merge pull request #47 from adrianVmariano/master
Use each in flatten().  It's faster.
2019-06-23 00:24:40 -07:00
Revar Desmera
aa51988a83 Added braced example image for thinning_wall. 2019-06-23 00:03:13 -07:00
Revar Desmera
72c2df1ba4 Merged thinning_wall() and braced_thinning_wall(). 2019-06-22 23:55:39 -07:00