From 15267fb7d31953cf58182ecb00bba0ba1b02b52e Mon Sep 17 00:00:00 2001 From: Dirk Heilig Date: Mon, 1 Apr 2024 12:41:30 +0200 Subject: [PATCH] use refinings out of https://github.com/madex/AuerNameTag/commit/e4ee70bc36ab6b1d7c1f058fb3532d8e1ba78b66 , add preview --- AuerNameTag.scad | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/AuerNameTag.scad b/AuerNameTag.scad index 5bd4689..2c57d12 100644 --- a/AuerNameTag.scad +++ b/AuerNameTag.scad @@ -1,5 +1,5 @@ name="mAdEx"; -part=1; //[1,2] +part=1; //[1:base,2:text,3:preview] use <./font/LiberationSans-Bold.ttf>; @@ -35,5 +35,6 @@ module name(str) { difference() { if(part==1)tag(); -name(name); -} \ No newline at end of file +color("black")name(name); +} +if(part==3)color("limegreen")tag(); \ No newline at end of file