1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-29 11:58:39 +01:00

update doc

This commit is contained in:
Justin Lin 2020-02-10 13:14:14 +08:00
parent cc47f81dc1
commit 1f326b83e7

View File

@ -73,7 +73,7 @@ I provide a tool [img2gray](https://github.com/JustinSDK/img2gray) for convertin
After converting the image, use the data in the text file as the `levels` value of `pixel_gray`, you can build a model like this:
include <pixel/px_gray.scad>;
use <pixel/px_gray.scad>;
levels = [
[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255],