Commit graph

47 commits

Author SHA1 Message Date
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
2a64c89b8f improved _cleave_connected_regions 2021-10-03 09:46:39 -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
60c3a99e90 moved some functions around and renamed 2021-09-28 19:08:47 -04:00
Adrian Mariano
9b7c3acfd7 speedup for path_region_intersections, small fixes/tweaks 2021-09-28 16:36:32 -04:00
Adrian Mariano
000d84923d add sanitize_region, appease docsgen 2021-09-27 21:36:24 -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
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
Adrian Mariano
2f895cb8d1 hiding some infrastructure, added is_path_simple() 2021-09-22 14:59:18 -04:00
Adrian Mariano
43f37908df fix offset bug 2021-09-21 20:20: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
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
4fee72f517 Added section to transforms.scad and new top text.
Error trap in offset() for repeated points
2021-09-06 10:48:37 -04:00
Adrian Mariano
15297a8b19 Change offset() to respect $fn/$fs.
Remove maxstep parameter from offset.
Modify offset_sweep and offset_stroke to no longer use offset_maxstep
or maxstep.
Added a bit of error checking to those two functions so if you pass in
the wrong end treatment it gives a less cryptic type of error
Fixed arc() so it returns 2 points when you request 2 points (instead
of 3)
Fixed teardrop to properly ceil() its segs value.
2021-08-31 18:13:15 -04:00
Garth Minette
5a355434ce Tweaks for docs usage lines. 2021-06-26 20:59:33 -07: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
d7cb503ffc Replace most trivial uses of slice() with faster list_head() and list_tail() 2021-03-25 00:23:36 -07:00
Garth Minette
475602329d find_first_match() 2021-03-14 00:11:15 -08: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
852eed292d doc fixes and bug fixes for undef 2021-02-20 11:45:10 -05:00
Garth Minette
320518194f Various arrays.scad docs updates. Bugfixes. 2021-01-24 23:26:39 -08:00
Adrian Mariano
00bbc3efe6 removed echo 2021-01-06 19:59:31 -05:00
Adrian Mariano
b12565f85c Fixed bug with snap_pin_socket, tweaked dovetail docs.
Fixed offset bugs, one affecting regions and one affecting paths of length2.
2021-01-06 16:45:24 -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
Garth Minette
9d5d7cbc4f Enhanced sweep() to accept region input. 2020-11-17 14:25:08 -08:00
Garth Minette
e4f2497863 Changes all references to polyline to path. 2020-11-16 17:50:08 -08:00
Garth Minette
8c2d06344f Added center=, anchor=, spin=, and orient= to function linear_sweep() 2020-10-19 22:51:35 -07:00
Garth Minette
16ee49e8b2 Fixed a bunch of undef math warnings with dev snapshot OpenSCAD builds. 2020-10-03 19:50:29 -07:00
RonaldoCMP
75e5cd4979 Solving bugs in functions on planes 2020-09-09 09:37:31 +01:00
Adrian Mariano
817bdffdef Removed bogus median function 2020-08-02 01:20:11 -04:00
Garth Minette
b5d465cf1e docs_gen.py now shows more docs errors. 2020-07-27 15:15:34 -07:00
Garth Minette
efa76fe9f5 Added cp= to attachable. Added "origin" standard named anchor. 2020-07-06 17:07:20 -07:00
Revar Desmera
53c1e25395 Standardize indention on spaces, not tabs. 2020-05-29 19:04:34 -07:00
Adrian Mariano
72531fd812 Fixed bug in offset(), failure for r=0 2020-04-06 18:18:13 -04:00
Revar Desmera
39d44cb709 Improved vnf_validate() 2020-03-16 02:57:03 -07:00
Revar Desmera
265db9fe5d Removed affine2d_apply() and affine3d_apply() 2020-03-15 11:50:41 -07:00
Revar Desmera
4b5e0835cc Added region_faces() and linear_sweep(). 2020-03-11 22:26:43 -07:00
Revar Desmera
2aaa7006e7 Attempt to fix errors with union(), difference(), intersection() with infinitesimally misaligned paths. 2020-03-05 03:30:18 -08:00
Adrian Mariano
fcbeadc363 renamed replist to repeat
fixed normalization issue in path_to_bezier
2020-03-04 23:22:39 -05:00
Revar Desmera
07bfcd6a57 Renamed normalize() to unit() 2020-03-02 19:30:20 -08:00
Revar Desmera
da4f822eca Added split_nested_region() 2020-02-28 21:39:58 -08:00
Revar Desmera
855aa0cf36 Re-organized region.scad docs. 2020-01-31 21:35:04 -08:00
Revar Desmera
4f0e6392e2 Split regions and boolean geometry out of geometry.scad into regions.scad. Added various ray intersection functions. Added plane intersection functions. 2019-12-02 15:35:03 -08:00