From 1851ca9443ce8e2c58ea4c3a466fbdc5241e24ef Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Mon, 23 Jun 2025 15:38:07 -0700 Subject: [PATCH 1/3] Update skin.scad --- skin.scad | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/skin.scad b/skin.scad index bc0afcd2..d1aec42e 100644 --- a/skin.scad +++ b/skin.scad @@ -3700,15 +3700,15 @@ function associate_vertices(polygons, split, curpoly=0) = // using a single repetition of a very large texture array. In order to do this, you'll need a way to import your image into OpenSCAD. // . // The BOSL2 scripts folder contains three scripts for creating texture arrays from graphic images. -// Right-click the links below to download the scripts to your local system. Run the python scripts from the command line, -// and use the **File** menu of your browser to open img2scad.html. -// . -// - [**img2scad.py**](https://raw.githubusercontent.com/BelfrySCAD/BOSL2/master/scripts/img2scad.py) -// is a python script that creates a texture array from most common raster image formats, including gif, png, jpeg. +// Right-click the links to the python scripts to download them to your local system, then run them from the command line. +// The html link will open in your browser. // . // - [**img2scad.html**](https://htmlpreview.github.io/?https://github.com/BelfrySCAD/BOSL2/blob/master/scripts/img2scad.html) // contains a javascript creates a texture array from any image your browser can render. // . +// - [**img2scad.py**](https://raw.githubusercontent.com/BelfrySCAD/BOSL2/master/scripts/img2scad.py) +// is a python script that creates a texture array from most common raster image formats, including gif, png, jpeg. +// . // - [**geotiff2scad.py**](https://raw.githubusercontent.com/BelfrySCAD/BOSL2/master/scripts/geotiff2scad.py) // is a python script creates a texture array from geotiff depth maps. // . From a65a01c370a357109dc15142ca1f1120de5eb357 Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Mon, 23 Jun 2025 15:40:43 -0700 Subject: [PATCH 2/3] Update skin.scad --- skin.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skin.scad b/skin.scad index d1aec42e..19ecbe64 100644 --- a/skin.scad +++ b/skin.scad @@ -3704,7 +3704,7 @@ function associate_vertices(polygons, split, curpoly=0) = // The html link will open in your browser. // . // - [**img2scad.html**](https://htmlpreview.github.io/?https://github.com/BelfrySCAD/BOSL2/blob/master/scripts/img2scad.html) -// contains a javascript creates a texture array from any image your browser can render. +// can create a texture array from any image your browser can render. // . // - [**img2scad.py**](https://raw.githubusercontent.com/BelfrySCAD/BOSL2/master/scripts/img2scad.py) // is a python script that creates a texture array from most common raster image formats, including gif, png, jpeg. @@ -3714,7 +3714,7 @@ function associate_vertices(polygons, split, curpoly=0) = // . // Each of these scripts places a named array in an .scad file with names specified at run time. Use include<> to add the array to your model. // . -// Both **img2scad.py** and **img2scad.html** create texture arrays from graphics, but the html script has a few additional capabilities +// Both **img2scad.py** and **img2scad.html** create texture arrays from graphics, but the html page has a few additional capabilities // and it provides a graphical user interface. // . // On the right is a {{textured_tile()}} with the texture array created by **img2scad.html** from the .png file on the left: From 61aeb66d885ea8f0c3587bfff509b2c5b65c14b4 Mon Sep 17 00:00:00 2001 From: Richard Milewski Date: Mon, 23 Jun 2025 16:25:42 -0700 Subject: [PATCH 3/3] skin.scad edits --- skin.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skin.scad b/skin.scad index 19ecbe64..ba969bfc 100644 --- a/skin.scad +++ b/skin.scad @@ -3696,10 +3696,10 @@ function associate_vertices(polygons, split, curpoly=0) = // // Subsection: Textures from Graphic Images // . -// In additional to creating textured surfaces, the texturing feature of BOSL2 can be used to place relief images onto objects, -// using a single repetition of a very large texture array. In order to do this, you'll need a way to import your image into OpenSCAD. +// In additional to creating textured surfaces, the texturing feature of BOSL2 can be used to place relief images onto objects +// using a single repetition of a large heightfield texture array. In order to do this, you'll need a way to import your image into OpenSCAD. // . -// The BOSL2 scripts folder contains three scripts for creating texture arrays from graphic images. +// The BOSL2 scripts folder contains three scripts for creating heightfield texture arrays from graphic images. // Right-click the links to the python scripts to download them to your local system, then run them from the command line. // The html link will open in your browser. // .