mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-06 12:19:47 +00:00
Merge pull request #430 from revarbat/revarbat_dev
skin.scad docs fixes.
This commit is contained in:
commit
962c3e6bd6
1 changed files with 6 additions and 6 deletions
|
@ -784,14 +784,14 @@ function _find_one_tangent(curve, edge, curve_offset=[0,0,0], closed=true) =
|
||||||
// sq = regular_ngon(4,side=2);
|
// sq = regular_ngon(4,side=2);
|
||||||
// hex = apply(rot(60),hexagon(side=2));
|
// hex = apply(rot(60),hexagon(side=2));
|
||||||
// skin(associate_vertices([sq,hex],[[0,0]]), slices=10, refine=10, sampling="segment", z=[0,4]);
|
// skin(associate_vertices([sq,hex],[[0,0]]), slices=10, refine=10, sampling="segment", z=[0,4]);
|
||||||
// Example: This example shows several polygons, with only a single vertex split at each step:
|
// Example(3D): This example shows several polygons, with only a single vertex split at each step:
|
||||||
// sq = regular_ngon(4,side=2);
|
// sq = regular_ngon(4,side=2);
|
||||||
// pent = pentagon(side=2);
|
// pent = pentagon(side=2);
|
||||||
// hex = hexagon(side=2);
|
// hex = hexagon(side=2);
|
||||||
// sep = regular_ngon(7,side=2);
|
// sep = regular_ngon(7,side=2);
|
||||||
// profiles = associate_vertices([sq,pent,hex,sep], [1,3,4]);
|
// profiles = associate_vertices([sq,pent,hex,sep], [1,3,4]);
|
||||||
// skin(profiles ,slices=10, refine=10, method="distance", z=[0,2,4,6]);
|
// skin(profiles ,slices=10, refine=10, method="distance", z=[0,2,4,6]);
|
||||||
// Example: The polygons cannot shrink, so if you want to have decreasing polygons you'll need to concatenate multiple results. Note that it is perfectly ok to duplicate a profile as shown here, where the pentagon is duplicated:
|
// Example(3D): The polygons cannot shrink, so if you want to have decreasing polygons you'll need to concatenate multiple results. Note that it is perfectly ok to duplicate a profile as shown here, where the pentagon is duplicated:
|
||||||
// sq = regular_ngon(4,side=2);
|
// sq = regular_ngon(4,side=2);
|
||||||
// pent = pentagon(side=2);
|
// pent = pentagon(side=2);
|
||||||
// grow = associate_vertices([sq,pent], [1]);
|
// grow = associate_vertices([sq,pent], [1]);
|
||||||
|
|
Loading…
Reference in a new issue