From a17856aef98a249cc9d14eb34f0819ea0c292a84 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Tue, 24 May 2022 19:55:51 -0400 Subject: [PATCH] Change part color --- follow_focus.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/follow_focus.py b/follow_focus.py index 3664a2b..8f3ca32 100644 --- a/follow_focus.py +++ b/follow_focus.py @@ -235,11 +235,11 @@ s_gear = s_gear.cut(cut) s_gear = s_gear.translate((stepper_center[0],stepper_center[1],(gear_thinkness-gear_offset)/2)) # Render -show_object(base, name='Follow Focus Base') -show_object(lid, name='Follow Focus Lid') -show_object(fastener, name='Follow Focus Fastener') -show_object(l_gear, name='Follow Focus Large Gear') -show_object(s_gear, name='Follow Focus Small Gear') +show_object(base, name='Follow Focus Base', options={"color": (10, 10, 10)}) +show_object(lid, name='Follow Focus Lid', options={"color": (10, 10, 10)}) +show_object(fastener, name='Follow Focus Fastener', options={"color": (10, 10, 10)}) +show_object(l_gear, name='Follow Focus Large Gear', options={"color": (10, 10, 10)}) +show_object(s_gear, name='Follow Focus Small Gear', options={"color": (10, 10, 10)}) # Export STL fastener = fastener.rotateAboutCenter((1,0,0), 90).rotateAboutCenter((0,1,0), -slant_degree)