Commit graph

111 commits

Author SHA1 Message Date
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
Revar Desmera
2f33c673f7
Merge pull request #517 from adrianVmariano/master
project_plane & lift_plane update
2021-04-24 14:12:11 -07:00
Adrian Mariano
493ef62826 normalized project_plane and lift_plane to match other transform
functions.
2021-04-21 22:49:06 -04:00
Garth Minette
8fd4073d44 Merge branch 'master' into revarbat_dev 2021-04-20 18:58:37 -07:00
Garth Minette
129a0d91b4 Fixed vnf_validate() for reporting errors after warnings. 2021-04-20 18:53:40 -07:00
Adrian Mariano
94abf65857 rewrite vnf_halfspace and fix bugs in half_of functions.
remove get_named_args
2021-04-19 16:58:17 -04:00
Adrian Mariano
5ea5e301b8 Handle region face after half space computation 2021-04-14 23:24:53 -04:00
Adrian Mariano
6e805163ab half space fixes 2021-04-14 21:19:13 -04:00
Revar Desmera
5ed3602391
Merge pull request #500 from adrianVmariano/master
Fix face orientation bugs
2021-04-14 15:13:32 -07: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
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
Adrian Mariano
dea5949df8 Fix face orientation bugs in vnf_vertex_array, rounded_prism,
bezier_patch_degenerate.  Added reverse option to count().
2021-04-12 20:15:01 -04:00
Revar Desmera
0718bcb9be
Merge pull request #496 from adrianVmariano/master
vnf_tri_array & bezier_patch_degenerate
2021-04-12 00:38:44 -07:00
RonaldoCMP
c5799d6539 Review of vnf_centroid() 2021-04-11 12:36:05 +01:00