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
f61e30add2
Update
2020-07-24 00:23:07 +01:00
RonaldoCMP
877a07b711
Full review of input data checking, formating and improvement in some functions
...
Refactorigng of list_set(), list_insert() and list_remove() without any sorting and speed gain.
Some argument names changed for consistence between functions.
test_array() updated.
2020-07-24 00:19:49 +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
RonaldoCMP
39b4b7282d
Update typeof(), int(), range(), list_of() and segs
2020-07-24 00:04:16 +01:00
Revar Desmera
68459776e2
Merge pull request #211 from adrianVmariano/master
...
fixed in_list bug
2020-07-21 19:23:48 -07:00
Adrian Mariano
7eafa691b4
Changed to relative include names
2020-07-21 20:05:21 -04:00
Adrian Mariano
a73ca6368c
fixed in_list bug
2020-07-21 19:55:05 -04:00
Revar Desmera
1d03a6aa93
Merge pull request #210 from revarbat/revarbat_dev
...
Added zero=undef/true/false arg to is_vector. Bugfix for vector_axis()
2020-07-21 16:24:06 -07:00
Garth Minette
4a37a5dc8e
Added zero=undef/true/false arg to is_vector. Bugfix for vector_axis()
2020-07-21 16:15:02 -07:00
Revar Desmera
3e87405ccf
Merge pull request #208 from revarbat/revarbat_dev
...
Docs generation fixes and unit() bugfixes.
2020-07-19 23:09:32 -07:00
Garth Minette
ae1a6d8d61
Rewrote line_closest_point() and segment_closest_point() to support 3D. Added ray_closest_point().
2020-07-19 23:07:49 -07:00
Garth Minette
375f1f2e3b
Bugfix for new unit() in affine_frame_map()
2020-07-19 23:05:54 -07:00
Revar Desmera
e4cab05952
Merge pull request #205 from RonaldoCMP/master
...
input data checks and addition of many new functions, test_quaternions updated
2020-07-19 15:17:52 -07:00
Revar Desmera
b113e47374
Merge pull request #207 from adrianVmariano/master
...
doc fixes for rounding.scad
2020-07-19 15:11:41 -07:00
RonaldoCMP
8129176171
Changes in Q_Angle computation and formatting
2020-07-19 22:09:33 +01:00
Adrian Mariano
806a0cf2b5
Various doc fixes
2020-07-19 11:48:31 -04:00
Garth Minette
87c8adef65
Bad use of unit() in debug_polyhedron()
2020-07-19 06:24:16 -07:00
Garth Minette
14e013cd13
Bugfix for unit() changes in attachment
2020-07-19 05:49:05 -07:00
Garth Minette
598ae04ba5
Tighten image comparison requirements.
2020-07-19 05:39:49 -07:00
RonaldoCMP
fd0e74ac97
Update quaternions.scad
2020-07-17 21:19:09 +01:00
RonaldoCMP
9b779972a5
Update quaternions.scad
2020-07-17 21:14:56 +01:00
RonaldoCMP
34a589bdde
allowing ranges in slerp,nlerp and squad
2020-07-17 20:54:38 +01:00
RonaldoCMP
e017c6075d
input data checks and addition of many new functions
...
1. Input data check in all functions
2. Definition of new functions for data check, new interpolations functions, quaternion from matrix, rotation path interpolating quaternions, inverse, exp, ln, power.
2020-07-17 20:28:28 +01:00
Revar Desmera
0ade5d5baa
Merge pull request #201 from adrianVmariano/master
...
Updates
2020-07-13 09:35:21 -07:00
Adrian Mariano
f190b50c4d
substituted correct file
2020-07-12 07:10:56 -04:00
Revar Desmera
e0695ef913
Merge pull request #202 from revarbat/revarbat_dev
...
unit(error=)
2020-07-11 23:49:50 -07:00
Garth Minette
0be0708c2b
Changed unit(dflt=) to unit(error=)
2020-07-11 23:23:12 -07:00
Adrian Mariano
3864f14333
Added error bounds to poly_roots, added poly_div, poly_mult and
...
poly_add, fixed bugs in factorial.
2020-07-11 12:22:59 -04:00
Adrian Mariano
4e2092f347
Added a bunch of tests
2020-07-11 12:22:44 -04:00
Garth Minette
dde616dad5
unit() now asserts error for zero-length vector unless dflt= arg is given.
2020-07-10 00:03:55 -07:00
Revar Desmera
a0d8c0a5c3
Merge pull request #199 from revarbat/revarbat_dev
...
Fixed skin regression.
2020-07-07 21:24:58 -07:00
Garth Minette
34e16dc0ca
Fixed skin regression.
2020-07-07 21:21:05 -07:00
Revar Desmera
4c112d740b
Merge pull request #198 from adrianVmariano/master
...
fixed skin bug
2020-07-07 21:12:42 -07:00
Adrian Mariano
32cb24f29b
fixed skin bug
2020-07-07 23:25:11 -04:00
Revar Desmera
1289d769c5
Merge pull request #196 from revarbat/revarbat_dev
...
Don't error out action when no file changes to commit.
2020-07-07 00:56:52 -07:00
Garth Minette
30d2f5ae8c
Don't error out action when no file changes to commit.
2020-07-07 00:54:39 -07:00
Revar Desmera
906f9e1b74
Merge pull request #195 from revarbat/revarbat_dev
...
Tweak github action triggers.
2020-07-07 00:38:55 -07:00
Garth Minette
65cdecaf54
Tweak github action triggers.
2020-07-07 00:32:50 -07:00
Revar Desmera
ea8682e0f7
Merge pull request #193 from adrianVmariano/master
...
fix uncommented example in rounding.scad
2020-07-07 00:24:32 -07:00
Revar Desmera
47f5ca33f2
Merge pull request #194 from revarbat/revarbat_dev
...
Revarbat dev
2020-07-07 00:18:22 -07:00
Garth Minette
9df2ce25de
Merge branch 'master' of github.com:revarbat/BOSL2 into revarbat_dev
2020-07-07 00:09:47 -07:00
Garth Minette
d8d5321c26
Added docsgen github action.
2020-07-07 00:08:42 -07:00
Adrian Mariano
e9fe42cae2
fix doc typos
2020-07-06 22:30:13 -04:00
Revar Desmera
506d3d76a8
Merge pull request #192 from adrianVmariano/master
...
bug fix for qr_factor in case of zero columns
2020-07-06 19:06:48 -07:00
Adrian Mariano
2beacdbbed
Fixed example that was uncommented. And various doc typos
2020-07-06 22:04:25 -04:00
Adrian Mariano
8fed4dece9
bug fix for qr_factor in case of zero columns
2020-07-06 21:50:50 -04:00