Commit graph

791 commits

Author SHA1 Message Date
Adrian Mariano
ca167f6bb1 moved affine_frame_map to affine.scad 2020-02-29 22:54:33 -05: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
Revar Desmera
ba032e2f4d Added NAN, INF, and is_nan(). 2020-02-06 22:51:16 -08:00
Adrian Mariano
800ee715db Hopefully fixed bug with wrap-around for the symmetric distance method
where you get the wrong result when points from both ends of a curve
map to the same vertex.  (Regular distance method I think is still broken.)
2020-02-06 18:51:28 -05:00
Adrian Mariano
8171fbc8f6 Added "sym_distance" method. Through clever pruning strategy, may
actually be faster than old method.
2020-02-05 22:24:30 -05:00
Adrian Mariano
00ba569a86 Added some error handling on profiles to superskin().
Renamed skin to _skin_core and simplified it to remove methods.
Renamed superskin to skin.
Correctly pass closed and caps.
2020-02-03 21:36:06 -05:00
Adrian Mariano
927e50c5ca Fixed alignment problem in tangent_align.() 2020-02-03 17:46:42 -05:00
Adrian Mariano
0aabf2cf47 Developmental superskin() wrapper and various supporting stuff.
Code in a rough state at this point.
2020-02-02 22:43:49 -05:00
Revar Desmera
28f07a997f Tweaked uniform skin method. 2020-02-02 19:33:09 -08:00
Revar Desmera
f16de52e4a Fixed docs formatting in round_corners() 2020-02-01 22:01:33 -08:00
Revar Desmera
f5803a696a Fixed spelling of Asymmetric 2020-01-31 23:32:34 -08:00
Revar Desmera
06ca151bc8 Fixed bezier patch example. 2020-01-31 23:09:04 -08:00
Revar Desmera
855aa0cf36 Re-organized region.scad docs. 2020-01-31 21:35:04 -08:00
Revar Desmera
ef0c92cfa5 Docs formatting fix in place_copies() 2020-01-31 18:58:17 -08:00
Revar Desmera
f49dfa8a9e Split distributors and mutators out of transforms.scad 2020-01-31 17:03:41 -08:00
Revar Desmera
7a92ffdbaf Reorganized functions in paths.scad 2020-01-31 16:37:27 -08:00