mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-09 13:56:33 +02:00
Fixed examples in vnf_vertex_array()
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,193];
|
BOSL_VERSION = [2,0,194];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
6
vnf.scad
6
vnf.scad
@@ -199,7 +199,7 @@ function vnf_triangulate(vnf) =
|
|||||||
// for (a=[0:5:360-EPSILON])
|
// for (a=[0:5:360-EPSILON])
|
||||||
// apply(
|
// apply(
|
||||||
// zrot(a) * right(30) * xrot(90),
|
// zrot(a) * right(30) * xrot(90),
|
||||||
// circle(d=20)
|
// path3d(circle(d=20))
|
||||||
// )
|
// )
|
||||||
// ],
|
// ],
|
||||||
// col_wrap=true, row_wrap=true, reverse=true
|
// col_wrap=true, row_wrap=true, reverse=true
|
||||||
@@ -210,7 +210,7 @@ function vnf_triangulate(vnf) =
|
|||||||
// points=[
|
// points=[
|
||||||
// for (a=[0:5:360]) apply(
|
// for (a=[0:5:360]) apply(
|
||||||
// zrot(a) * right(30) * xrot(90) * zrot(a/2+60),
|
// zrot(a) * right(30) * xrot(90) * zrot(a/2+60),
|
||||||
// square([1,10], center=true)
|
// path3d(square([1,10], center=true))
|
||||||
// )
|
// )
|
||||||
// ],
|
// ],
|
||||||
// col_wrap=true, reverse=true
|
// col_wrap=true, reverse=true
|
||||||
@@ -220,7 +220,7 @@ function vnf_triangulate(vnf) =
|
|||||||
// wall_points = [
|
// wall_points = [
|
||||||
// for (a = [-90:2:90]) apply(
|
// for (a = [-90:2:90]) apply(
|
||||||
// up(a) * scale([1-0.1*cos(a*6),1-0.1*cos((a+90)*6),1]),
|
// up(a) * scale([1-0.1*cos(a*6),1-0.1*cos((a+90)*6),1]),
|
||||||
// circle(d=100)
|
// path3d(circle(d=100))
|
||||||
// )
|
// )
|
||||||
// ];
|
// ];
|
||||||
// cap = [
|
// cap = [
|
||||||
|
Reference in New Issue
Block a user