Commit graph

130 commits

Author SHA1 Message Date
Adrian Mariano
4f8ebb2e80 more error messages for star()
improve speed and flexibility of apply()
fix triangulation bug
add support for single point 2d solutions in polygon_line_intersection
2021-09-14 20:10:55 -04:00
Adrian Mariano
5a4d9554df err message tweak in star()
rearranged polygon_line_intersection to handle 2d and fixed
but where it didn't test polygon membership correctly.  Also
there was a bug with use of the bounded argument.
Added Ronaldo's triangulation.
2021-09-13 22:09:51 -04:00
Adrian Mariano
9d2bb59325 remove modulate_circle, move jitter_poly to shapes2d,
reorder stuff in skin.scad and add top text
2021-09-07 18:47:08 -04:00
Adrian Mariano
bad60db600 Doc error in common.scad for no_module
Added no_module and no_function to turtle and stroke respectively
2021-09-06 19:46:18 -04:00
Adrian Mariano
c8a1e14f05 Expand top text, and reorder some modules for docs 2021-09-06 19:07:18 -04:00
Adrian Mariano
15297a8b19 Change offset() to respect $fn/$fs.
Remove maxstep parameter from offset.
Modify offset_sweep and offset_stroke to no longer use offset_maxstep
or maxstep.
Added a bit of error checking to those two functions so if you pass in
the wrong end treatment it gives a less cryptic type of error
Fixed arc() so it returns 2 points when you request 2 points (instead
of 3)
Fixed teardrop to properly ceil() its segs value.
2021-08-31 18:13:15 -04:00
Adrian Mariano
ca30f338eb arc should return two points (not 3) if N=2 2021-08-30 17:23:12 -04:00
Garth Minette
5a355434ce Tweaks for docs usage lines. 2021-06-26 20:59:33 -07:00
Garth Minette
48c5139099 Fix tab indents. 2021-06-22 17:20:08 -07:00
Garth Minette
a748c77077 vmul() to v_mul(), etc. 2021-06-14 20:28:49 -07:00
Garth Minette
3eb506e78a Rename quaternion functions to not have uppercase names. 2021-06-12 17:17:05 -07:00
Garth Minette
33fda63cac Fixed mask2d_* shapes regressions. 2021-05-17 23:09:18 -07:00
Adrian Mariano
493ef62826 normalized project_plane and lift_plane to match other transform
functions.
2021-04-21 22:49:06 -04:00
Adrian Mariano
dd13967049 Cleanup of path_resample, add tests for round_corners, fix
bezier_curve and arc to always return n points for either endpoint
setting.
2021-04-02 16:59:29 -04:00
Garth Minette
0b17bf5930 Brought slice() in line with select() indexing, without wrapping. Replaced a lot of select() and slice() calls with last(), list_head(), and list_tail() calls. 2021-03-30 00:46:59 -07:00
Garth Minette
d7cb503ffc Replace most trivial uses of slice() with faster list_head() and list_tail() 2021-03-25 00:23:36 -07:00
Garth Minette
17efb079d9 Fixes for various example bugs. 2021-03-16 14:46:11 -07:00
Adrian Mariano
f90e89c761 rewrote check_and_fix_path. Old version was broken/undef errors
added regions_equal (but probably not best version)
removed debug echo from roundinglscad
assert on invalid arc() radius inpu
new "fast_distance" method for skin()
tweaked skin() docs
support regions for path_sweep
2021-03-12 18:40:24 -05:00
Garth Minette
4c3dcf5af1 path_cut_seg() to path_cut() fixes. 2021-03-08 23:31:39 -08:00
Garth Minette
3682f7b27c Added dashed_stroke(). path_cut() -> path_cut_points(). 2021-03-06 02:26:39 -08:00
Revar Desmera
c9e81cfadc
Merge pull request #443 from revarbat/revarbat_dev
Docs tweaks.
2021-02-26 13:12:25 -08:00
Garth Minette
1ff9bebcf2 Tweak stroke endcaps figure. 2021-02-25 03:24:51 -08:00
Revar Desmera
26e43da692
Merge pull request #442 from revarbat/revarbat_dev
Reworked docs for shapes2d.scad and primitives.scad.
2021-02-25 02:19:09 -08:00
Garth Minette
1a7f7ef953 Reworked docs for primitives.scad and shapes2d.scad 2021-02-25 02:16:55 -08:00
Adrian Mariano
1627c3409d Fix path_normals to handle 2d and better error message.
Improve error message for bogus endcaps to stroke() and
running unit() on a zero vector
2021-02-24 16:56:21 -05:00
Garth Minette
6cfbc538fc Re-work to use openscad_docsgen package. 2021-02-19 19:56:43 -08:00
Garth Minette
320518194f Various arrays.scad docs updates. Bugfixes. 2021-01-24 23:26:39 -08:00
Garth Minette
a1755d0a37 Docs usage correction for reuleaux_polygon() 2021-01-12 00:09:39 -08:00
Garth Minette
34ce1c203f Fixed named anchors for reuleaux_polygon() 2021-01-12 00:01:03 -08:00
Garth Minette
c790969ceb Added reuleaux_polygon() 2021-01-11 01:57:51 -08:00
Adrian Mariano
9f8e9b8ba2 handle $fn case for arc 2021-01-05 23:48:19 -05:00
Adrian Mariano
b1a8056c51 Check N=integer 2021-01-05 23:39:07 -05:00
Garth Minette
f9aa81e178 Improved docs gen script for Returns:, Custom:, Includes:, Topics:, and positional/named args spits. 2021-01-05 01:20:01 -08:00
Garth Minette
d1fe384f95 Bugfix for malformed teardrop2d() 2020-12-31 16:33:09 -08:00
Garth Minette
0299270f6a Added rounding and chamfering to trapezoid() 2020-12-30 00:34:25 -08:00
Garth Minette
b054edb5fb Fix for anchors in trapezoid() when using shift=. 2020-12-27 21:55:36 -08:00
Adrian Mariano
b82f1b8e5d tweaked vac example in turtle3d
added delete_last() to arrays.scad
added endpoint= option to arc
added tests for last two things
2020-12-12 21:15:33 -05:00
Garth Minette
0399cd085c Guard various linear_extrude()s for height=0 2020-11-29 20:23:03 -08:00
Garth Minette
e4f2497863 Changes all references to polyline to path. 2020-11-16 17:50:08 -08:00
Garth Minette
2bf6c34564 Fixed spheroid() orig and aligned styles. 2020-10-15 19:14:14 -07:00
Garth Minette
8451f23b7c Fix trapezoid example. 2020-10-07 23:03:09 -07:00
Garth Minette
29ed649740 Added angle= and shift= to trapezoid() 2020-10-07 22:50:05 -07:00
Revar Desmera
33d713522b
Merge pull request #292 from revarbat/revarbat_dev
Bugfixes for looping helpers.
2020-10-07 16:57:12 -07:00
Garth Minette
a36eec5297 Added align_tip/align_side to regular_ngon()/star(). 2020-10-07 16:53:52 -07:00
Revar Desmera
066f4ab00f
Merge pull request #289 from adrianVmariano/master
minor doc fixes and bugfix for closed path tangents with path_sweep
2020-10-05 17:22:36 -07:00
Adrian Mariano
c71112347e minor doc fixes and bugfix for closed path tangents with path_sweep 2020-10-05 17:40:32 -04:00
Garth Minette
16ee49e8b2 Fixed a bunch of undef math warnings with dev snapshot OpenSCAD builds. 2020-10-03 19:50:29 -07:00
Garth Minette
e56f953c1c Fixed calls to vmul() with heteerogenous vector sizes. 2020-08-02 23:23:50 -07:00
Garth Minette
b5d465cf1e docs_gen.py now shows more docs errors. 2020-07-27 15:15:34 -07:00
Garth Minette
dde616dad5 unit() now asserts error for zero-length vector unless dflt= arg is given. 2020-07-10 00:03:55 -07:00