From 6b77a3a199c60bf6e32e0815b7c29231d9718de0 Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Fri, 1 Jan 2021 01:26:36 -0800 Subject: [PATCH] Don't do function literals in examples. We can't render them yet. --- shapes.scad | 4 ++-- version.scad | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shapes.scad b/shapes.scad index 0b03cbc..40a950b 100644 --- a/shapes.scad +++ b/shapes.scad @@ -1720,10 +1720,10 @@ module arced_slot( // ]); // cylinder(h=50,d=100); // } -// Example: Heightfield by Function +// Example(NORENDER): Heightfield by Function // fn = function (x,y) 10*sin(x*360)*cos(y*360); // heightfield(size=[100,100], data=fn); -// Example: Heightfield by Function, with Specific Ranges +// Example(NORENDER): Heightfield by Function, with Specific Ranges // fn = function (x,y) 2*cos(5*norm([x,y])); // heightfield(size=[100,100], bottom=-20, data=fn, xrange=[-180:2:180], yrange=[-180:2:180]); module heightfield(data, size=[100,100], xrange=[-1:0.04:1], yrange=[-1:0.04:1], bottom=-20, maxz=100, style="default", convexity=10, anchor=CENTER, spin=0, orient=UP) diff --git a/version.scad b/version.scad index 1b775bd..39cf19e 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,503]; +BOSL_VERSION = [2,0,504]; // Section: BOSL Library Version Functions