Commit graph

75 commits

Author SHA1 Message Date
Adrian Mariano
cee36c13f2 add vector_perp 2024-12-03 20:34:17 -05:00
Adrian Mariano
7cefef9977 additional hirth fixes 2024-11-17 20:40:11 -05:00
Revar Desmera
07d487e0fd All the SynTags. 2023-05-29 21:48:48 -07:00
Revar Desmera
775c50062e Synopses, etc for vectors.scad. 2023-04-28 17:40:11 -07:00
Revar Desmera
2f1266e8c3 Corrected prismoid geometry corner anchor vectors. 2023-03-27 02:21:26 -07:00
Adrian Mariano
2a98374ef1 Fix short taper bug for spiral_sweep()
Doc fixes
2022-11-22 18:54:01 -05:00
Adrian Mariano
93230f2af2 onion fix & vector_search fix for r=0 2022-11-07 21:18:21 -05: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
Adrian Mariano
f8064d529f vectors.scad usage fixes 2022-04-02 23:51:11 -04:00
Adrian Mariano
39f5e5e56d improve file summaries 2022-01-14 22:33:21 -05:00
Revar Desmera
59bf523908 Lots of docs tweaks for openscad-docsgen v2 2021-12-13 15:48:30 -08:00
Garth Minette
21083277b0 Various documentation fixes. 2021-12-06 14:28:04 -08:00
Adrian Mariano
a81b6c6931 misc tweaks 2021-11-09 22:27:55 -05:00
RonaldoCMP
c5da41ed8c Correct bugs in polygon_triangulation and _cleave_connected_region( 2021-11-01 04:42:02 +00:00
Adrian Mariano
2eff8ec203 array_group -> list_to_matrix fixes 2021-10-26 23:17:21 -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
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
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
RonaldoCMP
922e2da952 search_vectors update 2021-10-11 21:47:34 -03:00
Adrian Mariano
e6a2ee2084 Fix Examples: -> Example: when there's no render 2021-09-16 19:33:55 -04:00
Adrian Mariano
2494de9368 reordering and moving for improved docs
removed xxrot and xxflip
2021-09-11 18:48:23 -04:00
Garth Minette
3fca34babd Added v_lookup() for vector lookups. 2021-07-30 14:41:06 -07:00
Garth Minette
76a8ce50c1 Docs link fix. 2021-06-30 17:31:00 -07:00
RonaldoCMP
5b2f6d7582 Implement vector searches with ball trees and introduces random point generations in debug.scad 2021-06-30 10:55:47 +01:00
Garth Minette
5a355434ce Tweaks for docs usage lines. 2021-06-26 20:59:33 -07:00
Garth Minette
a748c77077 vmul() to v_mul(), etc. 2021-06-14 20:28:49 -07:00
Adrian Mariano
67f08e020b Added examples for vp tree 2021-05-30 20:32:56 -04:00
Adrian Mariano
b88d05c4db Fixed bad error check in vp_search, example errors in debug.scad 2021-05-16 19:06:36 -04:00
Adrian Mariano
465cc40c0a commented example 2021-05-14 16:34:35 -04:00
Adrian Mariano
9501b9da95 fixed vptree 2021-05-14 16:22:11 -04:00
Adrian Mariano
95a27e9ab5 changed debug_vertices to support non-overlapping display of repeated
vertices,  changed debug_polyhedron to debug_vnf, added search_radius
2021-05-14 06:23:33 -04:00
Adrian Mariano
c4ace59ccd Add vantage point tree for searching vector lists. Add "concave"
method to vnf_vertex_array.
2021-05-11 20:51:09 -04:00
Adrian Mariano
737baed34c further type checking fixes 2021-03-14 12:08:20 -04:00
Adrian Mariano
35c2d7df42 doc tweaks for skin
bug fixes for is_matrix, is_vector, and new tests for same
2021-03-14 10:25:22 -04: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
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
16ee49e8b2 Fixed a bunch of undef math warnings with dev snapshot OpenSCAD builds. 2020-10-03 19:50:29 -07:00
Garth Minette
cc29e07d8f Enable list-of-matrix use of vmul(). 2020-09-28 17:35:05 -07:00
Garth Minette
b2121fbfb3 Added all_nonzero(). Added is_vector(all_nonzero=). 2020-09-07 23:10:39 -07:00
Garth Minette
e56f953c1c Fixed calls to vmul() with heteerogenous vector sizes. 2020-08-02 23:23:50 -07:00
Garth Minette
aa0e77b1f4 Minor fixes for PR #216 2020-07-29 21:58:12 -07:00
RonaldoCMP
ab57790c27 Correction of is_vector and doc text 2020-07-28 19:02:35 +01:00
RonaldoCMP
c10a8b919d Extensive review of arrays.scad, vectors.scad, common.scad and their regression tests
Here is an extensive review of common.scad, vectors.scad, arrays.scad and their regression test codes. The changes were mostly in input data check and format. Some few functions got more changes either to adapt them to the new asserts or because a better (faster, simpler) code was found.

Another change was moving add_scalar from vectors.scad to arrays.scad. It is in fact an array operation. Some few documentation examples and test codes were added. Some function argument names were changed to keep them consistent with the names they have in other similar functions. That name changes were not as extensive as I would like but it is advisable to favor users.

Most, but not all, changed function codes are followed by a comment with a short summary of the changes done. Those comments always start with:
//***

I can eliminate those comments before a merge is done or in a second round.
2020-07-25 20:27:19 +01:00
RonaldoCMP
bdba4c0821 A broad review of input data check and code format
Some functions were changed for sake of clarity or better performance.
2020-07-24 22:54:34 +01:00
RonaldoCMP
d2e851ae42
Merge branch 'master' into master 2020-07-24 14:47:25 +01:00
RonaldoCMP
464c65ce8c Eliminating tabs 2020-07-24 13:30:19 +01:00
RonaldoCMP
88e2fc0f29 Input data check review and some refactoring
Some functions have been changed as a consequence of the dat checking review. vector_axis was fully refactored. add_scalar was moved to arrays.scad
2020-07-24 00:10:36 +01:00