Commit graph

805 commits

Author SHA1 Message Date
Adrian Mariano
243dd7723e added is_consistent, added error check to sum(), clarified docs to
is_path, and added fast versions of path2d, path3d and path4d.
2020-03-02 21:39:57 -05:00
Revar Desmera
af0e285781 Added is_list_of(). Improved is_path() and is_vector() tests. 2020-03-02 13:47:43 -08:00
Revar Desmera
7ea33cc724 Added asserts for regular_ngon(). 2020-03-02 12:57:24 -08:00
Revar Desmera
8a29e9e86b Fixed matrix form of rot(from,to,a) 2020-03-02 12:42:29 -08:00
Revar Desmera
c6ec9c8820 Moved path functions from geometry.scad to paths.scad 2020-03-01 16:12:51 -08:00
Revar Desmera
28114b49b5 Cleaned up code formatting in math.scad. 2020-03-01 15:42:12 -08:00
Revar Desmera
f250f30044
Merge pull request #128 from adrianVmariano/master
2 bug fixes
2020-03-01 14:27:31 -08:00
Revar Desmera
46b1625c1a
Merge branch 'master' into master 2020-03-01 14:20:32 -08:00
Adrian Mariano
d0e625809e fixed last example for better view 2020-02-29 23:29:00 -05:00
Adrian Mariano
4a3ecfe9ba Tweaked docs for reindex_polygon 2020-02-29 23:09:16 -05:00
Adrian Mariano
1e6cf426a9 changed order so linear_solve and submatrix are first. 2020-02-29 22:59:39 -05:00
Adrian Mariano
5bd2cba0ff Added colons to "Function" doc strings 2020-02-29 22:56:24 -05:00
Adrian Mariano
ca167f6bb1 moved affine_frame_map to affine.scad 2020-02-29 22:54:33 -05:00
Revar Desmera
fd3d812f7e More docs example image bugfixes. 2020-02-29 19:17:52 -08:00
Revar Desmera
46a322f935 Docs example image bugfixes. 2020-02-29 19:16:43 -08:00
Adrian Mariano
b029284228 2 bug fixes 2020-02-29 19:45:49 -05:00
Revar Desmera
373a119be8 Example bugfixes. 2020-02-29 15:30:55 -08: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
5d1865dc77 Merge branch 'master' of github.com:revarbat/BOSL2 2020-02-28 21:45:27 -08:00
Revar Desmera
c8e5103db8 Incorrect cols arg in vnf_vertex_array() docs. 2020-02-28 21:42:22 -08:00
Revar Desmera
da4f822eca Added split_nested_region() 2020-02-28 21:39:58 -08:00
Revar Desmera
7e0512e5f9 Bugfix for polygon_line_intersection() for failing to find intersection. 2020-02-28 21:37:16 -08:00
Revar Desmera
3c3318de63 Removed orient_and_anchor() use in distributors. 2020-02-28 21:36:10 -08:00
Revar Desmera
2f8787dac5 Added get_anchor() 2020-02-28 21:34:58 -08:00
Revar Desmera
f838e8a1e2 Bugfix for variable error in unique() 2020-02-28 21:32:57 -08:00
Revar Desmera
1cdfbd58f5
Merge pull request #124 from adrianVmariano/master
Adds sweep and new version of path_sweep to skin.scad, which probably needs a name change.  Adds apply(), apply_list() and affine_frame_map() to affine.scad.  Adds derivative calcluation to math.scad.  Adds path_tangent, path_normal, path_curvature and path_torsion functions.  Adds path_length_fraction(). Fixed bug in reindex_polygon where it randomly reverses a 3d path (due to clockwise check that is bogus in 3d) and put a check in polygon_is_clockwise to trap this case.
2020-02-28 21:26:21 -08:00
Adrian Mariano
629d1c00b2 Added linear_solve() 2020-02-28 17:40:52 -05:00
Adrian Mariano
f8fc8cb544 Adds sweep and new version of path_sweep to skin.scad, which probably
needs a name change.  Adds apply(), apply_list() and
affine_frame_map() to affine.scad.  Adds derivative calcluation to
math.scad.  Adds path_tangent, path_normal, path_curvature and
path_torsion functions.  Adds path_length_fraction().
Fixed bug in reindex_polygon where it randomly reverses a 3d path (due
to clockwise check that is bogus in 3d) and put a check in
polygon_is_clockwise to trap this case.
2020-02-27 17:32:03 -05:00
Revar Desmera
25fe326d2a Made quaternion docs somewhat clearer. 2020-02-15 17:13:33 -08:00
Revar Desmera
fa84fffa94 Tighten down requirements for image compare in docs generation. 2020-02-15 16:53:29 -08:00
Revar Desmera
51e7f514a4 Added Qrot_copies(), enabled range for Q_Slerp(). Improved example images. 2020-02-15 16:49:02 -08:00
Revar Desmera
393f9e2639 Q_Slerp() cleanup. 2020-02-14 23:06:01 -08:00
Revar Desmera
fe5d7baa0b Update README.md files. 2020-02-13 22:25:41 -08:00
Revar Desmera
0f7c7956d1 Tweaked skin() examples. 2020-02-13 21:58:46 -08:00
Revar Desmera
3500f01e8f Merge master. 2020-02-13 18:06:15 -08:00
Revar Desmera
c533dfe315 Adjusted skin() docs and example images. 2020-02-13 18:03:19 -08:00
Revar Desmera
ecb87cefcd
Merge pull request #120 from adrianVmariano/master
skin wrapper
2020-02-13 15:49:41 -08:00
Adrian Mariano
ed205d713f added mobius strip 2020-02-13 18:28:26 -05:00
Adrian Mariano
0c68d60e98 Tweaked names, moved plane_line_angle to geometry.scad 2020-02-13 18:06:35 -05:00
Adrian Mariano
bfcc45c998 Added plane_line_angle 2020-02-13 18:06:20 -05:00
Revar Desmera
a3d9c9bdba Added corner_mask() 2020-02-13 00:30:37 -08:00
Revar Desmera
d765450cc3 Added corners(), CORNER_OFFSETS 2020-02-12 17:11:40 -08:00
Adrian Mariano
9ce9d708a4 Fixed bug with slices = list, added code to avoid duplicate vertices
when only resampling methods are used.  Renamed some functions.
2020-02-12 20:08:21 -05:00
Revar Desmera
9736ec48f5 Added edge_profile(), edge_mask(), and various 2D mask shapes. 2020-02-11 20:11:59 -08:00
Revar Desmera
af82c1ffc7 Fixed rounding masks for r1=0. 2020-02-11 20:10:41 -08:00
Adrian Mariano
e096c193cd add unique_count 2020-02-11 20:23:31 -05:00
Adrian Mariano
7e2bc6d5cf Fixed handling of list valued slices. Added more examples. Removed
debug echoes.
2020-02-11 17:15:43 -05:00
Adrian Mariano
dba4e2e09b Reworked interface substantially and added a bunch of examples. 2020-02-10 21:02:24 -05:00
Revar Desmera
019961aef7 Added dflt= arg to sum(), defaulting to 0. 2020-02-08 21:54:39 -08:00
Revar Desmera
a78973187a Simplified is_nan() 2020-02-07 01:58:45 -08:00