From a8aff7bcc333997aa16949f7df7a6c79835102dc Mon Sep 17 00:00:00 2001 From: Cedric Vincent Date: Sat, 18 Feb 2023 14:29:04 +0100 Subject: [PATCH] Fix "linear_sweep(..., texture=..., scale= ...)". Scaling was done upside down. --- skin.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skin.scad b/skin.scad index 2e495e0..78b5a29 100644 --- a/skin.scad +++ b/skin.scad @@ -3489,7 +3489,7 @@ function _textured_linear_sweep( if (i != counts.y || ti == 0) let( v = (i + (ti/texcnt.y)) / counts.y, - sc = lerp([1,1,1], scale, v), + sc = lerp(scale, [1,1,1], v), mat = down((v-0.5)*h) * scale(sc) * zrot(twist*v)