Adrian Mariano
ec87be11ec
fix tests
2021-11-11 09:09:54 -05:00
Adrian Mariano
69e8491659
doc tweaks
...
vnf_merge split
2021-11-11 08:45:30 -05:00
RonaldoCMP
abab41a2db
Doc update of polygon_triangulate
2021-11-04 19:27:14 +00:00
RonaldoCMP
6bd1dd918f
Correction in _cleave_connected_region and polygon_triangulate and some few tweaks
2021-11-04 12:09:29 +00:00
Revar Desmera
14403e869c
Merge pull request #719 from adrianVmariano/master
...
valid region fix, pair/triplet degenerate cases
2021-11-03 20:39:59 -07:00
Adrian Mariano
fe0586180e
renamed is_region_simple to is_valid_region and fixed bugs and added examples
...
fixed bugs in pair and triplet and added degenerate test cases
2021-11-03 22:30:01 -04:00
RonaldoCMP
c5da41ed8c
Correct bugs in polygon_triangulation and _cleave_connected_region(
2021-11-01 04:42:02 +00:00
Adrian Mariano
b60123a886
columns fixes
2021-10-26 18:30:57 -04:00
Adrian Mariano
c61a2d6fcb
change err msg
2021-10-24 10:59:05 -04:00
Adrian Mariano
267b5cd771
remove extra is_vnf definition
2021-10-21 18:43:36 -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
ef5e924e54
fix examples
2021-10-17 19:13:58 -04:00
Adrian Mariano
48314f5cdb
vnf doc tweaks and cleanup
...
remove vnf args for chaining
vnf_merge pass through if you give just one vnf
vnf_vertex_array no longer calls merge
vnf_tri_array removes degenerate faces and no longer calls merge (with cleanup)
2021-10-17 17:40:47 -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
544bb5883e
fix align_polygon & examples
2021-10-15 16:01:01 -04:00
Adrian Mariano
315a1021df
updated vnf_drop_unused_points
2021-10-15 06:07:17 -04:00
Adrian Mariano
a12a258635
rename to vnf_drop_extra_points
2021-10-14 22:54:07 -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
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
bb77faa0c9
assorted doc fixes
...
eliminate trace_path
_path_self_intersections fix
2021-10-06 21:16:39 -04:00
Adrian Mariano
d8da1dbad7
fixes
2021-10-05 22:50:40 -04:00
Adrian Mariano
9a01e15f3f
fix vnf_halfspace bug
...
fix doc errors
2021-10-05 21:56:49 -04:00
Adrian Mariano
230e7c18b5
fix tests
2021-10-05 18:57:46 -04:00
Adrian Mariano
afe75d0e3f
add starts to threaded rod/nut
...
remove vnf_add_face(s)
add vnf_from_polygon
2021-10-05 18:23:20 -04:00
Adrian Mariano
b0611c0daf
add vnf_slice
2021-10-05 17:15:07 -04:00
Adrian Mariano
0093d10993
use projection before calling is_path_simple in rouinded_prism
...
rewrite vnf_bend so it doesn't rely on pseudo 3d polygon self-intersection
2021-10-05 16:14:36 -04:00
Adrian Mariano
d986db2e1e
vnf_debug update
...
path self intersection speedup
2021-10-03 22:37:57 -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
956ae7076c
remove vnf_get_vertex
2021-09-28 21:51:55 -04:00
Adrian Mariano
60c3a99e90
moved some functions around and renamed
2021-09-28 19:08:47 -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
e6a2ee2084
Fix Examples: -> Example: when there's no render
2021-09-16 19:33:55 -04:00
Adrian Mariano
5d0b42b667
switch order of sections in vnf
2021-09-16 16:56:04 -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
Adrian Mariano
eec1d6b08c
bug fix, added tests
2021-09-15 16:36:03 -04:00
Adrian Mariano
33ca0d4a69
Resectioned distributors and vnf.
...
Error msg fix in shapes2d
section tweak in transforms
fixed polygon_line_intersection
2021-09-15 16:30:04 -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
5a4d9554df
err message tweak in star()
...
rearranged polygon_line_intersection to handle 2d and fixed
but where it didn't test polygon membership correctly. Also
there was a bug with use of the bounded argument.
Added Ronaldo's triangulation.
2021-09-13 22:09:51 -04:00
Adrian Mariano
e807d0e0d6
bug fix
2021-09-11 20:03:33 -04:00
Adrian Mariano
4a463fd8b9
fix tests
2021-09-11 19:35:05 -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
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
ce0b4e9d32
internal: can set bevel to true and get non-garbage result
...
bevel is always set by thread depth
acme takes tpi
square threads are at angle 0
added generic_threaded_{rod,nut}
eliminated metric_trapezoidal_*
cleaned up matrices some in generic_threaded_rod
threaded_rod can produce spec-true ISO/UTS profile with a triplet input for the diameter.
Added bevel1 and bevel2 to all modules. Made default uniformly false for every case instead of
sometimes true, sometimes false
Profiles that go over zero are not clipped, and bevels are based on actual profile top, not nominal
When bevel is given to nuts it bevels the outside of the nut by thread depth
higbee looks best with quincunx, but it's more expensive. Select quincunx when higbee is used, min_edge otherwise
Current code uses difference to remove excess length in the rod. This gives faster renders at the cost
of more complex code and green top/bottom surfaces.
Changed slop to 4 * $slop. I got good results printing with $slop=0.05 with this setting.
Don't generate excess threads when starts>1, and don't force threads to be even
2021-08-22 21:53:08 -04:00
RonaldoCMP
d4ebb740f6
Update vnf_merge
2021-06-30 11:22:48 +01:00
Garth Minette
5a355434ce
Tweaks for docs usage lines.
2021-06-26 20:59:33 -07:00
RonaldoCMP
703e582846
removing tabs
2021-05-18 20:10:29 +01:00
RonaldoCMP
fd172c33cd
Unify vnf_merge and vnf_compact
2021-05-18 07:38:30 +01:00
Adrian Mariano
c4ace59ccd
Add vantage point tree for searching vector lists. Add "concave"
...
method to vnf_vertex_array.
2021-05-11 20:51:09 -04:00