mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Tweak to force example regen.
This commit is contained in:
parent
4aee7133d3
commit
863398eb24
2 changed files with 5 additions and 4 deletions
|
@ -751,12 +751,13 @@ function _find_one_tangent(curve, edge, curve_offset=[0,0,0], closed=true) =
|
||||||
// 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);
|
||||||
// skin(associate_vertices([sq,pent,hex,sep], [1,3,4]) ,slices=10, refine=10, method="distance", z=[0,2,4,6]);
|
// profiles = associate_vertices([sq,pent,hex,sep], [1,3,4]);
|
||||||
|
// 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: 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]);
|
||||||
// shrink = associate_vertices([sq,pent],[2]);
|
// shrink = associate_vertices([sq,pent], [2]);
|
||||||
// skin(concat(grow, reverse(shrink)), slices=10, refine=10, method="distance", z=[0,2,2,4]);
|
// skin(concat(grow, reverse(shrink)), slices=10, refine=10, method="distance", z=[0,2,2,4]);
|
||||||
function associate_vertices(polygons, split, curpoly=0) =
|
function associate_vertices(polygons, split, curpoly=0) =
|
||||||
curpoly==len(polygons)-1 ? polygons :
|
curpoly==len(polygons)-1 ? polygons :
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,161];
|
BOSL_VERSION = [2,0,162];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue