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
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
Garth Minette
34e16dc0ca
Fixed skin regression.
2020-07-07 21:21:05 -07:00
Garth Minette
78ecbbd9c5
Added regression for centroid()
2020-07-06 16:15:32 -07:00
Garth Minette
8b6e07326f
Added regressions for linear_bearings.scad and shapes.scad
2020-07-04 21:42:39 -07:00
Garth Minette
f60ef80eaa
Added regressions for is_matrix(), matrix_inverse()
2020-07-04 00:38:40 -07:00
Garth Minette
3ec34ce9f1
Added regresstions for cube(), cylinder(), and sphere()
2020-07-04 00:14:25 -07:00
Garth Minette
8985837b63
Added regression for debug.scad
2020-07-03 18:00:37 -07:00
Garth Minette
a718b66026
Added regressions for missing common.scad functions.
2020-07-03 17:42:08 -07:00
Garth Minette
ed0a3e3e7b
Added regressions for set functions and force_list()
2020-07-03 15:23:03 -07:00
Garth Minette
74723f32f5
Added regressions for shapes2d.scad
2020-06-30 17:19:09 -07:00
Revar Desmera
a3207af6ab
Added a bunch of regressions for shapes2d.scad
2020-06-24 22:33:41 -07:00
Revar Desmera
1a7bfb687f
Added mutator.scad mutators.
2020-06-22 22:34:36 -07:00
Revar Desmera
794741f824
Added regression for skew()
2020-06-21 19:46:22 -07:00
Revar Desmera
bebb993125
Added regressions for transforms.scad
2020-06-21 01:30:49 -07:00
Revar Desmera
012c8d555d
Added regressions for vfloor() and vceil()
2020-06-20 21:42:22 -07:00
Revar Desmera
0c612f40f6
Added regression for Q_Cumulative()
2020-06-20 21:31:38 -07:00
Revar Desmera
20dfaac113
Bugfix for #182 . Added assert_equal() and assert_approx() for regression helpers.
2020-06-20 19:51:58 -07:00
Revar Desmera
f727a9c3f1
Add regression run to CI.
2020-06-19 23:00:40 -07:00
Revar Desmera
5b39cefe7b
Fixed skin() regression.
2020-06-15 01:29:23 -07:00
Revar Desmera
e3b64888a8
Added regressions for strings.scad.
2020-06-15 01:25:35 -07:00
Revar Desmera
53c1e25395
Standardize indention on spaces, not tabs.
2020-05-29 19:04:34 -07:00
Revar Desmera
9c2cf53b2d
Renamed find_circle_tangents() to circle_point_tangents()
2020-05-23 19:22:44 -07:00
Revar Desmera
971c1e795f
Renamed place_copies() to move_copies()
2020-03-24 18:31:22 -07:00
Revar Desmera
6183e6d0d2
Added deduplicate_indexed()
2020-03-24 14:51:37 -07:00
Revar Desmera
00f69ba95b
Removed translate_points(), scale_points(), rotate_points2d() and rotate_points3d()
2020-03-22 05:11:19 -07:00
Revar Desmera
7cba0b60f9
Fixed regression test for function namechange.
2020-03-20 13:53:47 -07:00
Revar Desmera
19ed457e38
Regressions for repeat() fixed.
2020-03-04 20:29:17 -08:00
Revar Desmera
19e6ec8093
Fix coords.scad regressions.
2020-03-02 21:48:54 -08:00
Revar Desmera
07bfcd6a57
Renamed normalize() to unit()
2020-03-02 19:30:20 -08:00
Revar Desmera
019961aef7
Added dflt= arg to sum(), defaulting to 0.
2020-02-08 21:54:39 -08:00
Revar Desmera
9f6a95090f
Added regressions for gcd(), lcm(), and factorial()
2020-01-16 13:27:50 -08:00
Revar Desmera
68260afebb
Added regressions for permute() and repeat_entries()
2020-01-16 13:01:41 -08:00
Revar Desmera
be8b30974a
Added is_int() regressions
2020-01-15 20:27:01 -08:00
Revar Desmera
43bc09d838
Add regression test for vang()
2020-01-15 20:13:07 -08:00
Revar Desmera
c05b6bfa5c
Fixed erroneous assertion in list_range()
2019-11-19 18:02:36 -08:00
Revar Desmera
9f92fe8775
Enhanced lerp() to allow list/range u values to return lists of results.
2019-11-18 21:11:38 -08:00
Revar Desmera
bb92d788ef
Added reverse_polygon() and improved ccw_polygon() and clockwise_polygon()
2019-11-17 18:19:55 -08:00
Revar Desmera
871540c57c
Changed skin params. matching= -> method= and "evenly" -> "uniform"
2019-11-13 21:58:48 -08:00
Revar Desmera
e644cc750b
Updated regressions for edge_set() -> _edge_set()
2019-11-12 14:14:15 -08:00
Revar Desmera
066bb190f9
Added quaternion.scad regressions and bugfixes. Added function variant of Qrot()
2019-11-11 19:09:46 -08:00
Revar Desmera
d73ab76c9a
Added tests for errors.scad
2019-11-10 12:52:58 -08:00
Revar Desmera
8cd795cc36
Fixed typo in common.scad tests.
2019-11-10 12:36:50 -08:00
Revar Desmera
20e2008077
Finished adding regressions for coords.scad
2019-11-10 12:33:50 -08:00
Revar Desmera
daf13d4e51
Added common.scad regression tests.
2019-11-09 22:55:10 -08:00
Revar Desmera
a26bb92978
Added regressions and bug fixes for structs.scad
2019-11-08 18:31:37 -08:00
Revar Desmera
3d0d34850d
Added regressions for cubetruss.scad
2019-11-08 17:34:01 -08:00
Revar Desmera
6fb40df34a
Added regressions for primitives.scad
2019-11-08 17:05:10 -08:00
Revar Desmera
94359dbf8c
Added stack_rotate() regressions.
2019-11-08 16:49:46 -08:00
Revar Desmera
ba4a35229c
Added regressions and bugfixes for skin.scad
2019-11-08 16:25:47 -08:00
Revar Desmera
38abe860f9
Tweaks to geometry,scad regressions to more correctly report coverage.
2019-11-06 23:53:16 -08:00
Revar Desmera
f8f015758a
Completed arrays.scad regressions.
2019-11-06 23:40:05 -08:00
Revar Desmera
5cca83958f
gaussian_rand() -> gaussian_rands(), log_rand() -> log_rands()
2019-11-06 22:19:19 -08:00
Revar Desmera
5addbe8184
Added vnf.scad regressions and bugfixes.
2019-11-06 16:17:33 -08:00
Revar Desmera
59c48f37d6
Added regression tests and bugfixes for stacks.scad
2019-11-05 21:04:56 -08:00
Revar Desmera
28b086ea8d
Added regressions and bugfixes for queues.scad.
2019-11-05 20:26:35 -08:00
Revar Desmera
029e3f612a
Added edges.scad regression tests.
2019-11-05 18:16:00 -08:00
Revar Desmera
948e76d992
Added version_to_list() regression test for found error.
2019-11-05 17:35:58 -08:00
Revar Desmera
231061a364
Added regression tests for version.scad
2019-11-05 16:04:39 -08:00
Revar Desmera
387232e8dc
More geometry.scad regression tests.
2019-10-30 18:41:18 -07:00
Revar Desmera
f19179e232
Added a bunch of regression tests for geometry.scad.
2019-10-29 22:47:38 -07:00
Revar Desmera
b0cdbcca0a
Added list_rotate() and a bunch of assert()s
2019-10-29 22:42:41 -07:00
Revar Desmera
e064db6b14
Added several regression tests.
2019-10-25 15:17:55 -07:00
Revar Desmera
b0caccebe7
Regression test fixes.
2019-10-23 22:49:40 -07:00
Revar Desmera
28bf2116ec
Added a bunch of regression tests.
2019-10-22 17:10:04 -07:00
Revar Desmera
56b41b487b
Improved compare_vals() and compare_lists() for heterogenous types.
2019-06-24 15:31:59 -07:00
Revar Desmera
2b2aa1496a
Test script fixes.
2019-05-26 12:17:04 -07:00
Revar Desmera
26d16a3187
Split compat.scad out into errors.scad and common.scad
2019-05-15 21:07:27 -07:00
Revar Desmera
a63e9aca8e
Tweaked vector_axis() and vector_angle() to work with lists of points and vectors.
2019-05-14 19:36:32 -07:00
Revar Desmera
11e5406951
Fixed product() for matrices.
2019-05-12 13:41:26 -07:00
Revar Desmera
ba9b7c5b3b
Added product()
2019-05-12 13:32:34 -07:00
Revar Desmera
dba2edc984
Fixed transpose for vectors and non-array lists
2019-05-12 12:51:58 -07:00
Revar Desmera
78e3cd3c27
matrix_transpose() generalized to transpose()
2019-05-12 12:32:03 -07:00
Revar Desmera
09e89e9182
Fixed pair() and pair_wrap()
2019-05-10 02:59:12 -07:00
Revar Desmera
143e74ab48
Added polyhedra.scad
2019-05-04 20:21:21 -07:00
Revar Desmera
aa3af91889
Renamed some geometry.scad functions. Added geometry.scad tests.
2019-05-01 19:28:02 -07:00
Revar Desmera
3a71633f7f
Bugfixes for hull.scad
2019-04-30 23:45:05 -07:00
Revar Desmera
a46ea27fca
Changed all BOSL references to BOSL2.
2019-04-18 23:45:46 -07:00
Revar Desmera
96739c3ea0
Added convex_hull()
2019-04-16 15:34:54 -07:00
Revar Desmera
b7e3644df3
Fixed compare_vals for lists with single lists.
2019-04-08 20:51:29 -07:00
Revar Desmera
58880473da
Added regression tests for rotate_points3d()
2019-04-08 18:58:11 -07:00
Revar Desmera
e912908605
Added more math.scad tests
2019-04-04 20:31:19 -07:00
Revar Desmera
290ee50b5b
Initial math.scad test suite.
2019-04-04 00:36:25 -07:00