Adrian Mariano
052200433b
Make most path functions accept singleton regions
...
Replace check_and_fix_path with force_path
2021-10-29 19:29:51 -04:00
Adrian Mariano
024011ea5e
list_remove fix
...
rename array_dim to list_shape
2021-10-27 20:21:12 -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
76272d9d9a
add region centroid capability and consolidate into one centroid
...
function for polygons, regions and VNFs.
Fix bug with anchors for linear_sweep (due to centerpoint issues)
Fix intersection anchors for vnfs when anchor vector intersects
in a path instead of a single point.
2021-10-20 22:44:55 -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
2d205a2568
subarray -> columns
2021-10-15 22:39:10 -04:00
Adrian Mariano
a65315b876
fix examples
2021-10-15 16:22:36 -04:00
Adrian Mariano
cd85b3b1f4
change region_faces to vnf_from_region and move to vnf.scad
...
remove secret merge option from vnf_triangulate
add examples
add vnf_clean_unrefs
2021-10-14 22:36:21 -04:00
Adrian Mariano
9bb22dc7c5
doc tweaks
2021-10-07 21:31:58 -04:00
Adrian Mariano
33484f2c4b
misc bugfixes
2021-10-06 21:53:46 -04:00
Adrian Mariano
71b22e5850
helix rewrite
...
make skin() take regions
2021-10-01 21:27:52 -04: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
60c3a99e90
moved some functions around and renamed
2021-09-28 19:08:47 -04:00
Adrian Mariano
c15ff24edd
use is_bool_list
2021-09-27 18:08:30 -04:00
Adrian Mariano
3c6e9804a8
phillips_drive bugfix:
...
wing angle corrected from ~70 deg to 92 deg
adjusted cutouts so length "b" in the spec is correct
(this causes the cutout to not align with the end so it
doesn't look as pretty, but the spec wins, right?)
Changed construction method to avoid z-fighting which gave
rise to failed render
doc fixes and shifting in paths.scad
decompose_path -> polygon_parts
2021-09-21 19:19:02 -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
9ca77eed1b
path.scad cleanup (hid/removed several functions)
2021-09-18 19:11:08 -04:00
Adrian Mariano
2494de9368
reordering and moving for improved docs
...
removed xxrot and xxflip
2021-09-11 18:48:23 -04:00
Adrian Mariano
9d2bb59325
remove modulate_circle, move jitter_poly to shapes2d,
...
reorder stuff in skin.scad and add top text
2021-09-07 18:47:08 -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
Garth Minette
5a355434ce
Tweaks for docs usage lines.
2021-06-26 20:59:33 -07:00
Garth Minette
5ee224f2d3
Added point_segment_distance(), segment_distance(). Renamed distance_from_line() -> point_line_distance(). Renamed distance_from_plane() -> point_plane_distance()
2021-06-10 15:49:44 -07:00
Adrian Mariano
15c79d8f6a
doc tweak, new example
2021-04-24 17:45:38 -04:00
Adrian Mariano
75b974906d
_UNDEF definition didn't work; moving to constants.scad fixed this.
...
Fixed vnf.scad so that "convex" is efficient and handles degenerate
case in vnf_vertex_array
Fixed skin to correctly handle multi-section "distance" skins.
2021-04-14 16:32:47 -04:00
Adrian Mariano
f2914f0efb
remove debug echo
2021-04-13 20:45:14 -04:00
Adrian Mariano
27928eac70
bug fixes for caps and style
2021-04-13 20:21:19 -04:00
Adrian Mariano
4a179920cf
Speed improvement for vnf_vertex_array by changing deduplicate
...
testing. Add "min_edge" style to vnf vertex array.
eliminate _skin_core, replace with vnf_vertex_array, add style option
to all modules/functions.
fix bug in path_normals (not normalized)
2021-04-13 19:27:42 -04:00
Garth Minette
8bd3ef8a74
Removed range(), rangex(). Added count().
2021-04-07 20:57:45 -07:00
Garth Minette
0b17bf5930
Brought slice() in line with select() indexing, without wrapping. Replaced a lot of select() and slice() calls with last(), list_head(), and list_tail() calls.
2021-03-30 00:46:59 -07:00
Garth Minette
df9d045475
Added subdivide_long_segments(), path_add_jitter(), jittered_poly()
2021-03-17 18:27:10 -07: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
4dc2d4cfe5
Fix bug in skin, add some complex stuff to math and tests
2021-03-12 20:36:34 -05:00
Adrian Mariano
f90e89c761
rewrote check_and_fix_path. Old version was broken/undef errors
...
added regions_equal (but probably not best version)
removed debug echo from roundinglscad
assert on invalid arc() radius inpu
new "fast_distance" method for skin()
tweaked skin() docs
support regions for path_sweep
2021-03-12 18:40:24 -05:00
Adrian Mariano
863c410404
doc tweaks for skin(), faster 2d hull()
2021-03-04 18:34:17 -05:00
Revar Desmera
6db9ec6f17
Merge branch 'master' into revarbat_dev
2021-02-20 22:49:57 -08:00
Garth Minette
e3369b6b6e
skin.scad docs fixes.
2021-02-20 22:47:50 -08:00
Revar Desmera
799686b7ca
Merge pull request #427 from adrianVmariano/master
2021-02-20 12:46:54 -08:00
Adrian Mariano
852eed292d
doc fixes and bug fixes for undef
2021-02-20 11:45:10 -05:00
Garth Minette
6cfbc538fc
Re-work to use openscad_docsgen package.
2021-02-19 19:56:43 -08:00
Garth Minette
320518194f
Various arrays.scad docs updates. Bugfixes.
2021-01-24 23:26:39 -08:00
Garth Minette
b6cfda0537
Remove apply_list(). Renamed affine_frame_map() to affine3d_frame_map()
2021-01-20 13:36:41 -08:00
Adrian Mariano
caac76e23e
doc updates
2021-01-14 22:39:14 -05:00
Adrian Mariano
5650171ed6
doc fixes for skin
2021-01-12 22:15:20 -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
Adrian Mariano
5269b26703
Improved error message for skin()
2020-12-31 08:58:22 -05:00
Adrian Mariano
081ef23eba
Added turtle3d. Typo fixes in docs.
2020-12-11 19:01:03 -05:00
Adrian Mariano
008d1c5002
Add path_sweep2d and change path_sweep to accept ccw shape without
...
producing inverted output. Minor doc fixes.
2020-12-08 21:41:50 -05:00
Garth Minette
90eaf73293
Bugfix for sweep() endcaps.
2020-11-17 17:22:38 -08:00
Garth Minette
1e93276747
Enable using path_sweep() with a region.
2020-11-17 14:41:14 -08:00