Commit graph

1386 commits

Author SHA1 Message Date
Garth Minette
02b765aae0 Merge branch 'master' into revarbat_dev 2020-09-24 16:01:16 -07:00
Garth Minette
45dbfe6524 Added regressions for torx_drive.scad 2020-09-24 15:59:25 -07:00
Revar Desmera
73576bd0fd
Merge pull request #274 from adrianVmariano/master
Add path_join()
2020-09-23 19:46:19 -07:00
Revar Desmera
5060dde98f
Merge pull request #275 from revarbat/revarbat_dev
Added regressions for vnf_centroid() and vnf_volume()
2020-09-23 19:42:08 -07:00
Garth Minette
c400843cb2 Added regressions for vnf_centroid() and vnf_volume() 2020-09-23 19:38:22 -07:00
Adrian Mariano
e50a577094 Added path_join() function, fixed degenerate case issue in path_cut 2020-09-23 22:00:17 -04:00
Revar Desmera
c50dddc3eb
Merge pull request #273 from revarbat/revarbat_dev
hull, quaternion, and edges regressions.
2020-09-22 20:39:43 -07:00
Garth Minette
eb969bba7e hull, quaternion, and edges regressions. 2020-09-22 20:33:50 -07:00
Revar Desmera
25a7b8b35d
Merge pull request #272 from revarbat/revarbat_dev
Fixed xcyl() and ycyl() anchoring and attachment.
2020-09-22 00:27:12 -07:00
Garth Minette
e86af33f52 Fixed xcyl() and ycyl() anchoring and attachments. 2020-09-22 00:24:39 -07:00
Garth Minette
5bfd3bee4d Added axis= to attachable() and reorient(). 2020-09-22 00:22:48 -07:00
Garth Minette
4f3baccec7 Added corner_edges() 2020-09-22 00:21:12 -07:00
Revar Desmera
e69cd058a2
Merge pull request #268 from adrianVmariano/master
parameter passing bug fix for offset_sweep
2020-09-21 18:25:45 -07:00
Adrian Mariano
ac4178fadc Remove echo and doc fix for rabbit_clip 2020-09-18 21:44:05 -04:00
Adrian Mariano
fd637ec56d removed echo 2020-09-14 17:31:07 -04:00
Adrian Mariano
4ba8670a55 parameter passing bug fix for offset_sweep 2020-09-14 16:48:42 -04:00
Revar Desmera
7d6fca27a6
Merge pull request #267 from revarbat/revarbat_dev
Added bounding_cube() and minkowski_difference()
2020-09-13 21:53:24 -07:00
Garth Minette
197167225d Added bounding_cube() and minkowski_difference() 2020-09-13 21:50:39 -07:00
Revar Desmera
e21a384ae1
Merge pull request #266 from RonaldoCMP/master
Solving bugs in plane operations; extending tests in test_geometry
2020-09-09 16:35:56 -07:00
RonaldoCMP
a00b738a75 Correct docs 2020-09-10 00:27:56 +01:00
RonaldoCMP
9ba6f9a74e updating docs 2020-09-09 09:57:13 +01:00
RonaldoCMP
28cbdb4d89 removing tabs 2020-09-09 09:51:59 +01:00
RonaldoCMP
75e5cd4979 Solving bugs in functions on planes 2020-09-09 09:37:31 +01:00
RonaldoCMP
6fb16cc8e4
Merge pull request #3 from revarbat/master
Update from master
2020-09-09 09:30:33 +01:00
Revar Desmera
4c7f45c82d
Merge pull request #265 from revarbat/revarbat_dev
Added all_nonzero().  Added is_vector(all_nonzero=).
2020-09-07 23:39:20 -07:00
Garth Minette
b2121fbfb3 Added all_nonzero(). Added is_vector(all_nonzero=). 2020-09-07 23:10:39 -07:00
Revar Desmera
f59aa06a99
Merge pull request #264 from revarbat/revarbat_dev
Fix for Issue #263
2020-09-06 17:17:30 -07:00
Garth Minette
a9b8f5618a Fix for Issue #263 2020-09-06 17:15:08 -07:00
Revar Desmera
f07efed4bd
Merge pull request #261 from adrianVmariano/master
Faster norm_fro
2020-09-03 17:44:35 -07:00
Revar Desmera
a24837a1d3
Merge pull request #260 from kelvie/dovetail-fix
Fix offset calculations in dovetail.
2020-09-03 17:44:04 -07:00
Adrian Mariano
9cd91cc6cc Faster version of norm_fro, and some arg validation 2020-09-02 16:46:58 -04:00
Kelvie Wong
3dd8524db7 Fix offset calculations in dovetail.
We need to properly account for slop in back_width, otherwise the front offset
can end up being positive at small scales.
2020-09-01 20:46:25 -07:00
Revar Desmera
040747d0e0
Merge pull request #257 from adrianVmariano/master
Added pivot to qr, quadratic roots, norm_fro, submatrix_set, block_matrix.
2020-09-01 18:15:29 -07:00
Adrian Mariano
47a1dfaa23 doc tweak 2020-09-01 18:43:53 -04:00
Adrian Mariano
399c40f7a6 Added null_space and diagonal_matrix 2020-09-01 18:38:31 -04:00
Adrian Mariano
3caeeff2cd Added norm_fro, quadratic_roots and pivoting to qr_factor and
linear_solve.  Added tests.
2020-09-01 17:57:31 -04:00
Adrian Mariano
8f6c2e8538 Add submatrix_set and block_matrix and tests 2020-09-01 16:42:47 -04:00
Revar Desmera
0a5af2f710
Merge pull request #256 from revarbat/revarbat_dev
Cheat Sheet ordering tweak.
2020-09-01 01:25:49 -07:00
Garth Minette
8331d8e803 Cheat Sheet ordering tweak. 2020-09-01 01:23:01 -07:00
Revar Desmera
03914b326b
Merge pull request #255 from revarbat/revarbat_dev
Bugfixes for cheat sheet generation.
2020-09-01 01:05:26 -07:00
Garth Minette
cb36b5d94f Bugfixes for cheat sheet generation. 2020-09-01 00:54:27 -07:00
Revar Desmera
7c2ef46e0b
Merge pull request #254 from revarbat/revarbat_dev
Index and Cheat Sheet generation script improvements.
2020-08-31 18:56:13 -07:00
Garth Minette
38a4c12032 Cheat Sheet generation script bugfixes. 2020-08-31 18:03:48 -07:00
Garth Minette
7c42c7f5e3 Added libfile names to index. 2020-08-31 17:31:55 -07:00
Revar Desmera
91aaae800a
Merge pull request #253 from RonaldoCMP/master
Sort debugging and optimizing
2020-08-30 15:27:13 -07:00
RonaldoCMP
42bffef35f Minor doc corrections 2020-08-30 12:18:53 +01:00
RonaldoCMP
bbe4ad1467 Sort debugging and optimizing
There were bugs in the previous sorting functions. They didn't check the homogeneity of the input list before calling _sort_scalars and _sort_vectors. The bug might result in wrong order and missing list elements in the output.
Besides correcting the bug a recode of all sorting functions result in better performance and a enlargement of their scope. With the new functions, list of vectors of any dimension may be sorted, even with idx given, with the native comparison operators. The scope of indexed sorting is also extended.

The file test_arrays has been extended to check the new funcionality.

New functions:

is_homogeneous - checks if a list has elements of the same type (although not distinguing booleans from numbers) up to a given depth
_sort_vectors - internal function to sort homgeneous lists of vectors using native comparison operators; extends the scope of the previous _sort_vectors# functions with better performance
_lexical_sort - internal function to sort non-homogeneous lists; uses compare_vals
_indexed_sort - internal function to perform indexed sorting of non-homogeneous lists; uses compar_vals

Changed/reviewed functions:
_valid_idx - doesn't requires the input of imin and imax args
sort - explores the internal functions to get better performance and an enlarged scope
sortidx - explores the internal functions to get better performance and an enlarged scope
_sort_general - just for sortings of non-homogeneous lists using compare_vals
_array_dim_recurse - changed for bit better performance

Functions eliminated:
 _sort_vectors1
 _sort_vectors2
 _sort_vectors3
 _sort_vectors4
2020-08-30 12:12:36 +01:00
RonaldoCMP
14b0f264ac
Merge pull request #2 from revarbat/master
My repository update
2020-08-30 11:51:21 +01:00
Revar Desmera
3cba94efdc
Merge pull request #252 from RonaldoCMP/master
Correction of C_times arg validation
2020-08-29 21:42:36 -07:00
Revar Desmera
6a96f9331d
Merge pull request #251 from adrianVmariano/master
added os_mask to rounding and tweaked error messages in transpose
2020-08-29 21:41:00 -07:00