Commit graph

2549 commits

Author SHA1 Message Date
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
Adrian Mariano
a7ca1b1b64 more beziers fixes 2021-10-17 21:21:53 -04:00
Adrian Mariano
80c6e0666d fix beziers to handle removal of vnf= option in vnf_vertex_array 2021-10-17 20:48:58 -04:00
Adrian Mariano
ef5e924e54 fix examples 2021-10-17 19:13:58 -04:00
Adrian Mariano
acb4ec95d4 fix tests 2021-10-17 17:50:35 -04:00
Adrian Mariano
48314f5cdb vnf doc tweaks and cleanup
remove vnf args for chaining
vnf_merge pass through if you give just one vnf
vnf_vertex_array no longer calls merge
vnf_tri_array removes degenerate faces and no longer calls merge (with cleanup)
2021-10-17 17:40:47 -04:00
Adrian Mariano
f7b08f1b9d reorder functions in array.scad
list_{de,in}creasing -> is_{de,in}creasing, add strict option to both
2021-10-16 23:01:52 -04:00
Adrian Mariano
d6576da79e reorder functions for docs 2021-10-15 23:13:30 -04:00
Adrian Mariano
2d205a2568 subarray -> columns 2021-10-15 22:39:10 -04:00
Adrian Mariano
a65315b876 fix examples 2021-10-15 16:22:36 -04:00
Adrian Mariano
544bb5883e fix align_polygon & examples 2021-10-15 16:01:01 -04:00
Adrian Mariano
315a1021df updated vnf_drop_unused_points 2021-10-15 06:07:17 -04:00
Adrian Mariano
a12a258635 rename to vnf_drop_extra_points 2021-10-14 22:54:07 -04:00
Adrian Mariano
cd85b3b1f4 change region_faces to vnf_from_region and move to vnf.scad
remove secret merge option from vnf_triangulate
add examples
add vnf_clean_unrefs
2021-10-14 22:36:21 -04:00
Adrian Mariano
acb65b3298 allow count to take a list as input
vnf_wireframe does not draw unreferenced vertices
some error checking
2021-10-14 18:29:52 -04:00
Revar Desmera
320867ac7a
Merge pull request #692 from revarbat/revarbat_dev
Fixed See Also links in geometry.scad
2021-10-12 20:27:26 -07:00
Garth Minette
e89d303c52 Fixed See Also links in geometry.scad 2021-10-12 19:54:13 -07:00
Revar Desmera
59af31a531
Merge pull request #690 from adrianVmariano/master
doc tweaks
2021-10-12 19:47:05 -07:00
Revar Desmera
f0b4b831a3
Merge pull request #691 from RonaldoCMP/master
Extend triangulate functionality and correct is_polygon_convex
2021-10-12 19:42:29 -07:00
Adrian Mariano
e7cb552150 fix stroke to handle 180 deg turns 2021-10-12 22:27:29 -04:00
RonaldoCMP
1b84a3129d Extend triangulate functionality and correct is_polygon_convex 2021-10-12 21:22:02 -03:00
Adrian Mariano
c4438e2d3e add error checking and force_region on all functions 2021-10-11 23:25:37 -04:00
Adrian Mariano
b0bcdade7e doc tweaks 2021-10-11 22:57:19 -04:00
Revar Desmera
8de2283f91
Merge pull request #687 from adrianVmariano/master
region code cleanup
2021-10-11 18:36:30 -07:00
Revar Desmera
f8b5a4d296
Merge pull request #688 from RonaldoCMP/master
Update vector search functions
2021-10-11 18:35:31 -07:00
RonaldoCMP
922e2da952 search_vectors update 2021-10-11 21:47:34 -03:00
Adrian Mariano
fd36b0020e add nonzero to grid2d
clean up dead code and add docs to geometry.scad
add faster (?) code for point_on_line
2021-10-11 20:25:11 -04:00
Revar Desmera
3f62706b03
Merge pull request #686 from revarbat/revarbat_dev
Refactored all transforms to use apply() for p= processing.
2021-10-10 20:08:57 -07:00
Garth Minette
d6e24a8815 Split apply() to be more efficient. 2021-10-10 19:46:00 -07:00
Garth Minette
45daab05df Refactored all transforms to use apply() for p= processing. 2021-10-10 18:40:22 -07:00
Revar Desmera
21991c8508
Merge pull request #683 from adrianVmariano/master
region fixes and optimizations
2021-10-10 13:49:47 -07:00
Adrian Mariano
006527e08e fix region offset bug
add box bound to point_in_polygon
region_region cutting for faster boolean ops
2021-10-10 15:03:30 -04:00
Revar Desmera
68217cd1cf
Merge pull request #682 from adrianVmariano/master
boolean op fixes
2021-10-09 21:21:17 -07:00
Adrian Mariano
d3510c02c9 small cleanup/optimization 2021-10-09 23:51:56 -04:00
Adrian Mariano
9a66bc6132 tag optimization 2021-10-09 23:15:43 -04:00
Adrian Mariano
42611d207a bug fix 2021-10-09 22:26:56 -04:00
Adrian Mariano
ec02676267 boolean operations fixes 2021-10-09 21:44:26 -04:00
Revar Desmera
977ec51bea
Merge pull request #681 from adrianVmariano/master
doc fixes
2021-10-07 20:57:34 -07:00
Adrian Mariano
9670fc0e68 fix segment endpoint handling for intersections 2021-10-07 23:20:46 -04:00
Adrian Mariano
7580b85877 bug fix 2021-10-07 22:26:23 -04:00
Adrian Mariano
a6eeb5025c don't deduplicate in is_polygon_clockwise 2021-10-07 21:32:58 -04:00
Adrian Mariano
9bb22dc7c5 doc tweaks 2021-10-07 21:31:58 -04:00
Revar Desmera
bc99dcd5bb
Merge pull request #680 from revarbat/revarbat_dev
Tweaks to Attachments tutorial.
2021-10-06 22:11:04 -07:00
Garth Minette
1bed92476d Tweaks to Attachments tutorial. 2021-10-06 21:40:47 -07:00
Revar Desmera
731e218322
Merge pull request #679 from adrianVmariano/master
mostly doc fixes
2021-10-06 21:38:40 -07:00
Adrian Mariano
dbec028bd1 bug fix 2021-10-06 22:31:13 -04:00
Adrian Mariano
33484f2c4b misc bugfixes 2021-10-06 21:53:46 -04:00
Adrian Mariano
bb77faa0c9 assorted doc fixes
eliminate trace_path
_path_self_intersections fix
2021-10-06 21:16:39 -04:00
Adrian Mariano
1147e181c5 doc tweaks 2021-10-06 06:31:35 -04:00
Revar Desmera
ccb154f4c2
Merge pull request #678 from adrianVmariano/master
doc fixes, vnf_halfspace bugfix
2021-10-05 20:21:07 -07:00