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
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
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
Garth Minette
eb4e16fcf1
Fixed path_chamfer_and_rounding() default for closed=
2021-07-10 21:39:56 -07:00
Garth Minette
c43423829b
Allow extrude_from_to() to accept 2D paths.
2021-06-26 22:23:29 -07:00
Garth Minette
5a355434ce
Tweaks for docs usage lines.
2021-06-26 20:59:33 -07:00
Garth Minette
48c5139099
Fix tab indents.
2021-06-22 17:20:08 -07:00
RonaldoCMP
d18f558c1a
Extend convolve and deltas; do minor doc corrections
2021-06-22 01:20:05 +01:00
Garth Minette
44feeab7e6
Bugfix for path_self_intersections() with closed paths.
2021-06-21 00:37:31 -07:00
Garth Minette
fee3cb0d80
Fix for issue #429
2021-06-19 23:21:52 -07:00
Garth Minette
3eb506e78a
Rename quaternion functions to not have uppercase names.
2021-06-12 17:17:05 -07: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
bec448d0a1
Cleanup for bottlecaps_adapters.scad
2021-04-16 17:29:01 -07: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
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
RonaldoCMP
376609d52f
Cosmetics
2021-04-11 12:34:59 +01:00
Garth Minette
8bd3ef8a74
Removed range(), rangex(). Added count().
2021-04-07 20:57:45 -07:00
Adrian Mariano
47104bcfe0
remove echo
2021-04-02 20:44:11 -04:00
Adrian Mariano
dd13967049
Cleanup of path_resample, add tests for round_corners, fix
...
bezier_curve and arc to always return n points for either endpoint
setting.
2021-04-02 16:59:29 -04: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