Commit graph

147 commits

Author SHA1 Message Date
Adrian Mariano
a81b6c6931 misc tweaks 2021-11-09 22:27:55 -05:00
Adrian Mariano
5153cb20da doc tweak 2021-10-30 18:07:43 -04:00
Adrian Mariano
a75a368dd5 Move linear algebra to linalg.scad
columns->column because the multiindex case is handled by submatrix
and also it never occurs in the code.
2021-10-26 16:45:14 -04:00
Garth Minette
622a13952b Anchor calculation fixes. Added wedge() and make right_triangle() be 2D. 2021-10-26 00:42:27 -07:00
Adrian Mariano
2d205a2568 subarray -> columns 2021-10-15 22:39:10 -04:00
Adrian Mariano
044b635bed make reference to builtins.scad properly relative 2021-10-02 09:35:06 -04:00
Revar Desmera
b0b665c2b8
Merge pull request #665 from adrianVmariano/master
remove debug.scad, hide affine.scad
2021-10-01 18:07:58 -07:00
Adrian Mariano
261099e102 fix bug in spherical_random_points (non-uniform)
add region support to dashed_stroke
move a bunch of functions around for reorganization
2021-09-30 23:11:01 -04:00
Garth Minette
4b92d1eb18 2D fix for circle attachability. 2021-09-30 02:04:31 -07:00
Garth Minette
70be304f01 Make use of builtin cube(), cylinder(), sphere(), square(), circle(). 2021-09-30 01:22:43 -07:00
Garth Minette
47b803276b Fixed See Also refs for removed jitter function. 2021-09-22 22:41:00 -07:00
Adrian Mariano
2f895cb8d1 hiding some infrastructure, added is_path_simple() 2021-09-22 14:59:18 -04:00
Adrian Mariano
935a113fcf Examples fix
merge primitives stuff into shapes*.scad
move text commands to shapes3d.scad
rename common.scad
2021-09-16 21:50:12 -04:00
Adrian Mariano
fd0bcc0903 rename anchorpt to named_anchor 2021-09-16 18:32:12 -04:00
Adrian Mariano
856f54df32 removed old triangulation.scad
other file name changes
2021-09-15 23:12:51 -04:00
Adrian Mariano
d78eb5213e Add "is" to geometry.scad predicates 2021-09-15 19:01:34 -04:00
Adrian Mariano
33ca0d4a69 Resectioned distributors and vnf.
Error msg fix in shapes2d
section tweak in transforms
fixed polygon_line_intersection
2021-09-15 16:30:04 -04:00
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