Commit graph

36 commits

Author SHA1 Message Date
Adrian Mariano
5339062f76 Added checks for input collinearity and global top and bottom self-intersection. 2020-04-02 21:51:54 -04:00
Adrian Mariano
f5244f2b73 Add rounded_prism() 2020-03-28 23:41:37 -04:00
Revar Desmera
971c1e795f Renamed place_copies() to move_copies() 2020-03-24 18:31:22 -07:00
Revar Desmera
00f69ba95b Removed translate_points(), scale_points(), rotate_points2d() and rotate_points3d() 2020-03-22 05:11:19 -07:00
Revar Desmera
9b9e0bcec8 Fixed error in smooth_path() example formatting. 2020-03-07 16:36:26 -08:00
Adrian Mariano
f67b0dbfc5 Added support for rounding factor k to path_to_bezier and smooth_path. 2020-03-05 17:05:23 -05:00
Adrian Mariano
fcbeadc363 renamed replist to repeat
fixed normalization issue in path_to_bezier
2020-03-04 23:22:39 -05:00
Adrian Mariano
a8ed6214be Fixed bug in path_to_bezier and added example to smooth_path. 2020-03-04 22:26:23 -05:00
Adrian Mariano
51af394c24 Added force_list, path_to_bezier, smooth_path, associate_vertices,
improved skin and sweep error handling.  Allow path_sweep to take a 2d
path.
2020-03-04 20:24:00 -05:00
Revar Desmera
07bfcd6a57 Renamed normalize() to unit() 2020-03-02 19:30:20 -08:00
Revar Desmera
46a322f935 Docs example image bugfixes. 2020-02-29 19:16:43 -08:00
Revar Desmera
373a119be8 Example bugfixes. 2020-02-29 15:30:55 -08:00
Revar Desmera
f16de52e4a Fixed docs formatting in round_corners() 2020-02-01 22:01:33 -08:00
Adrian Mariano
f449093034 Added support for chamfered offsets to offset_sweep. 2020-01-25 00:40:03 -05:00
Adrian Mariano
002e54c49c Fixed error in rounding_offsets()
Added convex_offset_extrude that operates like offset_sweep but on
geometry.  This meant also moving rounding_offsets to be its own
function, renamed to _rounding_offsets.
2020-01-22 19:30:28 -05:00
Adrian Mariano
72d7bedd9a Added "chamfer" to round_corners and fixed a bug with non-closed paths
requiring an extra size entry.

Added dovetail module to joiners.
2020-01-09 18:52:08 -05: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
9cdb8afd1e Fixed docs formatting error in rounding.scad 2019-09-04 18:23:33 -07:00
Adrian Mariano
8bce357f2d doc tweaks 2019-09-02 18:18:49 -04:00
Adrian Mariano
fc99ce985d Changed rounded_sweep() to offset_sweep()
Fixed collinear bug in arc()
Added arcleftto and arcrrightto and arcsteps to turtle()
2019-09-02 18:15:24 -04:00
Adrian Mariano
d2ccdc331f Added get_height() and no_children() to common.scad.
Changed the epsilon in one of offset's subfunctions from 1e-4 to
1e-6.
Modified rounded_sweep() to take h, l, or height, and to have default
behavior if height is omitted.  It also quantizes the path to 1/1024.
Added no_children check to module offset_stroke().
2019-08-28 21:15:41 -04:00
Revar Desmera
700acae000 Added polygon_shift_to_closest_point(), clockwise_polygon(), ccw_polygon() 2019-08-20 20:47:29 -07:00
Revar Desmera
c7a0b78fe0 Fixed syntax error in rounding.scad 2019-08-16 02:18:25 -07:00
Revar Desmera
5c7fc2eaf6 Removed redundant bezier_curve() function. Standardized formatting. 2019-08-09 23:57:19 -07:00
Revar Desmera
6c98bf1afc Fixed docs for offset_stroke() 2019-08-01 18:42:23 -07:00
Adrian Mariano
7855cf98c0 Tweaked pentagram example for turtle()
path_cut had a bug when invoked with a single distance
_bezcorner would fail if $fn wasn't set and $fs was too large
added offset_stroke()
2019-08-01 16:36:53 -04:00
Revar Desmera
09173f6a6f Fixed rounding docs formatting. 2019-07-23 22:49:23 -07:00
Adrian Mariano
e4431d4940 Fixed bug with check_and_fix_path() naming. Also added examples to rounded_sweep. 2019-07-22 22:40:49 -04:00
Adrian Mariano
3719378f49 Changed make_path_valid to check_and_fix_path 2019-07-18 21:27:57 -04:00
Adrian Mariano
20eae2b5d2 Changed offset() to check polygon orientation when closed==true.
Changed rounded_sweep() to work with updated offset().
Added make_path_valid() and use it in rounded_sweep for better error
handling and to support single component regions.
Added divided box example to rounded_sweep.
Updated examples to work with updated offset().
2019-07-18 19:21:08 -04:00
Revar Desmera
72ecdbac5a Fixed references to roundings.scad 2019-07-13 15:57:24 -07:00
Revar Desmera
ba3b26c7fa Added strings.h include in rounding.scad 2019-07-13 14:42:04 -07:00
Adrian Mariano
87d0e09abe Fixed various bugs (lots of degenerate faces when r=0, some parameter checking mistakes) and tweaked docs. 2019-07-13 01:27:32 -04:00
Revar Desmera
b040854e3f Fixed rounding.scad example image generation bug. 2019-07-12 19:21:39 -07:00
Revar Desmera
b662a6b295 Fixed rounded_sweep() docs formatting. 2019-07-12 18:44:11 -07:00
Adrian Mariano
ca98f497d1 Added rounded_sweep module. 2019-07-12 20:17:36 -04:00