From 094a8b4ed7804e4afeaa284ac4339f4d8f30d194 Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Thu, 19 Jun 2025 16:37:44 -0700 Subject: [PATCH] Update skin.scad --- skin.scad | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/skin.scad b/skin.scad index c8224e23..9b209977 100644 --- a/skin.scad +++ b/skin.scad @@ -3634,7 +3634,11 @@ function associate_vertices(polygons, split, curpoly=0) = // **geotiff2scad.py** is a python script creates a texture array from geotiff depth maps. // . // All three of these scripts place a named array in an .scad file with names specified at run time. These files should be included in your model. -// Null Test +// Figure(3D,Big,NoAxes,VPR=[140.9,0,345.7],VPT=[9.48289,-0.88709,5.7837],VPD=39.5401): The left shows a normal bricks_vnf texture. The right shows a texture that was first passed through {{vnf_triangulate()}}. Note the extra triangle artifacts visible at the ends on the brick faces. +// tex = texture("bricks_vnf"); +// cyl(d=10,h=15,texture=tex, tex_reps=[4,2],tex_samples=5,rounding=2); +// up(7)fwd(-3)right(15)cyl(d=10,h=15,texture=vnf_triangulate(tex), tex_reps=[4,2],tex_samples=5,rounding=2); +// Continues: // Function: texture()