Commit graph

778 commits

Author SHA1 Message Date
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
Revar Desmera
90daf37a53 Added polygon_is_convex() 2020-01-30 21:18:39 -08:00
Revar Desmera
c1bc74b643 Removed forced endcap triangulation from skin(). 2020-01-30 16:52:47 -08:00
Revar Desmera
62b0f95b44 Removed unused code from skin() 2020-01-30 16:35:30 -08:00
Revar Desmera
39f27fb1d9 Weaned skin() off of slow vnf_faces() 2020-01-30 15:36:39 -08:00
Revar Desmera
8da60800c9 Consolidated path code into paths.scad 2020-01-30 14:00:10 -08:00
Revar Desmera
674f276362 Added method="convex" to skin() 2020-01-29 19:40:02 -08:00
Revar Desmera
00bbdedd47 Tweak to rounded_prismoid() to use new square() with rounding. 2020-01-29 18:04:29 -08:00
Revar Desmera
555f1a9ab3 Bugfix for stroke() with scalar width. 2020-01-29 01:31:05 -08:00
Revar Desmera
e8aa0a068a square() can now mix and match chamfers and roundings per corner. 2020-01-29 01:09:39 -08:00
Revar Desmera
b074259054 Added variable line widths along path to stroke() 2020-01-28 19:15:23 -08:00
Revar Desmera
cee46b1721 Added path_pos_from_start(), path_pos_from_end(), path_trim_start(), path_trim_end() 2020-01-28 19:13:56 -08:00
Revar Desmera
f740051ad1 Rewrote phillips_driver() to an actual spec. 2020-01-27 04:09:06 -08:00
Revar Desmera
bba54d2315 Added bosl1compat.scad to make porting from BOSL1 to BOSL2 easier. 2020-01-24 22:27:17 -08:00