Commit graph

2593 commits

Author SHA1 Message Date
Adrian Mariano
71dab62432 move comparison functions out of math.scad and arrays.scad into comparisons.scad
rename arrays.scad to lists.scad
2021-10-26 23:12:51 -04:00
Adrian Mariano
8cfb77cf64 Remove general_line_intersection kludge 2021-10-26 20:34:33 -04:00
Adrian Mariano
b60123a886 columns fixes 2021-10-26 18:30:57 -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
Revar Desmera
b66b964188
Merge pull request #708 from revarbat/revarbat_dev
Anchor calculation fixes.  Added wedge() and make right_triangle() 2D.
2021-10-26 01:26:33 -07:00
Garth Minette
622a13952b Anchor calculation fixes. Added wedge() and make right_triangle() be 2D. 2021-10-26 00:42:27 -07:00
Revar Desmera
9f5214adc0
Merge pull request #707 from revarbat/revarbat_dev
Added octahedron(), fixed bug in VNF extent anchoring.
2021-10-24 15:48:00 -07:00
Revar Desmera
21f28a847b
Merge pull request #706 from adrianVmariano/master
catch p=undef in transforms
2021-10-24 15:28:21 -07:00
Garth Minette
cbab1b9a61 Added octahedron(), fixed bug in VNF extent anchoring. 2021-10-24 15:26:27 -07:00
Adrian Mariano
c61a2d6fcb change err msg 2021-10-24 10:59:05 -04:00
Adrian Mariano
a6de7ee975 detect p=undef in transformations 2021-10-24 10:57:17 -04:00
Revar Desmera
3cf00d8fd7
Merge pull request #705 from revarbat/revarbat_dev
More masks.scad tweaks
2021-10-24 02:51:06 -07:00
Garth Minette
3dee35127f cubetruss mask fixes. 2021-10-24 02:29:45 -07:00
Garth Minette
a2b35e4993 More masks.scad tweaks 2021-10-24 02:02:32 -07:00
Revar Desmera
432238f293
Merge pull request #704 from revarbat/revarbat_dev
masks.scad reworkings.
2021-10-23 21:52:07 -07:00
Garth Minette
1b000705e3 masks.scad reworkings. 2021-10-23 20:28:40 -07:00
Revar Desmera
873c736202
Merge pull request #701 from adrianVmariano/master
centroid, anchor fix
2021-10-21 16:12:10 -07:00
Adrian Mariano
267b5cd771 remove extra is_vnf definition 2021-10-21 18:43:36 -04:00
Adrian Mariano
89b176d329 doc fix 2021-10-21 18:39:45 -04:00
Adrian Mariano
5ad1fb3620 remove debug echo 2021-10-21 18:15:09 -04:00
Adrian Mariano
814975afaf use median in bt_tree 2021-10-21 16:12:11 -04:00
Adrian Mariano
247939fec6 change to remove ninther 2021-10-21 16:10:36 -04:00
Adrian Mariano
9e4d46eecf Add median function 2021-10-21 15:33:25 -04:00
Adrian Mariano
d5ce3615cf Make linear_sweep center in z direction with center option by adding
"zcenter" named anchor.
2021-10-21 11:31:32 -04:00
Adrian Mariano
6de156528b doc fixes 2021-10-21 00:01:28 -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
Revar Desmera
6f1ac73d59
Merge pull request #699 from adrianVmariano/master
vnf tweaks
2021-10-17 22:08:59 -07: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
Revar Desmera
584bea9e9b
Merge pull request #698 from revarbat/revarbat_dev
Added find_all(), re-did find_first() interface.  Made f_gt(), f_lt()…
2021-10-17 00:59:30 -07:00
Garth Minette
a215b2b590 Fix tests for fnliteral changes. 2021-10-17 00:35:04 -07:00
Garth Minette
f1ea2a9799 Added find_all(), re-did find_first() interface. Made f_gt(), f_lt(), f_gte(), f_lte() with one arg be the second argument. 2021-10-16 23:14:46 -07:00
Revar Desmera
dbd30ce600
Merge pull request #697 from adrianVmariano/master
mostly doc fixes
2021-10-16 22:14:20 -07: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
Revar Desmera
d8760681a9
Merge pull request #696 from adrianVmariano/master
vnf cleanup
2021-10-15 20:52:30 -07: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
Revar Desmera
b1249854b4
Merge pull request #695 from adrianVmariano/master
small changes and fixes
2021-10-14 18:37:10 -07:00
Revar Desmera
e0c8015fc5
Merge pull request #694 from RonaldoCMP/master
Update geometry.scad
2021-10-14 18:36:52 -07: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
RonaldoCMP
2d5ce3b191 Update geometry.scad 2021-10-14 12:37:48 -03:00