Commit graph

702 commits

Author SHA1 Message Date
Revar Desmera
231bb69634 Fixed bug introduced into sum() when summing lists of vectors. 2020-01-09 14:28:54 -08:00
Revar Desmera
48d30fc686 Reorganize math.scad 2020-01-08 20:43:19 -08:00
Revar Desmera
fe7b87e92d Fixed argument typo in skew() 2020-01-06 16:55:22 -08:00
Revar Desmera
1ce899c412 Cleaned up docs gen error reporting. 2020-01-06 16:45:30 -08:00
Revar Desmera
c4ceed4e21 Fixed docs error with yflip() 2020-01-06 16:31:16 -08:00
Revar Desmera
b4bad57588 Reorganized 2D shapes. Added teardrop2d() function. 2020-01-05 21:36:27 -08:00
Revar Desmera
e43759c6e0 Fixed erroneous assert in rot_copies() 2020-01-02 17:03:06 -08:00
Revar Desmera
7a58e69a31 Clean up square() functional example. 2019-12-27 13:37:22 -08:00
Revar Desmera
4e9aa3868d Tweaks to square() examples. 2019-12-26 21:49:05 -08:00
Revar Desmera
fc1d6ede72 Added rounding= and chamfer= options to square() 2019-12-26 21:43:42 -08:00
Revar Desmera
0a298dba99 Added vang() 2019-12-26 21:42:23 -08:00
Revar Desmera
0acf0c829c Added closed= to trace_polyline() 2019-12-26 21:40:47 -08:00
Revar Desmera
a70734cd29 Docs grammar fixes for reindex_polygon() 2019-12-26 21:39:49 -08:00
Revar Desmera
91b0e58093 Fixed references to skew_*() 2019-12-19 23:26:54 -08:00
Revar Desmera
17867c9dc1 Coalesced skew_*() to just skew(). 2019-12-19 21:03:13 -08:00
Revar Desmera
60b92e1d56 Upped default s size to 10000 for *_half() modules. 2019-12-16 19:19:17 -08:00
Revar Desmera
503829f2c7 Tweaked docs_gen.py to look for git and openscad in PATH. 2019-12-07 17:20:15 -08:00
Revar Desmera
8712d246c9 Changed docs_gen.py to not need ImageMagick or cmp 2019-12-07 17:09:47 -08:00
Revar Desmera
b0b4e026a8 Fixed missing docs for method= arg of subdivide_path() 2019-12-06 19:16:31 -08:00
Revar Desmera
2b829f185a Merge branch 'master' of github.com:revarbat/BOSL2 2019-12-06 19:14:31 -08:00
Revar Desmera
969f17f4c6 Bugfix for polygon_shift_to_closest_point() 2019-12-06 19:14:03 -08:00
Revar Desmera
5d46101a57
Merge pull request #113 from adrianVmariano/master
Added lcm() and gcd() and is_integer() to math.scad.  Added a couple 3d examples for supershape() that I snagged from list-comprehension-demo.  Added repeat_entries to array.scad.  Note dependence on _sum_preserving_round which is in paths.scad.  Also note it's possible _force_list (added to math.scad) should be exposed, or placed elsewhere.
2019-12-06 19:05:54 -08:00
Adrian Mariano
29b682be96 Added lcm() and gcd() and is_integer() to math.scad. Added a couple
3d examples for supershape() that I snagged from
list-comprehension-demo.  Added repeat_entries to array.scad.  Note
dependence on _sum_preserving_round which is in paths.scad.  Also note
it's possible _force_list (added to math.scad) should be exposed, or
placed elsewhere.
2019-12-06 19:27:49 -05:00
Revar Desmera
24de174d6f Improved centroid() to work with 3D planar polygons. 2019-12-05 14:01:40 -08:00
Revar Desmera
f0915b8e0b Fixed VNF face reversal on odd number of negative axis scale factors in functional scale() 2019-12-04 02:48:02 -08:00
Revar Desmera
fa055e9469 Tweaked move(), rot(), scale(), etc to handle bezier patches and VNF structures. Added mirror() and skew_XX() functions. 2019-12-04 02:24:34 -08:00
Revar Desmera
80e9ecac05 Fixed some issues with stroke() docs. 2019-12-04 02:20:05 -08:00
Revar Desmera
23660ec688 Added missing affine mirror matrices. 2019-12-03 19:04:56 -08:00
Revar Desmera
4f0e6392e2 Split regions and boolean geometry out of geometry.scad into regions.scad. Added various ray intersection functions. Added plane intersection functions. 2019-12-02 15:35:03 -08:00
Revar Desmera
0ab64b746d Fixed cylinder() argument ordering to match built-in. 2019-11-23 18:23:04 -08:00
Revar Desmera
6901c02fa9 Fixed align_polygon() example. 2019-11-19 18:19:11 -08:00
Revar Desmera
7cef1f81af Tweak subdivide_path() example images. 2019-11-19 18:11:50 -08:00
Revar Desmera
8f63ce43ad Fixed some docs formatting errors. 2019-11-19 18:03:47 -08:00
Revar Desmera
c05b6bfa5c Fixed erroneous assertion in list_range() 2019-11-19 18:02:36 -08:00
Revar Desmera
c419ff93c8
Merge pull request #111 from adrianVmariano/master
Added subdivide_paths, reindex_polygon and align_polygon.
2019-11-19 17:20:29 -08:00
Adrian Mariano
4ea33f9bf3 Added subdivide_paths, reindex_polygon and align_polygon. 2019-11-19 17:42:11 -05:00
Revar Desmera
9f92fe8775 Enhanced lerp() to allow list/range u values to return lists of results. 2019-11-18 21:11:38 -08:00
Revar Desmera
bb92d788ef Added reverse_polygon() and improved ccw_polygon() and clockwise_polygon() 2019-11-17 18:19:55 -08:00
Revar Desmera
2b95e67cda Removed extra arg from call in hull.scad 2019-11-17 18:15:57 -08:00
Revar Desmera
23b76fd49a Bugfix for skin()'s uniform method. Bugfix for non-coplanar skin() profiles. 2019-11-14 15:45:37 -08:00
Revar Desmera
b871a54891 Corrected skin example method. 2019-11-13 22:16:50 -08:00
Revar Desmera
871540c57c Changed skin params. matching= -> method= and "evenly" -> "uniform" 2019-11-13 21:58:48 -08:00
Revar Desmera
df75614537
Merge pull request #110 from adrianVmariano/master
Corrected processing of $fn for round_corners, added two examples to skin (from list comp demos) and added another error check to zip.
2019-11-13 20:48:16 -08:00
Adrian Mariano
c0d18ab0b1 Corrected processing of $fn for round_corners, added two examples
to skin (from list comp demos) and added another error check to zip.
2019-11-13 18:17:30 -05:00
Revar Desmera
78197e1909 Added bad examples to skin() docs. 2019-11-12 22:51:13 -08:00
Revar Desmera
e644cc750b Updated regressions for edge_set() -> _edge_set() 2019-11-12 14:14:15 -08:00
Revar Desmera
111cf1dcc6 Make figure titles not be on same line as figure in docs. 2019-11-12 14:07:34 -08:00
Revar Desmera
a8db3919c1 Added more edge set figures. 2019-11-12 13:55:12 -08:00
Revar Desmera
6904aedba3 Re-ordered edges() figure 1. 2019-11-12 00:00:07 -08:00
Revar Desmera
9d78a67c64 Remove spin from edges() figure1. 2019-11-11 23:45:58 -08:00