Garth Minette
e33337d07c
Fix for issue #876 : cuboid() rounding min size checking.
2022-05-25 00:59:37 -07:00
Garth Minette
64dd55a864
Anchoring bugfixes. Added example to vnf_vertex_array()
2022-05-12 13:27:34 -07:00
Adrian Mariano
9433b05a65
file summary improvements and tweaks
2022-04-21 00:26:20 -04:00
Adrian Mariano
7afef10a79
usage messages fixes, req_children additions
2022-03-31 18:12:23 -04:00
Adrian Mariano
0af8b9527a
vnf usage messages
2022-03-30 20:50:55 -04:00
Adrian Mariano
c57a2e2ca6
add "3D" to examples
2022-03-01 18:14:03 -05:00
Adrian Mariano
cf190c0aa0
add vnf_join examples
2022-02-28 16:58:39 -05:00
Adrian Mariano
67c0467871
cleaving bug fix
2022-02-26 09:57:08 -05:00
Adrian Mariano
7ccd7eb450
vnf doc tweaks, add sweep example
2022-02-17 16:46:45 -05:00
Adrian Mariano
ccb2148e82
Force steps to be 1 when $fn is too small for vnf_bend
2022-02-12 20:49:31 -05:00
Adrian Mariano
f5d0854549
debug function rename
...
attachment function reorder
add axes to egg examples
2022-01-08 23:08:34 -05:00
Revar Desmera
f9c5dc2cb9
Fixes for rect(center=)
2021-12-13 16:31:14 -08:00
Revar Desmera
aa109de9d7
Merge branch 'master' of github.com:revarbat/BOSL2 into revarbat_dev
2021-12-13 15:51:06 -08:00
Revar Desmera
59bf523908
Lots of docs tweaks for openscad-docsgen v2
2021-12-13 15:48:30 -08:00
Adrian Mariano
1912aecdfa
Assert on non-coplanar faces in vnf_slice
2021-12-05 09:08:27 -05:00
Adrian Mariano
dd3542c748
Fix references to changed subsections
2021-11-19 22:33:16 -05:00
Adrian Mariano
475129fd95
revamp extruded region attachables and apply to linear_sweep.
2021-11-17 13:38:07 -05:00
Adrian Mariano
2bfb4e39e7
more fixes
2021-11-16 23:12:03 -05:00
Adrian Mariano
d576526b60
VNF interface update skin.scad and shapes2d.scad
2021-11-16 18:49:37 -05:00
Adrian Mariano
477dd55781
remove polygon_shift, hide noncollinear_triple
...
modify glued circle to not produce duplicate points
2021-11-11 18:50:26 -05:00
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
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
Adrian Mariano
1451b827ec
Moved vnf_tri_array to vnf.scad and added docs
2021-04-09 21:43:41 -04:00
Garth Minette
1745dbbb7f
slice() cleanup tweak.
2021-03-30 16:13:29 -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
2c305ef042
Fixed vnf.scad includes docs.
2021-03-18 19:39:03 -07:00
Garth Minette
d44c140fcb
Improved vnf_validate() face intersection checks.
2021-03-16 00:07:05 -07:00
Garth Minette
5c9162e9f5
Fixed worm() face normals.
2021-03-15 15:14:10 -07:00
Garth Minette
efb7a4fada
Fixes for worm_gear()
2021-03-15 05:10:23 -07:00
Garth Minette
6cfbc538fc
Re-work to use openscad_docsgen package.
2021-02-19 19:56:43 -08:00
Garth Minette
01092713cb
VNF re-re-write of trapezoidal_threaded_rod()
2021-02-04 05:39:00 -08:00
Garth Minette
99a0a23163
Added style="convex" to vnf_vertex_array()
2021-02-02 10:45:12 -08:00
Garth Minette
323a42177d
Fix manifold issues with trapezoidal_threaded_rod().
2021-02-02 02:14:59 -08:00
Garth Minette
320518194f
Various arrays.scad docs updates. Bugfixes.
2021-01-24 23:26:39 -08:00
Garth Minette
98aad31b69
Fixed vnf_get_vertex() for single point.
2021-01-14 00:32:40 -08: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
e10a70fc98
Add "bad" example
2020-12-19 19:36:15 -05:00
Adrian Mariano
f2bb9bcb4b
Added vnf_wireframe, tweaked reverse error message,
2020-12-19 11:48:05 -05:00