doc tweaks, mdash fixes, merge subdivide_long_segments into subdivide_path

This commit is contained in:
Adrian Mariano
2022-03-17 18:38:20 -04:00
parent ed9e4c8603
commit e7be7d8fb0
7 changed files with 101 additions and 85 deletions

View File

@@ -1058,7 +1058,7 @@ module star(n, r, ir, d, or, od, id, step, realign=false, align_tip, align_pit,
/// Internal Function: _path_add_jitter()
/// Topics: Paths
/// See Also: jittered_poly(), subdivide_long_segments()
/// See Also: jittered_poly()
/// Usage:
/// jpath = _path_add_jitter(path, [dist], [closed=]);
/// Description:
@@ -1074,7 +1074,7 @@ module star(n, r, ir, d, or, od, id, step, realign=false, align_tip, align_pit,
/// Example(3D):
/// d = 100; h = 75; quadsize = 5;
/// path = pentagon(d=d);
/// spath = subdivide_long_segments(path, quadsize, closed=true);
/// spath = subdivide_path(path, maxlen=quadsize, closed=true);
/// jpath = _path_add_jitter(spath, closed=true);
/// linear_extrude(height=h, twist=72, slices=h/quadsize)
/// polygon(jpath);
@@ -1094,7 +1094,7 @@ function _path_add_jitter(path, dist=1/512, closed=true) =
// Module: jittered_poly()
// Topics: Extrusions
// See Also: subdivide_long_segments()
// See Also: subdivide_path()
// Usage:
// jittered_poly(path, [dist]);
// Description:
@@ -1107,7 +1107,7 @@ function _path_add_jitter(path, dist=1/512, closed=true) =
// Example:
// d = 100; h = 75; quadsize = 5;
// path = pentagon(d=d);
// spath = subdivide_long_segments(path, quadsize, closed=true);
// spath = subdivide_path(path, maxlen=quadsize, closed=true);
// linear_extrude(height=h, twist=72, slices=h/quadsize)
// jittered_poly(spath);
module jittered_poly(path, dist=1/512) {