Geoff deRosenroll
d3f13ab0dc
Match affine3d skews up to affine2d_skew behaviour
...
Currently, affine2d_skew and affine3d_skew_xy have different behaviour.
Similarly, affine3d_skew_xz and affine3d_skew_yz do not skew the same
was as affine2d_skew does (if you were to look down the third axis at
the relevant plane). This commit brings them into agreement.
2022-08-06 17:09:20 -07:00
Adrian Mariano
1d72c91454
apply tweaks
2021-12-29 17:55:29 -05:00
Adrian Mariano
6e3efd68a4
big function re-org to eliminate debug.scad and hide affine.scad from docs
2021-10-01 00:30:28 -04:00
Adrian Mariano
261099e102
fix bug in spherical_random_points (non-uniform)
...
add region support to dashed_stroke
move a bunch of functions around for reorganization
2021-09-30 23:11:01 -04:00
Adrian Mariano
ef9f54c369
Fix Examples: that should be Example:
...
Add closed option to path_merge_collinear
Add nonzero to decompose_path
offset() bugfix for paths whose endpoints are equal
vnf doc tweaks
2021-09-20 18:34:22 -04:00
Adrian Mariano
4f8ebb2e80
more error messages for star()
...
improve speed and flexibility of apply()
fix triangulation bug
add support for single point 2d solutions in polygon_line_intersection
2021-09-14 20:10:55 -04:00
Adrian Mariano
0aad39c7e5
Move affine3d_frame_map to transforms.scad and rename to frame_map.
...
Add module version. Change all calls.
2021-09-06 18:07:03 -04:00
Adrian Mariano
1cca11ab28
Removed unnecessary requirement for splinesteps>=3, added some error
...
checks on splinesteps, added example of using splinesteps=1 to chamfer
in rounded_prism.
Added rot_resample, rot_inverse.
2021-07-04 11:25:54 -04:00
Garth Minette
5a355434ce
Tweaks for docs usage lines.
2021-06-26 20:59:33 -07:00
Garth Minette
a346a0cbf0
Added Topics/SeeAlso to affine, arrays, attachments, beziers, common, constants, gears
2021-03-01 22:44:00 -08:00
Garth Minette
0fbf48701a
Removed invalid link.
2021-02-26 13:23:45 -08:00
Garth Minette
2b9a2b2da7
Rework of docs for transforms.scad and affine.scad. Fix for #439 .
2021-02-26 13:07:11 -08:00
Garth Minette
85ce222d75
Added missing examples to affine.scad
2021-01-21 19:59:21 -08:00
Garth Minette
9a395023ff
Merge branch 'master' into revarbat_dev
2021-01-20 18:07:18 -08:00
Garth Minette
c2129972c3
Dropped affine2d_chain(), affine3d_chain(). Improved affine.scad docs.
2021-01-20 18:06:46 -08:00
Adrian Mariano
61db695210
doc tweak for affine
...
change path_spread to use affine3d_frame_map and fix bug when using n= option
2021-01-20 19:30:09 -05:00
Garth Minette
b6cfda0537
Remove apply_list(). Renamed affine_frame_map() to affine3d_frame_map()
2021-01-20 13:36:41 -08:00
Garth Minette
e836213754
Update docs and regressions for apply()
2021-01-19 20:53:09 -08:00
Garth Minette
8d753b471b
Enable using apply() on VNF and bezier patches.
2021-01-19 04:32:40 -08: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
Adrian Mariano
74615a9fe0
rot_decode bugfix: relax check to approximate for last row of
...
transformation matrix.
2020-11-12 09:19:25 -05:00
Adrian Mariano
c80c7c558a
Added rot_decode to decode rotation matrices and matrix_trace,
...
supporting function, and regression tests for both.
2020-10-20 16:26:11 -04:00
Garth Minette
38873d8ef9
Fixed a bunch of docs errors with Usage headers.
2020-10-03 20:29:35 -07:00
Garth Minette
375f1f2e3b
Bugfix for new unit() in affine_frame_map()
2020-07-19 23:05:54 -07:00
Revar Desmera
f727a9c3f1
Add regression run to CI.
2020-06-19 23:00:40 -07:00
Adrian Mariano
2ac6093a73
Fix apply() to handle degenerate input of empty list.
2020-05-31 21:49:27 -04:00
Revar Desmera
53c1e25395
Standardize indention on spaces, not tabs.
2020-05-29 19:04:34 -07:00
Revar Desmera
e550909726
Added some affine matrix generation optimizations.
2020-03-22 01:11:06 -07:00
Adrian Mariano
8fc3af0264
modified linear solvers to handle matrix RHS, added error checking to
...
lerp and affine_frame_map, adde same_shape(), added square option to
is_matrix.
2020-03-17 07:11:25 -04:00
Revar Desmera
265db9fe5d
Removed affine2d_apply() and affine3d_apply()
2020-03-15 11:50:41 -07:00
Revar Desmera
07bfcd6a57
Renamed normalize() to unit()
2020-03-02 19:30:20 -08:00
Adrian Mariano
ca167f6bb1
moved affine_frame_map to affine.scad
2020-02-29 22:54:33 -05:00
Adrian Mariano
f8fc8cb544
Adds sweep and new version of path_sweep to skin.scad, which probably
...
needs a name change. Adds apply(), apply_list() and
affine_frame_map() to affine.scad. Adds derivative calcluation to
math.scad. Adds path_tangent, path_normal, path_curvature and
path_torsion functions. Adds path_length_fraction().
Fixed bug in reindex_polygon where it randomly reverses a 3d path (due
to clockwise check that is bogus in 3d) and put a check in
polygon_is_clockwise to trap this case.
2020-02-27 17:32:03 -05:00
Revar Desmera
fe7b87e92d
Fixed argument typo in skew()
2020-01-06 16:55:22 -08:00
Revar Desmera
91b0e58093
Fixed references to skew_*()
2019-12-19 23:26:54 -08:00
Revar Desmera
23660ec688
Added missing affine mirror matrices.
2019-12-03 19:04:56 -08:00
Revar Desmera
65b78f90ae
mat3_to_mat4() -> affine2d_to_3d() and various trailing space and formatting issues.
2019-08-09 13:07:18 -07:00
Revar Desmera
f378b70151
Added in range step of 1 to avoid errors.
2019-05-26 22:34:46 -07:00
Revar Desmera
16919f39c3
Reworked orientation to use vectors. Added spin.
2019-05-25 23:31:05 -07:00
Revar Desmera
88ea4c94d9
Fixed and simplified anchoring.
2019-05-17 14:41:45 -07:00
Revar Desmera
9a3e2b71f2
Renamed affine[23]d_mult to affine[23]d_chain
2019-05-14 14:38:54 -07:00
Revar Desmera
9645aef2a9
Renamed matrix[34]_* -> affine[23]d_*.
2019-05-13 23:11:55 -07:00