Add multi color support

This commit is contained in:
Tim Neumann 2020-08-21 15:59:42 +02:00
parent 4f384dc033
commit 502983356d
2 changed files with 49 additions and 13 deletions

View file

@ -10,7 +10,15 @@
* licensing terms.
*/
use <bottle-clip.scad>
/*
* Set the color to render and export.
* ALL will render all colors.
*/
//CURRENT_COLOR = "ALL";
//CURRENT_COLOR = "black";
//CURRENT_COLOR = "green";
include <bottle-clip.scad>
$fn=50; // approximation steps for the cylinders
@ -40,4 +48,7 @@ bottle_clip(name="Zero Cool");
// is rendered.
//bottle_clip(name="Niobe", rl=15, ru=12, ht=16, logo="");
// With color:
//bottle_clip(name="Zero Cool", bg_color="black", text_color="green", logo_color="green");
// vim: set noet ts=2 sw=2 tw=80: