Commit graph

176 commits

Author SHA1 Message Date
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
2eff8ec203 array_group -> list_to_matrix fixes 2021-10-26 23:17:21 -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
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
acb65b3298 allow count to take a list as input
vnf_wireframe does not draw unreferenced vertices
some error checking
2021-10-14 18:29:52 -04:00
Adrian Mariano
ec02676267 boolean operations fixes 2021-10-09 21:44:26 -04:00
Adrian Mariano
9670fc0e68 fix segment endpoint handling for intersections 2021-10-07 23:20:46 -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
bb77faa0c9 assorted doc fixes
eliminate trace_path
_path_self_intersections fix
2021-10-06 21:16:39 -04:00
Adrian Mariano
d986db2e1e vnf_debug update
path self intersection speedup
2021-10-03 22:37:57 -04:00
Revar Desmera
b0b665c2b8
Merge pull request #665 from adrianVmariano/master
remove debug.scad, hide affine.scad
2021-10-01 18:07:58 -07: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
Revar Desmera
5036a84b52
Merge pull request #662 from adrianVmariano/master
path intersection speedups and misc fixes
2021-09-28 22:34:45 -07:00
Adrian Mariano
ea9d133408 clarify that simple paths can have repeats 2021-09-28 21:22:05 -04:00
Adrian Mariano
60c3a99e90 moved some functions around and renamed 2021-09-28 19:08:47 -04:00
Adrian Mariano
dbee0abec6 split_path_at_region_crossings does not return zero length segments
faster code for path and region intersections
2021-09-27 18:33:44 -04:00
Revar Desmera
db1715b651
Merge pull request #661 from adrianVmariano/master
path/region algorithm bugfixes
2021-09-26 16:44:34 -07:00
Adrian Mariano
7776ae8e67 _assemble_path_from_fragments discards zero area polygons
split_path_at_self_crossings discards zero-length (single point) "segments"
polygon_line_intersection bugfix
remove debug echoes
2021-09-24 17:33:18 -04:00
Garth Minette
47b803276b Fixed See Also refs for removed jitter function. 2021-09-22 22:41:00 -07:00
Adrian Mariano
48ccc85c16 fix doc error 2021-09-22 16:18:54 -04:00
Adrian Mariano
2f895cb8d1 hiding some infrastructure, added is_path_simple() 2021-09-22 14:59:18 -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
Garth Minette
0260d92187 Correction for _path_cut_points() rename. 2021-09-19 20:08:38 -07:00
Garth Minette
6f183489e0 Removed See Also for undocumented function. 2021-09-18 22:26:24 -07:00
Adrian Mariano
7db5faf77f path_cut bug fix 2021-09-18 23:54:27 -04:00
Adrian Mariano
9ca77eed1b path.scad cleanup (hid/removed several functions) 2021-09-18 19:11:08 -04:00
Adrian Mariano
67af8c01c9 more dosgen appeasement 2021-09-17 20:41:37 -04:00
Adrian Mariano
6d3eabddc5 make functions in edges.scad internal
move some stuff from paths to mutators to get like stuff all together
2021-09-17 17:07:18 -04:00
Adrian Mariano
935a113fcf Examples fix
merge primitives stuff into shapes*.scad
move text commands to shapes3d.scad
rename common.scad
2021-09-16 21:50:12 -04:00
Adrian Mariano
e6a2ee2084 Fix Examples: -> Example: when there's no render 2021-09-16 19:33:55 -04:00
Adrian Mariano
856f54df32 removed old triangulation.scad
other file name changes
2021-09-15 23:12:51 -04:00
Adrian Mariano
d78eb5213e Add "is" to geometry.scad predicates 2021-09-15 19:01:34 -04:00
Garth Minette
54038b68d2 Tabs indentation disallowed. 2021-09-12 19:15:05 -07:00
Garth Minette
0fa53f1b80 Revert decompose_path() to working code. 2021-09-12 19:12:48 -07:00
Adrian Mariano
14ae1795bb fix permutation docs
consolidate "line/segment/ray" functions to just "line" with bounded option
add RAY, LINE and SEGMENT constants
2021-09-09 18:32:58 -04:00
Adrian Mariano
814a3981ce fix doc errors
extend path_text to 2d
2021-09-07 22:49:15 -04:00
Adrian Mariano
454a95c06a move path_spread to distributors 2021-09-07 19:00:28 -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
Adrian Mariano
4555ca1daa bugfix 2021-09-04 22:57:39 -04:00
Adrian Mariano
f509c0eeff Add path_text()
Move some functions in path.scad to "functions" section
2021-09-04 22:10:25 -04:00
Adrian Mariano
1f7d17eab6 doc fix for spiral_sweep 2021-08-28 11:37:09 -04:00
Adrian Mariano
110dc09cb7 Smoother higbee for spiral_sweep (don't linear interpolate square root) 2021-08-28 10:14:29 -04:00
Adrian Mariano
6ef2f71255 improved thread_helix docs
fixed bugs in spiral_sweep: wrong sampling rate, left_handed broken
2021-08-28 08:57:09 -04:00
Adrian Mariano
c0bf42836d remove debug echo 2021-08-24 22:21:16 -04:00
Adrian Mariano
8b23eb4951 Fixed facet sampling bugs in spiral_sweep 2021-08-24 22:14:54 -04:00
Adrian Mariano
6da612f7e6 Fixed higbee=0 problem in spiral_sweep, cleaned up thread_helix. Made
spiral sweep force its input to be clockwise to avoid reversed
polyhedra.

Changed thread_angle in thread_helix to flank_angle, which is the
correct term for this angle, and then propagated change in
bottlecap.scad.
2021-08-23 23:03:25 -04:00