From 5f091f84a38b9cc80c9b0b5fc6cea4eb86160482 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sat, 3 Jul 2021 11:56:13 +0800 Subject: [PATCH] deprecate bezier_surface and function_grapher --- src/bezier_surface.scad | 1 + src/function_grapher.scad | 1 + 2 files changed, 2 insertions(+) diff --git a/src/bezier_surface.scad b/src/bezier_surface.scad index d29bd3b7..d231d702 100644 --- a/src/bezier_surface.scad +++ b/src/bezier_surface.scad @@ -13,6 +13,7 @@ use ; function bezier_surface(t_step, ctrl_pts) = let( + _ = echo("`bezier_surface` is deprecated since 3.1. Use `sf_splines` instead."), leng_ctrl_pts = len(ctrl_pts), pts = [ for(i = 0; i < leng_ctrl_pts; i = i + 1) diff --git a/src/function_grapher.scad b/src/function_grapher.scad index f0b4cd8d..92d35042 100644 --- a/src/function_grapher.scad +++ b/src/function_grapher.scad @@ -14,6 +14,7 @@ use ; use ; module function_grapher(points, thickness = 1, style = "FACES") { + echo("`function_grapher` is deprecated since 3.1. Use `sf_thicken` instead."), rows = len(points); columns = len(points[0]);