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
Garth Minette
7045f436a1
Fixed inverted endcap1 in stroke()
2020-07-01 00:59:32 -07:00
Revar Desmera
ef13137657
Fix for issue #180 . 3D stroke works again.
2020-06-14 18:32:59 -07:00
Revar Desmera
620a536dbc
Fix stroke() for 1 point paths.
2020-06-10 00:03:48 -07:00
Revar Desmera
53c1e25395
Standardize indention on spaces, not tabs.
2020-05-29 19:04:34 -07:00
Adrian Mariano
7c97593a54
Modified arc so cw and ccw can be used with 180 deg arcs. Beefed up
...
parameter error checking. Deleted echos from star() and arc().
2020-05-29 20:09:17 -04:00
Adrian Mariano
9fe8788357
Added long, cw, and ccw arguments to arc for selecting which arc is
...
drawn when you give 2 points and a centerpoint.
2020-05-25 23:43:52 -04:00
Revar Desmera
ac773cea20
Added "tipN" named anchors to Ngons. Added "tipN", "midptN", and "cornerN" named anchors to star().
2020-05-07 17:11:35 -07:00
Revar Desmera
b03e97cb9b
Added an example for maxking by attachment to ogee mask.
2020-05-06 17:32:03 -07:00
Revar Desmera
ef7acd1c10
Added "sideN" named anchors for Ngons.
2020-05-06 17:17:45 -07:00
Revar Desmera
c03570ce3b
Enhanced oval() to allow actual oval shapes.
2020-05-06 01:36:06 -07:00
Revar Desmera
be3dd53132
Bugfix for oval() not properly using circum args.
2020-05-05 15:27:25 -07:00
Revar Desmera
ff96db86d2
Removed overrides for square() and circle() builtin modules.
2020-04-25 04:00:16 -07:00