Commit graph

88 commits

Author SHA1 Message Date
Adrian Mariano
2cc5c39d64 fix doc bug in bottlecaps.
knurling mask didn't pass parameters (so they were ignored)
2022-04-08 20:17:41 -04:00
Adrian Mariano
82aa485045 usage message fixes and doc tweaks
remove triangle area, optimize polygon_area for triangles
2022-04-08 19:37:46 -04:00
Garth Minette
05aee1bf7b Regressions fixes. 2022-04-06 20:13:39 -07:00
Garth Minette
d9691b3b4a Fixed interior_fillet(). Refactored circle_* functions. 2022-04-06 19:37:00 -07:00
Adrian Mariano
edde34ff76 move hull.scad into geometry.scad 2021-12-16 22:13:18 -05:00
Adrian Mariano
e58328b00b comment out test that will fail due to output 2021-11-19 22:22:10 -05:00
Adrian Mariano
e653be471f Move edges.scad content to attachments.scad
Add subsections to attachments.scad
2021-11-19 22:20:01 -05:00
Adrian Mariano
f605bafb0d fix tests 2021-11-12 06:18:14 -05:00
Adrian Mariano
477dd55781 remove polygon_shift, hide noncollinear_triple
modify glued circle to not produce duplicate points
2021-11-11 18:50:26 -05:00
Revar Desmera
649953c3fb
Merge pull request #715 from adrianVmariano/master
Add 1-region, make all* functions non-recursive
2021-11-01 15:37:51 -07:00
RonaldoCMP
c5da41ed8c Correct bugs in polygon_triangulation and _cleave_connected_region( 2021-11-01 04:42:02 +00:00
Adrian Mariano
3a367c3faf add path.scad tests, shift tests to correct files
path_extrude2d bugfix
2021-10-31 15:35:45 -04:00
Adrian Mariano
c98dc64d20 Merge remote-tracking branch 'upstream/master' 2021-10-20 23:39:52 -04:00
Adrian Mariano
76272d9d9a add region centroid capability and consolidate into one centroid
function for polygons, regions and VNFs.
Fix bug with anchors for linear_sweep (due to centerpoint issues)
Fix intersection anchors for vnfs when anchor vector intersects
in a path instead of a single point.
2021-10-20 22:44:55 -04:00
RonaldoCMP
06419a6786 Update test_geometry.scad 2021-10-13 21:52:56 -03:00
RonaldoCMP
30fc691b40 Update test_geometry.scad 2021-10-13 21:40:51 -03:00
Adrian Mariano
9670fc0e68 fix segment endpoint handling for intersections 2021-10-07 23:20:46 -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
32d9a96bc4 test reorganization 2021-09-16 17:07:12 -04:00
Adrian Mariano
d78eb5213e Add "is" to geometry.scad predicates 2021-09-15 19:01:34 -04:00
Adrian Mariano
eec1d6b08c bug fix, added tests 2021-09-15 16:36:03 -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
47f0c88c4a added example and explantion to point_in_polygon 2021-09-11 23:11:18 -04:00
Adrian Mariano
4a463fd8b9 fix tests 2021-09-11 19:35:05 -04:00
Adrian Mariano
2494de9368 reordering and moving for improved docs
removed xxrot and xxflip
2021-09-11 18:48:23 -04:00
Adrian Mariano
60dbf8c73e Fix bug where polygon_normal and plane_from_polygon sometimes give a
wrong-pointing normal.
Rename project_onto_plane to plane_closest_point for consistency with
line_closest_point.  (Also this distinguishes it better from
project_plane.
Other misc doc tweaks
2021-09-11 16:42:40 -04:00
Garth Minette
444fc57267 Moved trig functions to trigonometry.scad 2021-09-11 02:29:07 -07:00
Adrian Mariano
2a2458577b fix tests, rename in_front_of_plane to above_plane 2021-09-10 18:16:42 -04:00
Adrian Mariano
566d9b4ece Remove triangle_area (because polygon_area) 2021-09-10 18:02:56 -04:00
Adrian Mariano
1920014f86 test fixes 2021-09-09 18:54:54 -04:00
RonaldoCMP
da0181fbb0 test convex collision and distance 2021-06-21 20:43:12 +01:00
RonaldoCMP
9c2e4c23ac introduce convex collision and distance 2021-06-21 20:19:07 +01:00
RonaldoCMP
ea26679b92 Revert "Introduces convex collision and distance"
This reverts commit eccb006f85.
2021-06-21 19:51:26 +01:00
RonaldoCMP
eccb006f85 Introduces convex collision and distance 2021-06-21 19:08:13 +01:00
RonaldoCMP
3a857d89ec Revert "convex collision and distance"
This reverts commit 319ef14e6c.
2021-06-21 18:43:51 +01:00
RonaldoCMP
319ef14e6c convex collision and distance 2021-06-21 18:25:35 +01:00
Adrian Mariano
d91a48ef28 fix tests 2021-04-22 06:28:23 -04:00
RonaldoCMP
41616872fe Correction in is_convex_polygon 2021-04-11 23:45:21 +01:00
RonaldoCMP
2dcbfeee11 Review of geometry.scad for speed 2021-04-10 21:07:23 +01:00
RonaldoCMP
cdb68ad977 Revert "Review of geometry.scad for speed"
This reverts commit 49a3a166eb.
2021-04-10 20:14:40 +01:00
RonaldoCMP
49a3a166eb Review of geometry.scad for speed 2021-04-10 20:09:03 +01:00
Revar Desmera
c129fa659b
Merge pull request #494 from revarbat/revarbat_dev
Removed range(), rangex().  Added count().
2021-04-08 19:22:09 -07:00
Garth Minette
2225257f09 Tweaks suggested by @adrianVmariano. 2021-04-08 17:27:43 -07:00
Garth Minette
8bd3ef8a74 Removed range(), rangex(). Added count(). 2021-04-07 20:57:45 -07:00
RonaldoCMP
99e40a5679 Test convexity of 3d polygons 2021-04-07 07:13:03 +01:00
Garth Minette
a8a34e77e0 Fixed docs errors and regressions issue. 2021-04-06 19:25:40 -07:00
Garth Minette
bda2661855 Merge branch 'master' into pr/483 2021-04-06 18:22:39 -07:00
RonaldoCMP
8c0e389ec4 Revert "correction of centroid"
This reverts commit d4c7fab7ed.
2021-04-05 16:00:07 +01:00
RonaldoCMP
407c36a8ae Revert "correction of centroid"
This reverts commit 575db80056.
2021-04-05 15:59:43 +01: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