mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-01 13:50:33 +02:00
doc tweaks, mdash fixes, merge subdivide_long_segments into subdivide_path
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user